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, Oct 16, 2:07 AM
Unknown Object (File)
Thu, Oct 16, 2:07 AM
Unknown Object (File)
Thu, Oct 16, 2:06 AM
Unknown Object (File)
Wed, Oct 15, 3:18 PM
Unknown Object (File)
Tue, Oct 14, 12:36 AM
Unknown Object (File)
Tue, Sep 30, 3:51 AM
Unknown Object (File)
Sat, Sep 27, 3:18 PM
Unknown Object (File)
Sat, Sep 27, 7:58 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