Opened 4 months ago

Last modified 4 months 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:
Has a Patch: no Platform: All

Description

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, 4 months ago

NBDKit will require some.

comment:2 by mmu_man, 4 months ago

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

Note: See TracTickets for help on using tickets.