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)
Jul 11 2025, 1:13 AM
Unknown Object (File)
Jun 18 2025, 2:43 PM
Unknown Object (File)
Jun 17 2025, 3:38 PM
Unknown Object (File)
Jun 14 2025, 10:37 PM
Unknown Object (File)
Jun 11 2025, 11:48 AM
Unknown Object (File)
Jun 11 2025, 6:18 AM
Unknown Object (File)
Jun 9 2025, 1:21 AM
Unknown Object (File)
Jun 6 2025, 4:05 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