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)
Sat, Aug 22, 5:42 AM
Unknown Object (File)
Thu, Aug 20, 12:54 AM
Unknown Object (File)
Wed, Aug 19, 4:57 PM
Unknown Object (File)
Tue, Aug 18, 8:19 PM
Unknown Object (File)
Tue, Aug 18, 8:02 PM
Unknown Object (File)
Tue, Aug 18, 11:32 AM
Unknown Object (File)
Tue, Aug 18, 11:24 AM
Unknown Object (File)
Mon, Aug 17, 7:34 PM
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