Today
Only send SIGKILL on last close.
Lock proctree around pdopenpid() working on the process.
Restructure kern_pdopenpid() to avoid the mess of specific error return pathes.
Added comment explaining that UID and GID are chosen to be unused.
That looks correct too.
You mean the TIOCSTI definition was hidden?
Sorry, yes. The ioctl definition.
I cannot apply the patch, it fails in pdfork.2. (I already applied the pdopenpid() patch.) Could you please rebase? Or, if your branch is already public, could you please include a pointer to it in the review description so that it's easier for me to fetch? That makes it easier for me to e.g., write syzkaller descriptions for new syscalls.
- Rework validition to avoid multiplication.
- Fall back to the extended signature table if the processor flags don't match.
In my tree I hid the sysctl to find consumers and confirm that the system works without it. The consumers are:
- clang sanitizers
- tcsh
- this test
I don't really understand--if we were to remove TIOCSTI, wouldn't that be done by removing the runtime implementation, rather than hiding the TIOCSTI symbol like this?
I don't really see the point. I'd just keep the option, having it silently do nothing, and remove the documentation.
ope, thanks for catching that. I also forgot to update the acpi(4) manpage and a couple other comments in other files but I can commit a fix for those separately
Update usage.