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)
Sat, Mar 15, 1:03 PM
Unknown Object (File)
Jan 11 2025, 11:00 PM
Unknown Object (File)
Dec 14 2024, 11:27 PM
Unknown Object (File)
Dec 3 2024, 12:20 PM
Unknown Object (File)
Nov 13 2024, 12:17 PM
Unknown Object (File)
Sep 30 2024, 4:41 AM
Unknown Object (File)
Sep 24 2024, 3:58 PM
Unknown Object (File)
Sep 23 2024, 9:20 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