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 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)
Mon, Apr 27, 4:19 AM
Unknown Object (File)
Sat, Apr 25, 6:31 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