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
F167490283: D20982.id59898.diff
Sat, Aug 22, 5:42 AM
Unknown Object (File)
Thu, Aug 20, 12:54 AM
Unknown Object (File)
Wed, Aug 19, 4:57 PM
Unknown Object (File)
Tue, Aug 18, 8:19 PM
Unknown Object (File)
Tue, Aug 18, 8:02 PM
Unknown Object (File)
Tue, Aug 18, 11:32 AM
Unknown Object (File)
Tue, Aug 18, 11:24 AM
Unknown Object (File)
Mon, Aug 17, 7:34 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