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
F171856531: D20982.id59860.diff
Mon, Sep 14, 2:56 AM
Unknown Object (File)
Fri, Sep 11, 6:41 AM
Unknown Object (File)
Tue, Sep 8, 5:54 AM
Unknown Object (File)
Sun, Sep 6, 6:03 PM
Unknown Object (File)
Sun, Sep 6, 2:34 PM
Unknown Object (File)
Sun, Sep 6, 6:07 AM
Unknown Object (File)
Sun, Sep 6, 2:54 AM
Unknown Object (File)
Fri, Sep 4, 1:59 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