Add missing POSIX O_CLOFORK
Matthew Dillon
dillon at backplane.com
Wed Jul 9 13:59:29 PDT 2025
Ok, it looks fairly straight-forward. A great deal of work on your part,
we really appreciate it!
The only question I have is about this line in fsetfdflags():
fdp->fd_files[fd].fileflags = set_flags & 0x7f;
What is the mask for? fileflags is a char field more or less but if all
you are doing is getting rid of a compiler warning that should probably be
a cast instead of a masking operation, with a comment explainer.
-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20250709/29db225f/attachment.htm>
More information about the Kernel
mailing list