wok-stable diff busybox/stuff/busybox-1.18-su-nochdir.u @ rev 12089
busybox: tftpd should chroot (thanks Don Manuel)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 10 12:59:12 2012 +0100 (2012-03-10) |
parents | a5fbfa5737a6 |
children |
line diff
1.1 --- a/busybox/stuff/busybox-1.18-su-nochdir.u Fri Mar 09 18:20:06 2012 +0100 1.2 +++ b/busybox/stuff/busybox-1.18-su-nochdir.u Sat Mar 10 12:59:12 2012 +0100 1.3 @@ -36,7 +36,7 @@ 1.4 ((flags & SU_OPT_l) / SU_OPT_l * SETUP_ENV_CLEARENV) 1.5 - + (!(flags & SU_OPT_mp) * SETUP_ENV_CHANGEENV), 1.6 + + (!(flags & SU_OPT_mp) * SETUP_ENV_CHANGEENV) 1.7 -+ + SETUP_ENV_NO_CHDIR, 1.8 ++ + (!(flags & SU_OPT_l) * SETUP_ENV_NO_CHDIR), 1.9 pw); 1.10 IF_SELINUX(set_current_security_context(NULL);) 1.11