diff options
| author | Pierre Beyssac <pb@FreeBSD.org> | 1999-06-26 12:15:39 +0000 |
|---|---|---|
| committer | Pierre Beyssac <pb@FreeBSD.org> | 1999-06-26 12:15:39 +0000 |
| commit | 071cc7aa76c53bf1b1f69b50539da010759022c8 (patch) | |
| tree | 87f05a1cc13a83a7eff8ee7de7f090448ea285c5 /libutil/_secure_path.c | |
| parent | 58f855136d43c7a2d0230149b4738f9d7acd8b31 (diff) | |
| download | pw-darwin-071cc7aa76c53bf1b1f69b50539da010759022c8.tar.gz pw-darwin-071cc7aa76c53bf1b1f69b50539da010759022c8.zip | |
Force umask to 077 (instead of 000) during the edit phase, to get
secure permissions in case the user attempts to save something to
a file of his own.
Move umask stuff out of pw_init() into main() for better visibility
of overall umask tweaking logic.
PR: misc/11797
Diffstat (limited to 'libutil/_secure_path.c')
0 files changed, 0 insertions, 0 deletions
