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)
Thu, May 21, 1:25 AM
Unknown Object (File)
Thu, May 7, 5:53 PM
Unknown Object (File)
Thu, May 7, 12:15 AM
Unknown Object (File)
Mon, May 4, 11:32 AM
Unknown Object (File)
Mon, May 4, 11:05 AM
Unknown Object (File)
Fri, May 1, 11:30 AM
Unknown Object (File)
Wed, Apr 29, 7:01 AM
Unknown Object (File)
Apr 27 2026, 4:19 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