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)
Sep 8 2026, 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 25389
Build 24030: arc lint + arc unit