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)
Dec 20 2023, 4:10 AM
Unknown Object (File)
Dec 15 2023, 7:46 PM
Unknown Object (File)
Sep 25 2023, 1:58 AM
Unknown Object (File)
May 15 2023, 6:37 AM
Unknown Object (File)
Apr 11 2023, 9:16 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