- User Since
- Dec 9 2017, 2:51 PM (276 w, 6 d)
Yeah, I solved the same problem in drm initially by writing a dummy driver too, but now it's been replaced by FB_FLAG_NOWRITE.
This is how we're doing it, it's a bit annoying that we have to check the driver and reach into its softc, ideally flags like that would be a more outer-level thing somehow (?)
Mon, Mar 27
Found some interesting discussion from almost a decade ago: https://lists.freebsd.org/pipermail/freebsd-arch/2013-August/014707.html confirming that MONOTONIC should include suspended time:
Sun, Mar 26
Oh, what's also pretty neat about the "MONOTONIC includes suspend like OpenBSD" choice is that software doing some security timeouts like sudo does would default to the secure behavior (not prolonging timeouts across suspends) even without doing anything for suspend-awareness / while being just POSIX without any OS-specific code!! :)
Sat, Mar 25
Thu, Mar 2
Feb 22 2023
Oops… cr_cansee actually would only deny this with security.bsd.see_other_uids=0 btw. Is there a "fs write" style check anywhere in the common code?
Feb 20 2023
Though, hm, various AT_RESOLVE_BENEATH documentation does collapse it all into one item:
Yeah, makes sense, let's try like this
Feb 19 2023
Hopefully more clear this way?
Feb 12 2023
Feb 10 2023
Wait wait wait… if we decided not to put gettime/settime here, to keep it as an interface only for creating various kinds of descriptors, why are we still going to duplicate the falloc_noinstall/finstall/fdrop dance across the individual functions for each descriptor kind?
Feb 9 2023
just implement these to as syscalls leaving __specialfd for descriptor creation
sure, D38445 LGTM
Feb 7 2023
ok, let's go with D38392
Feb 6 2023
Remove $FreeBSD$ tags, add header include to the .c file to fix missing-prototype
btw, what toggles the error is --(no-)undefined-version, no became the default. It seems difficult to make *everything* work with --no-undefined-version, but this was the only thing in the kernel.
Rebase after D38222
Yes, it has failed. I wouldn't be that bothered with a little warning :)
Feb 5 2023
rebased / author name changed / etc. (dang it's been a year)
rebased (bye bye MIPS \o/). ping!
rebased patch, no functional changes. ping!
rebased patch, no changes
Feb 4 2023
Add man page and sys/conf/files entry
update via git-arc
oops, also don't add $FreeBSD$ to new files
Added a manpage and a files entry for building into the kernel
Feb 3 2023
Feb 2 2023
added patch context
Jan 14 2023
Jan 4 2023
Oct 8 2022
Sep 2 2022
Jun 27 2022
Jun 17 2022
remove submodule patch
Jun 6 2022
Jun 1 2022
Especially if this will be per-CPU, it should probably be more compact. A \n per cache level seems like a lot of dmesg spam.
May 22 2022
Apr 30 2022
Apr 15 2022
- add SYSUNINIT for deallocating the strings
- remove useless null check (kfree supports null)
Mar 22 2022
add missed case
Mar 5 2022
As mentioned in the comment, around 3500 is what I measured for a really hard press, so I rounded up to the next power of two, that's why it's 4096.
Mar 4 2022
Endian convert the initial 32 bit field, use given IDs, do not report width major/minor
switch to macro