wok-4.x rev 3210
busybox/su: remove su fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 28 11:02:39 2009 +0200 (2009-05-28) |
parents | 449274d13a2b |
children | 68700e4636f7 |
files | busybox/receipt busybox/stuff/busybox-1.12.0-su.u |
line diff
1.1 --- a/busybox/receipt Thu May 28 12:22:52 2009 +0000 1.2 +++ b/busybox/receipt Thu May 28 11:02:39 2009 +0200 1.3 @@ -34,7 +34,6 @@ 1.4 mkswap.u 1.5 install.u 1.6 basename.u 1.7 -su.u 1.8 EOT 1.9 cp ../stuff/$PACKAGE-$VERSION.config .config 1.10 make oldconfig
2.1 --- a/busybox/stuff/busybox-1.12.0-su.u Thu May 28 12:22:52 2009 +0000 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,11 +0,0 @@ 2.4 ---- busybox-1.12.0/libbb/setup_environment.c 2.5 -+++ busybox-1.12.0/libbb/setup_environment.c 2.6 -@@ -59,7 +59,7 @@ 2.7 - else if (change_env) { 2.8 - /* Set HOME, SHELL, and if not becoming a super-user, 2.9 - USER and LOGNAME. */ 2.10 -- if (pw->pw_uid) { 2.11 -+ if (!pw->pw_uid) { 2.12 - shortcut: 2.13 - xsetenv("USER", pw->pw_name); 2.14 - xsetenv("LOGNAME", pw->pw_name);