Changeset fb774da
- Timestamp:
- 2022-09-07T14:51:33Z (2 years ago)
- Branches:
- master
- Children:
- 7e90c03
- Parents:
- 30491ca
- git-author:
- Johannes Segitz <jsegitz@…> (07-09-22 14:43:03)
- git-committer:
- Jelmer Vernooij <jelmer@…> (07-09-22 14:51:33)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
unix.c
r30491ca rfb774da 163 163 } else if (initgroups(global.conf->user, pw->pw_gid) != 0) { 164 164 log_message(LOGLVL_ERROR, "initgroups: %s.", strerror(errno)); 165 return( 1);165 return(EXIT_FAILURE); 166 166 167 167 } else if (setgid(pw->pw_gid) != 0) { 168 168 log_message(LOGLVL_ERROR, "setgid(%d): %s.", pw->pw_gid, strerror(errno)); 169 return( 1);169 return(EXIT_FAILURE); 170 170 171 171 } else if (setuid(pw->pw_uid) != 0) { 172 172 log_message(LOGLVL_ERROR, "setuid(%d): %s.", pw->pw_uid, strerror(errno)); 173 return( 1);173 return(EXIT_FAILURE); 174 174 } 175 175 }
Note: See TracChangeset
for help on using the changeset viewer.