diff options
author | Jim Meyering <jim@meyering.net> | 2005-12-19 18:16:07 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-12-19 18:16:07 +0000 |
commit | 17f521adfdd3b415f68fc30b61eb115c1e379a79 (patch) | |
tree | 86ad24b847d7ac6891a23ecdfd177f43828ce27b /lib/getusershell.c | |
parent | e0029290b895661e32bb17ef714fb14321c15bcf (diff) | |
download | coreutils-17f521adfdd3b415f68fc30b61eb115c1e379a79.tar.xz |
(main) Avoid a minor race condition when `-m MODE' is specified, by using
open, fchown, and close rather than just chown. To do that reliably
(even with an overly restrictive umask), ensure that each mknod/mkfifo
call uses a mode including at least owner-read access.
Diffstat (limited to 'lib/getusershell.c')
0 files changed, 0 insertions, 0 deletions