o Spell "privledges" correctly. Re-style comment.
This commit is contained in:
parent
a81d6f2126
commit
b608e56d62
@ -243,7 +243,7 @@ child_process(e, u)
|
||||
(void) endpwent();
|
||||
# endif
|
||||
/* set our directory, uid and gid. Set gid first,
|
||||
* since once we set uid, we've lost root privledges.
|
||||
* since once we set uid, we've lost root priviledges.
|
||||
*/
|
||||
if (setgid(e->gid) != 0) {
|
||||
log_it(usernm, getpid(),
|
||||
|
@ -172,8 +172,10 @@ cron_popen(program, type, e)
|
||||
/* fall back to the old method */
|
||||
(void) endpwent();
|
||||
# endif
|
||||
/* set our directory, uid and gid. Set gid first,
|
||||
* since once we set uid, we've lost root privledges.
|
||||
/*
|
||||
* Set our directory, uid and gid. Set gid
|
||||
* first since once we set uid, we've lost
|
||||
* root priviledges.
|
||||
*/
|
||||
if (setgid(e->gid) != 0)
|
||||
_exit(ERROR_EXIT);
|
||||
|
Loading…
Reference in New Issue
Block a user