summaryrefslogtreecommitdiff
path: root/lib/getusershell.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-19 18:16:07 +0000
committerJim Meyering <jim@meyering.net>2005-12-19 18:16:07 +0000
commit17f521adfdd3b415f68fc30b61eb115c1e379a79 (patch)
tree86ad24b847d7ac6891a23ecdfd177f43828ce27b /lib/getusershell.c
parente0029290b895661e32bb17ef714fb14321c15bcf (diff)
downloadcoreutils-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