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 22, 8:16 AM
Unknown Object (File)
Fri, May 9, 3:53 AM
Unknown Object (File)
Apr 17 2025, 2:36 PM
Unknown Object (File)
Apr 15 2025, 8:51 AM
Unknown Object (File)
Apr 14 2025, 8:43 AM
Unknown Object (File)
Apr 14 2025, 5:07 AM
Unknown Object (File)
Apr 14 2025, 12:24 AM
Unknown Object (File)
Apr 13 2025, 11:43 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable