aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-12-09 09:04:58 +0000
committerRon Yorston <rmy@pobox.com>2017-12-09 09:04:58 +0000
commitbcf14b82e442e797fdd370afc80a82ef295ac1b0 (patch)
tree133c2b3df5445c508953fee17576ed932af07c7a /networking
parent65e9c0ad92a316e36efbc584b72b96a7eb8fa9db (diff)
parenta07fead8235c479f428dd5265e4f3539abb9c3fe (diff)
downloadbusybox-w32-bcf14b82e442e797fdd370afc80a82ef295ac1b0.tar.gz
busybox-w32-bcf14b82e442e797fdd370afc80a82ef295ac1b0.tar.bz2
busybox-w32-bcf14b82e442e797fdd370afc80a82ef295ac1b0.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'networking')
-rw-r--r--networking/inetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 67984accb..4dfa0089a 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -1488,7 +1488,7 @@ int inetd_main(int argc UNUSED_PARAM, char **argv)
1488 bb_error_msg("non-root must run services as himself"); 1488 bb_error_msg("non-root must run services as himself");
1489 goto do_exit1; 1489 goto do_exit1;
1490 } 1490 }
1491 if (pwd->pw_uid != 0) { 1491 if (pwd->pw_uid != real_uid) {
1492 if (sep->se_group) 1492 if (sep->se_group)
1493 pwd->pw_gid = grp->gr_gid; 1493 pwd->pw_gid = grp->gr_gid;
1494 /* initgroups, setgid, setuid: */ 1494 /* initgroups, setgid, setuid: */