Page MenuHomeFreeBSD

Document that setmode(3) is not thread safe.
ClosedPublic

Authored by brooks on Jul 17 2019, 11:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 27, 3:39 PM
Unknown Object (File)
Sun, Sep 27, 3:28 PM
Unknown Object (File)
Sun, Sep 27, 4:05 AM
Unknown Object (File)
Sun, Sep 27, 2:19 AM
Unknown Object (File)
Sat, Sep 19, 9:04 PM
Unknown Object (File)
Mon, Sep 14, 2:56 AM
Unknown Object (File)
Fri, Sep 11, 6:41 AM
Unknown Object (File)
Tue, Sep 8, 5:54 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable