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)
Sun, Apr 12, 11:31 AM
Unknown Object (File)
Sat, Apr 11, 2:51 PM
Unknown Object (File)
Sat, Apr 11, 11:34 AM
Unknown Object (File)
Sat, Apr 11, 3:11 AM
Unknown Object (File)
Thu, Apr 9, 11:21 PM
Unknown Object (File)
Wed, Mar 25, 7:04 AM
Unknown Object (File)
Tue, Mar 24, 7:47 AM
Unknown Object (File)
Tue, Mar 24, 12:59 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

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