diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2025-08-20 19:07:43 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-10-18 05:11:40 +0000 |
| commit | 1265516c5c610fbc0d65451140e3f17b358cd015 (patch) | |
| tree | 289815ac743c7ec2f52e9829d81cefe21200bf96 /lib/libsys | |
| parent | f66068d937e6f278099f583447e9e305e620d5d1 (diff) | |
struct file: add DFLAG_FORK, indicate copying on fork
instead of referencing or ignoring.
The pass to handle copying is performed after all passable files are
installed into the new file descriptor's table, since one of the future
consumers of this interface (kqueue) needs all passable file descriptors
already valid. After all fds are installed, the additional call for each
copyable file is done to copy the underlying object.
[MFC note: use fo_spares for fo_fork]
Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D52045
Diffstat (limited to 'lib/libsys')
0 files changed, 0 insertions, 0 deletions
