Opened 3 years ago

Last modified 3 years ago

#15219 new enhancement

atomic FD_CLOEXEC support

Reported by: mmu_man Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: - General Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All


Many POSIX calls have variants to support atomic setting of CLOEXEC, to avoid race conditions when setting after the FDs have been created.

Some apps require some, others work better when they are present.

Change History (2)

comment:1 by mmu_man, 3 years ago

NBDKit will require some.

comment:2 by mmu_man, 3 years ago

We also might want to support O_CLOEXEC (even by default ?) on queries btw.

Note: See TracTickets for help on using tickets.