HomeFreeBSD

Document that setmode(3) is not thread safe.

Description

Document that setmode(3) is not thread safe.

In some circumstances, setmode(3) may call umask(2) twice to retrieve
the current mode and then restore it. Between calls, the process will
have a umask of 0.

Reviewed by: markj
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D20982

Details

Committed
brooksJul 18 2019, 9:33 PM
Reviewer
markj
Differential Revision
D20982: Document that setmode(3) is not thread safe.
Parents
rS350115: fusefs: add a intr/nointr mount option
Branches
Unknown
Tags
Unknown