diff options
author | Denys Vlasenko | 2013-10-06 15:14:25 +0200 |
---|---|---|
committer | Denys Vlasenko | 2013-10-06 15:14:25 +0200 |
commit | cd256e1c407aa70dfefb7178ed2c0e4201f1aaf7 (patch) | |
tree | fefa7b99ae531051123281cc5673e0022940de5c /include | |
parent | 3eab2b7675fc7e2889cd69285a2a31980a4bf504 (diff) | |
download | busybox-cd256e1c407aa70dfefb7178ed2c0e4201f1aaf7.zip busybox-cd256e1c407aa70dfefb7178ed2c0e4201f1aaf7.tar.gz |
wall: access FILE under real user's credentials
While at it, move applet/config/kbuild bits into wall.c.
(This way, it's more visible that applet is suid'ed).
function old new delta
wall_main 87 138 +51
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.src.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/applets.src.h b/include/applets.src.h index aa319bb..3a47e15 100644 --- a/include/applets.src.h +++ b/include/applets.src.h @@ -407,8 +407,6 @@ IF_VCONFIG(APPLET(vconfig, BB_DIR_SBIN, BB_SUID_DROP)) /* Needs to be run by root or be suid root - needs to change uid and gid: */ IF_VLOCK(APPLET(vlock, BB_DIR_USR_BIN, BB_SUID_REQUIRE)) IF_VOLNAME(APPLET(volname, BB_DIR_USR_BIN, BB_SUID_DROP)) -/* Needs to be run by root or be suid root - needs to write to /dev/TTY: */ -IF_WALL(APPLET(wall, BB_DIR_USR_BIN, BB_SUID_REQUIRE)) IF_WATCH(APPLET(watch, BB_DIR_BIN, BB_SUID_DROP)) IF_WATCHDOG(APPLET(watchdog, BB_DIR_SBIN, BB_SUID_DROP)) IF_WC(APPLET(wc, BB_DIR_USR_BIN, BB_SUID_DROP)) |