aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:54:17 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-22 23:54:17 +0100
commitf88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (patch)
tree6e7fd8f8f547fcf01bb9d55da2ace429ab3b53f6 /include
parentfb4da167114e96d7f20ef97474f976f8ffa604e7 (diff)
downloadbusybox-w32-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.gz
busybox-w32-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.tar.bz2
busybox-w32-f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541.zip
Convert all miscutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/applets.src.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/applets.src.h b/include/applets.src.h
index f834d9040..5eaa5cbb8 100644
--- a/include/applets.src.h
+++ b/include/applets.src.h
@@ -76,37 +76,27 @@ INSERT
76IF_TEST(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) 76IF_TEST(APPLET_NOFORK([, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
77IF_TEST(APPLET_NOFORK([[, test, BB_DIR_USR_BIN, BB_SUID_DROP, test)) 77IF_TEST(APPLET_NOFORK([[, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
78IF_ACPID(APPLET(acpid, BB_DIR_SBIN, BB_SUID_DROP)) 78IF_ACPID(APPLET(acpid, BB_DIR_SBIN, BB_SUID_DROP))
79IF_ADJTIMEX(APPLET(adjtimex, BB_DIR_SBIN, BB_SUID_DROP))
80IF_ARP(APPLET(arp, BB_DIR_SBIN, BB_SUID_DROP)) 79IF_ARP(APPLET(arp, BB_DIR_SBIN, BB_SUID_DROP))
81IF_ARPING(APPLET(arping, BB_DIR_USR_SBIN, BB_SUID_DROP)) 80IF_ARPING(APPLET(arping, BB_DIR_USR_SBIN, BB_SUID_DROP))
82IF_BASENAME(APPLET_NOFORK(basename, basename, BB_DIR_USR_BIN, BB_SUID_DROP, basename)) 81IF_BASENAME(APPLET_NOFORK(basename, basename, BB_DIR_USR_BIN, BB_SUID_DROP, basename))
83IF_BBCONFIG(APPLET(bbconfig, BB_DIR_BIN, BB_SUID_DROP))
84IF_BEEP(APPLET(beep, BB_DIR_USR_BIN, BB_SUID_DROP))
85IF_BLKID(APPLET(blkid, BB_DIR_SBIN, BB_SUID_DROP)) 82IF_BLKID(APPLET(blkid, BB_DIR_SBIN, BB_SUID_DROP))
86IF_BRCTL(APPLET(brctl, BB_DIR_USR_SBIN, BB_SUID_DROP)) 83IF_BRCTL(APPLET(brctl, BB_DIR_USR_SBIN, BB_SUID_DROP))
87IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP)) 84IF_CAL(APPLET(cal, BB_DIR_USR_BIN, BB_SUID_DROP))
88IF_CAT(APPLET_NOFORK(cat, cat, BB_DIR_BIN, BB_SUID_DROP, cat)) 85IF_CAT(APPLET_NOFORK(cat, cat, BB_DIR_BIN, BB_SUID_DROP, cat))
89IF_CATV(APPLET(catv, BB_DIR_BIN, BB_SUID_DROP)) 86IF_CATV(APPLET(catv, BB_DIR_BIN, BB_SUID_DROP))
90IF_CHAT(APPLET(chat, BB_DIR_USR_SBIN, BB_SUID_DROP))
91IF_CHCON(APPLET(chcon, BB_DIR_USR_BIN, BB_SUID_DROP)) 87IF_CHCON(APPLET(chcon, BB_DIR_USR_BIN, BB_SUID_DROP))
92IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp)) 88IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp))
93IF_CHMOD(APPLET_NOEXEC(chmod, chmod, BB_DIR_BIN, BB_SUID_DROP, chmod)) 89IF_CHMOD(APPLET_NOEXEC(chmod, chmod, BB_DIR_BIN, BB_SUID_DROP, chmod))
94IF_CHOWN(APPLET_NOEXEC(chown, chown, BB_DIR_BIN, BB_SUID_DROP, chown)) 90IF_CHOWN(APPLET_NOEXEC(chown, chown, BB_DIR_BIN, BB_SUID_DROP, chown))
95IF_CHROOT(APPLET(chroot, BB_DIR_USR_SBIN, BB_SUID_DROP)) 91IF_CHROOT(APPLET(chroot, BB_DIR_USR_SBIN, BB_SUID_DROP))
96IF_CHRT(APPLET(chrt, BB_DIR_USR_BIN, BB_SUID_DROP))
97IF_CHVT(APPLET(chvt, BB_DIR_USR_BIN, BB_SUID_DROP)) 92IF_CHVT(APPLET(chvt, BB_DIR_USR_BIN, BB_SUID_DROP))
98IF_CKSUM(APPLET_NOEXEC(cksum, cksum, BB_DIR_USR_BIN, BB_SUID_DROP, cksum)) 93IF_CKSUM(APPLET_NOEXEC(cksum, cksum, BB_DIR_USR_BIN, BB_SUID_DROP, cksum))
99IF_CLEAR(APPLET(clear, BB_DIR_USR_BIN, BB_SUID_DROP)) 94IF_CLEAR(APPLET(clear, BB_DIR_USR_BIN, BB_SUID_DROP))
100IF_COMM(APPLET(comm, BB_DIR_USR_BIN, BB_SUID_DROP)) 95IF_COMM(APPLET(comm, BB_DIR_USR_BIN, BB_SUID_DROP))
101IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp)) 96IF_CP(APPLET_NOEXEC(cp, cp, BB_DIR_BIN, BB_SUID_DROP, cp))
102/* Needs to be run by root or be suid root - needs to change /var/spool/cron* files: */
103IF_CRONTAB(APPLET(crontab, BB_DIR_USR_BIN, BB_SUID_REQUIRE))
104IF_CUT(APPLET_NOEXEC(cut, cut, BB_DIR_USR_BIN, BB_SUID_DROP, cut)) 97IF_CUT(APPLET_NOEXEC(cut, cut, BB_DIR_USR_BIN, BB_SUID_DROP, cut))
105IF_DC(APPLET(dc, BB_DIR_USR_BIN, BB_SUID_DROP))
106IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd)) 98IF_DD(APPLET_NOEXEC(dd, dd, BB_DIR_BIN, BB_SUID_DROP, dd))
107IF_DEALLOCVT(APPLET(deallocvt, BB_DIR_USR_BIN, BB_SUID_DROP)) 99IF_DEALLOCVT(APPLET(deallocvt, BB_DIR_USR_BIN, BB_SUID_DROP))
108IF_DEVFSD(APPLET(devfsd, BB_DIR_SBIN, BB_SUID_DROP))
109IF_DEVMEM(APPLET(devmem, BB_DIR_SBIN, BB_SUID_DROP))
110IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP)) 100IF_DF(APPLET(df, BB_DIR_BIN, BB_SUID_DROP))
111IF_DHCPRELAY(APPLET(dhcprelay, BB_DIR_USR_SBIN, BB_SUID_DROP)) 101IF_DHCPRELAY(APPLET(dhcprelay, BB_DIR_USR_SBIN, BB_SUID_DROP))
112IF_DIRNAME(APPLET_NOFORK(dirname, dirname, BB_DIR_USR_BIN, BB_SUID_DROP, dirname)) 102IF_DIRNAME(APPLET_NOFORK(dirname, dirname, BB_DIR_USR_BIN, BB_SUID_DROP, dirname))
@@ -119,7 +109,6 @@ IF_DUMPLEASES(APPLET(dumpleases, BB_DIR_USR_BIN, BB_SUID_DROP))
119//IF_E2FSCK(APPLET(e2fsck, BB_DIR_SBIN, BB_SUID_DROP)) 109//IF_E2FSCK(APPLET(e2fsck, BB_DIR_SBIN, BB_SUID_DROP))
120//IF_E2LABEL(APPLET_ODDNAME(e2label, tune2fs, BB_DIR_SBIN, BB_SUID_DROP, e2label)) 110//IF_E2LABEL(APPLET_ODDNAME(e2label, tune2fs, BB_DIR_SBIN, BB_SUID_DROP, e2label))
121IF_ECHO(APPLET_NOFORK(echo, echo, BB_DIR_BIN, BB_SUID_DROP, echo)) 111IF_ECHO(APPLET_NOFORK(echo, echo, BB_DIR_BIN, BB_SUID_DROP, echo))
122IF_EJECT(APPLET(eject, BB_DIR_USR_BIN, BB_SUID_DROP))
123IF_ENV(APPLET_NOEXEC(env, env, BB_DIR_USR_BIN, BB_SUID_DROP, env)) 112IF_ENV(APPLET_NOEXEC(env, env, BB_DIR_USR_BIN, BB_SUID_DROP, env))
124IF_ETHER_WAKE(APPLET_ODDNAME(ether-wake, ether_wake, BB_DIR_USR_SBIN, BB_SUID_DROP, ether_wake)) 113IF_ETHER_WAKE(APPLET_ODDNAME(ether-wake, ether_wake, BB_DIR_USR_SBIN, BB_SUID_DROP, ether_wake))
125IF_EXPAND(APPLET(expand, BB_DIR_USR_BIN, BB_SUID_DROP)) 114IF_EXPAND(APPLET(expand, BB_DIR_USR_BIN, BB_SUID_DROP))
@@ -127,17 +116,12 @@ IF_EXPR(APPLET(expr, BB_DIR_USR_BIN, BB_SUID_DROP))
127IF_FAKEIDENTD(APPLET(fakeidentd, BB_DIR_USR_SBIN, BB_SUID_DROP)) 116IF_FAKEIDENTD(APPLET(fakeidentd, BB_DIR_USR_SBIN, BB_SUID_DROP))
128IF_FALSE(APPLET_NOFORK(false, false, BB_DIR_BIN, BB_SUID_DROP, false)) 117IF_FALSE(APPLET_NOFORK(false, false, BB_DIR_BIN, BB_SUID_DROP, false))
129IF_FBSET(APPLET(fbset, BB_DIR_USR_SBIN, BB_SUID_DROP)) 118IF_FBSET(APPLET(fbset, BB_DIR_USR_SBIN, BB_SUID_DROP))
130IF_FBSPLASH(APPLET(fbsplash, BB_DIR_SBIN, BB_SUID_DROP))
131IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush)) 119IF_FDFLUSH(APPLET_ODDNAME(fdflush, freeramdisk, BB_DIR_BIN, BB_SUID_DROP, fdflush))
132IF_FDFORMAT(APPLET(fdformat, BB_DIR_USR_SBIN, BB_SUID_DROP)) 120IF_FDFORMAT(APPLET(fdformat, BB_DIR_USR_SBIN, BB_SUID_DROP))
133IF_FDISK(APPLET(fdisk, BB_DIR_SBIN, BB_SUID_DROP)) 121IF_FDISK(APPLET(fdisk, BB_DIR_SBIN, BB_SUID_DROP))
134IF_FGCONSOLE(APPLET(fgconsole, BB_DIR_USR_BIN, BB_SUID_DROP)) 122IF_FGCONSOLE(APPLET(fgconsole, BB_DIR_USR_BIN, BB_SUID_DROP))
135/* Benefits from suid root: better access to /dev/BLOCKDEVs: */ 123/* Benefits from suid root: better access to /dev/BLOCKDEVs: */
136IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE)) 124IF_FINDFS(APPLET(findfs, BB_DIR_SBIN, BB_SUID_MAYBE))
137IF_FLASH_ERASEALL(APPLET(flash_eraseall, BB_DIR_USR_SBIN, BB_SUID_DROP))
138IF_FLASH_LOCK(APPLET_ODDNAME(flash_lock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_lock))
139IF_FLASH_UNLOCK(APPLET_ODDNAME(flash_unlock, flash_lock_unlock, BB_DIR_USR_SBIN, BB_SUID_DROP, flash_unlock))
140IF_FLASHCP(APPLET(flashcp, BB_DIR_USR_SBIN, BB_SUID_DROP))
141IF_FLOCK(APPLET(flock, BB_DIR_USR_BIN, BB_SUID_DROP)) 125IF_FLOCK(APPLET(flock, BB_DIR_USR_BIN, BB_SUID_DROP))
142IF_FOLD(APPLET_NOEXEC(fold, fold, BB_DIR_USR_BIN, BB_SUID_DROP, fold)) 126IF_FOLD(APPLET_NOEXEC(fold, fold, BB_DIR_USR_BIN, BB_SUID_DROP, fold))
143IF_FREE(APPLET(free, BB_DIR_USR_BIN, BB_SUID_DROP)) 127IF_FREE(APPLET(free, BB_DIR_USR_BIN, BB_SUID_DROP))
@@ -154,7 +138,6 @@ IF_GETENFORCE(APPLET(getenforce, BB_DIR_USR_SBIN, BB_SUID_DROP))
154IF_GETOPT(APPLET(getopt, BB_DIR_BIN, BB_SUID_DROP)) 138IF_GETOPT(APPLET(getopt, BB_DIR_BIN, BB_SUID_DROP))
155IF_GETSEBOOL(APPLET(getsebool, BB_DIR_USR_SBIN, BB_SUID_DROP)) 139IF_GETSEBOOL(APPLET(getsebool, BB_DIR_USR_SBIN, BB_SUID_DROP))
156IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd)) 140IF_HD(APPLET_NOEXEC(hd, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hd))
157IF_HDPARM(APPLET(hdparm, BB_DIR_SBIN, BB_SUID_DROP))
158IF_HEAD(APPLET_NOEXEC(head, head, BB_DIR_USR_BIN, BB_SUID_DROP, head)) 141IF_HEAD(APPLET_NOEXEC(head, head, BB_DIR_USR_BIN, BB_SUID_DROP, head))
159IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump)) 142IF_HEXDUMP(APPLET_NOEXEC(hexdump, hexdump, BB_DIR_USR_BIN, BB_SUID_DROP, hexdump))
160IF_HTTPD(APPLET(httpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) 143IF_HTTPD(APPLET(httpd, BB_DIR_USR_SBIN, BB_SUID_DROP))
@@ -163,9 +146,7 @@ IF_IFCONFIG(APPLET(ifconfig, BB_DIR_SBIN, BB_SUID_DROP))
163IF_IFENSLAVE(APPLET(ifenslave, BB_DIR_SBIN, BB_SUID_DROP)) 146IF_IFENSLAVE(APPLET(ifenslave, BB_DIR_SBIN, BB_SUID_DROP))
164IF_IFPLUGD(APPLET(ifplugd, BB_DIR_USR_SBIN, BB_SUID_DROP)) 147IF_IFPLUGD(APPLET(ifplugd, BB_DIR_USR_SBIN, BB_SUID_DROP))
165IF_INETD(APPLET(inetd, BB_DIR_USR_SBIN, BB_SUID_DROP)) 148IF_INETD(APPLET(inetd, BB_DIR_USR_SBIN, BB_SUID_DROP))
166IF_INOTIFYD(APPLET(inotifyd, BB_DIR_SBIN, BB_SUID_DROP))
167IF_INSTALL(APPLET(install, BB_DIR_USR_BIN, BB_SUID_DROP)) 149IF_INSTALL(APPLET(install, BB_DIR_USR_BIN, BB_SUID_DROP))
168IF_IONICE(APPLET(ionice, BB_DIR_BIN, BB_SUID_DROP))
169#if ENABLE_FEATURE_IP_ADDRESS \ 150#if ENABLE_FEATURE_IP_ADDRESS \
170 || ENABLE_FEATURE_IP_ROUTE \ 151 || ENABLE_FEATURE_IP_ROUTE \
171 || ENABLE_FEATURE_IP_LINK \ 152 || ENABLE_FEATURE_IP_LINK \
@@ -185,9 +166,7 @@ IF_KBD_MODE(APPLET(kbd_mode, BB_DIR_BIN, BB_SUID_DROP))
185IF_KILL(APPLET(kill, BB_DIR_BIN, BB_SUID_DROP)) 166IF_KILL(APPLET(kill, BB_DIR_BIN, BB_SUID_DROP))
186IF_KILLALL(APPLET_ODDNAME(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall)) 167IF_KILLALL(APPLET_ODDNAME(killall, kill, BB_DIR_USR_BIN, BB_SUID_DROP, killall))
187IF_KILLALL5(APPLET_ODDNAME(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killall5)) 168IF_KILLALL5(APPLET_ODDNAME(killall5, kill, BB_DIR_USR_SBIN, BB_SUID_DROP, killall5))
188IF_LAST(APPLET(last, BB_DIR_USR_BIN, BB_SUID_DROP))
189//IF_LENGTH(APPLET_NOFORK(length, length, BB_DIR_USR_BIN, BB_SUID_DROP, length)) 169//IF_LENGTH(APPLET_NOFORK(length, length, BB_DIR_USR_BIN, BB_SUID_DROP, length))
190IF_LESS(APPLET(less, BB_DIR_USR_BIN, BB_SUID_DROP))
191IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln)) 170IF_LN(APPLET_NOEXEC(ln, ln, BB_DIR_BIN, BB_SUID_DROP, ln))
192IF_LOAD_POLICY(APPLET(load_policy, BB_DIR_USR_SBIN, BB_SUID_DROP)) 171IF_LOAD_POLICY(APPLET(load_policy, BB_DIR_USR_SBIN, BB_SUID_DROP))
193IF_LOADFONT(APPLET(loadfont, BB_DIR_USR_SBIN, BB_SUID_DROP)) 172IF_LOADFONT(APPLET(loadfont, BB_DIR_USR_SBIN, BB_SUID_DROP))
@@ -197,11 +176,8 @@ IF_LOSETUP(APPLET(losetup, BB_DIR_SBIN, BB_SUID_DROP))
197IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls)) 176IF_LS(APPLET_NOEXEC(ls, ls, BB_DIR_BIN, BB_SUID_DROP, ls))
198IF_LSPCI(APPLET(lspci, BB_DIR_USR_BIN, BB_SUID_DROP)) 177IF_LSPCI(APPLET(lspci, BB_DIR_USR_BIN, BB_SUID_DROP))
199IF_LSUSB(APPLET(lsusb, BB_DIR_USR_BIN, BB_SUID_DROP)) 178IF_LSUSB(APPLET(lsusb, BB_DIR_USR_BIN, BB_SUID_DROP))
200IF_MAKEDEVS(APPLET(makedevs, BB_DIR_SBIN, BB_SUID_DROP))
201IF_MAKEMIME(APPLET(makemime, BB_DIR_BIN, BB_SUID_DROP)) 179IF_MAKEMIME(APPLET(makemime, BB_DIR_BIN, BB_SUID_DROP))
202IF_MAN(APPLET(man, BB_DIR_USR_BIN, BB_SUID_DROP))
203IF_MATCHPATHCON(APPLET(matchpathcon, BB_DIR_USR_SBIN, BB_SUID_DROP)) 180IF_MATCHPATHCON(APPLET(matchpathcon, BB_DIR_USR_SBIN, BB_SUID_DROP))
204IF_MICROCOM(APPLET(microcom, BB_DIR_USR_BIN, BB_SUID_DROP))
205IF_MKDIR(APPLET_NOFORK(mkdir, mkdir, BB_DIR_BIN, BB_SUID_DROP, mkdir)) 181IF_MKDIR(APPLET_NOFORK(mkdir, mkdir, BB_DIR_BIN, BB_SUID_DROP, mkdir))
206IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo)) 182IF_MKFIFO(APPLET_NOEXEC(mkfifo, mkfifo, BB_DIR_USR_BIN, BB_SUID_DROP, mkfifo))
207IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix)) 183IF_MKFS_MINIX(APPLET_ODDNAME(mkfs.minix, mkfs_minix, BB_DIR_SBIN, BB_SUID_DROP, mkfs_minix))
@@ -214,8 +190,6 @@ IF_MORE(APPLET(more, BB_DIR_BIN, BB_SUID_DROP))
214 * for viewing mount table. 190 * for viewing mount table.
215 * Therefore we use BB_SUID_MAYBE instead of BB_SUID_REQUIRE: */ 191 * Therefore we use BB_SUID_MAYBE instead of BB_SUID_REQUIRE: */
216IF_MOUNT(APPLET(mount, BB_DIR_BIN, IF_DESKTOP(BB_SUID_MAYBE) IF_NOT_DESKTOP(BB_SUID_DROP))) 192IF_MOUNT(APPLET(mount, BB_DIR_BIN, IF_DESKTOP(BB_SUID_MAYBE) IF_NOT_DESKTOP(BB_SUID_DROP)))
217IF_MOUNTPOINT(APPLET(mountpoint, BB_DIR_BIN, BB_SUID_DROP))
218IF_MT(APPLET(mt, BB_DIR_BIN, BB_SUID_DROP))
219IF_MV(APPLET(mv, BB_DIR_BIN, BB_SUID_DROP)) 193IF_MV(APPLET(mv, BB_DIR_BIN, BB_SUID_DROP))
220IF_NAMEIF(APPLET(nameif, BB_DIR_SBIN, BB_SUID_DROP)) 194IF_NAMEIF(APPLET(nameif, BB_DIR_SBIN, BB_SUID_DROP))
221IF_NC(APPLET(nc, BB_DIR_USR_BIN, BB_SUID_DROP)) 195IF_NC(APPLET(nc, BB_DIR_USR_BIN, BB_SUID_DROP))
@@ -237,10 +211,8 @@ IF_PRINTF(APPLET_NOFORK(printf, printf, BB_DIR_USR_BIN, BB_SUID_DROP, printf))
237IF_PS(APPLET(ps, BB_DIR_BIN, BB_SUID_DROP)) 211IF_PS(APPLET(ps, BB_DIR_BIN, BB_SUID_DROP))
238IF_PSCAN(APPLET(pscan, BB_DIR_USR_BIN, BB_SUID_DROP)) 212IF_PSCAN(APPLET(pscan, BB_DIR_USR_BIN, BB_SUID_DROP))
239IF_PWD(APPLET_NOFORK(pwd, pwd, BB_DIR_BIN, BB_SUID_DROP, pwd)) 213IF_PWD(APPLET_NOFORK(pwd, pwd, BB_DIR_BIN, BB_SUID_DROP, pwd))
240IF_RAIDAUTORUN(APPLET(raidautorun, BB_DIR_SBIN, BB_SUID_DROP))
241IF_RDATE(APPLET(rdate, BB_DIR_USR_SBIN, BB_SUID_DROP)) 214IF_RDATE(APPLET(rdate, BB_DIR_USR_SBIN, BB_SUID_DROP))
242IF_RDEV(APPLET(rdev, BB_DIR_USR_SBIN, BB_SUID_DROP)) 215IF_RDEV(APPLET(rdev, BB_DIR_USR_SBIN, BB_SUID_DROP))
243IF_READAHEAD(APPLET(readahead, BB_DIR_USR_SBIN, BB_SUID_DROP))
244IF_READLINK(APPLET(readlink, BB_DIR_USR_BIN, BB_SUID_DROP)) 216IF_READLINK(APPLET(readlink, BB_DIR_USR_BIN, BB_SUID_DROP))
245IF_READPROFILE(APPLET(readprofile, BB_DIR_USR_SBIN, BB_SUID_DROP)) 217IF_READPROFILE(APPLET(readprofile, BB_DIR_USR_SBIN, BB_SUID_DROP))
246IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP)) 218IF_REALPATH(APPLET(realpath, BB_DIR_USR_BIN, BB_SUID_DROP))
@@ -254,8 +226,6 @@ IF_RMDIR(APPLET_NOFORK(rmdir, rmdir, BB_DIR_BIN, BB_SUID_DROP, rmdir))
254IF_ROUTE(APPLET(route, BB_DIR_SBIN, BB_SUID_DROP)) 226IF_ROUTE(APPLET(route, BB_DIR_SBIN, BB_SUID_DROP))
255IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_SBIN, BB_SUID_DROP)) 227IF_RTCWAKE(APPLET(rtcwake, BB_DIR_USR_SBIN, BB_SUID_DROP))
256IF_RUNCON(APPLET(runcon, BB_DIR_USR_BIN, BB_SUID_DROP)) 228IF_RUNCON(APPLET(runcon, BB_DIR_USR_BIN, BB_SUID_DROP))
257IF_RUNLEVEL(APPLET(runlevel, BB_DIR_SBIN, BB_SUID_DROP))
258IF_RX(APPLET(rx, BB_DIR_USR_BIN, BB_SUID_DROP))
259IF_SCRIPT(APPLET(script, BB_DIR_USR_BIN, BB_SUID_DROP)) 229IF_SCRIPT(APPLET(script, BB_DIR_USR_BIN, BB_SUID_DROP))
260IF_SCRIPTREPLAY(APPLET(scriptreplay, BB_DIR_BIN, BB_SUID_DROP)) 230IF_SCRIPTREPLAY(APPLET(scriptreplay, BB_DIR_BIN, BB_SUID_DROP))
261IF_SELINUXENABLED(APPLET(selinuxenabled, BB_DIR_USR_SBIN, BB_SUID_DROP)) 231IF_SELINUXENABLED(APPLET(selinuxenabled, BB_DIR_USR_SBIN, BB_SUID_DROP))
@@ -269,7 +239,6 @@ IF_SETFONT(APPLET(setfont, BB_DIR_USR_SBIN, BB_SUID_DROP))
269IF_SETKEYCODES(APPLET(setkeycodes, BB_DIR_USR_BIN, BB_SUID_DROP)) 239IF_SETKEYCODES(APPLET(setkeycodes, BB_DIR_USR_BIN, BB_SUID_DROP))
270IF_SETLOGCONS(APPLET(setlogcons, BB_DIR_USR_SBIN, BB_SUID_DROP)) 240IF_SETLOGCONS(APPLET(setlogcons, BB_DIR_USR_SBIN, BB_SUID_DROP))
271IF_SETSEBOOL(APPLET(setsebool, BB_DIR_USR_SBIN, BB_SUID_DROP)) 241IF_SETSEBOOL(APPLET(setsebool, BB_DIR_USR_SBIN, BB_SUID_DROP))
272IF_SETSID(APPLET(setsid, BB_DIR_USR_BIN, BB_SUID_DROP))
273IF_SHOWKEY(APPLET(showkey, BB_DIR_USR_BIN, BB_SUID_DROP)) 242IF_SHOWKEY(APPLET(showkey, BB_DIR_USR_BIN, BB_SUID_DROP))
274IF_SLATTACH(APPLET(slattach, BB_DIR_SBIN, BB_SUID_DROP)) 243IF_SLATTACH(APPLET(slattach, BB_DIR_SBIN, BB_SUID_DROP))
275/* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells: */ 244/* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells: */
@@ -277,7 +246,6 @@ IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP))
277IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort)) 246IF_SORT(APPLET_NOEXEC(sort, sort, BB_DIR_USR_BIN, BB_SUID_DROP, sort))
278IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP)) 247IF_SPLIT(APPLET(split, BB_DIR_USR_BIN, BB_SUID_DROP))
279IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP)) 248IF_STAT(APPLET(stat, BB_DIR_BIN, BB_SUID_DROP))
280IF_STRINGS(APPLET(strings, BB_DIR_USR_BIN, BB_SUID_DROP))
281IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP)) 249IF_STTY(APPLET(stty, BB_DIR_BIN, BB_SUID_DROP))
282IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP)) 250IF_SUM(APPLET(sum, BB_DIR_USR_BIN, BB_SUID_DROP))
283IF_SWITCH_ROOT(APPLET(switch_root, BB_DIR_SBIN, BB_SUID_DROP)) 251IF_SWITCH_ROOT(APPLET(switch_root, BB_DIR_SBIN, BB_SUID_DROP))
@@ -294,8 +262,6 @@ IF_TEST(APPLET_NOFORK(test, test, BB_DIR_USR_BIN, BB_SUID_DROP, test))
294IF_TFTP(APPLET(tftp, BB_DIR_USR_BIN, BB_SUID_DROP)) 262IF_TFTP(APPLET(tftp, BB_DIR_USR_BIN, BB_SUID_DROP))
295IF_TFTPD(APPLET(tftpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) 263IF_TFTPD(APPLET(tftpd, BB_DIR_USR_SBIN, BB_SUID_DROP))
296#endif 264#endif
297IF_TIME(APPLET(time, BB_DIR_USR_BIN, BB_SUID_DROP))
298IF_TIMEOUT(APPLET(timeout, BB_DIR_USR_BIN, BB_SUID_DROP))
299IF_TOP(APPLET(top, BB_DIR_USR_BIN, BB_SUID_DROP)) 265IF_TOP(APPLET(top, BB_DIR_USR_BIN, BB_SUID_DROP))
300IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP)) 266IF_TR(APPLET(tr, BB_DIR_USR_BIN, BB_SUID_DROP))
301/* Needs socket(AF_INET, SOCK_RAW, IPPROTO_ICMP), therefore BB_SUID_MAYBE: */ 267/* Needs socket(AF_INET, SOCK_RAW, IPPROTO_ICMP), therefore BB_SUID_MAYBE: */
@@ -303,7 +269,6 @@ IF_TRACEROUTE(APPLET(traceroute, BB_DIR_USR_BIN, BB_SUID_MAYBE))
303IF_TRACEROUTE6(APPLET(traceroute6, BB_DIR_USR_BIN, BB_SUID_MAYBE)) 269IF_TRACEROUTE6(APPLET(traceroute6, BB_DIR_USR_BIN, BB_SUID_MAYBE))
304IF_TRUE(APPLET_NOFORK(true, true, BB_DIR_BIN, BB_SUID_DROP, true)) 270IF_TRUE(APPLET_NOFORK(true, true, BB_DIR_BIN, BB_SUID_DROP, true))
305IF_TTY(APPLET(tty, BB_DIR_USR_BIN, BB_SUID_DROP)) 271IF_TTY(APPLET(tty, BB_DIR_USR_BIN, BB_SUID_DROP))
306IF_TTYSIZE(APPLET(ttysize, BB_DIR_USR_BIN, BB_SUID_DROP))
307IF_TUNCTL(APPLET(tunctl, BB_DIR_SBIN, BB_SUID_DROP)) 272IF_TUNCTL(APPLET(tunctl, BB_DIR_SBIN, BB_SUID_DROP))
308IF_UDHCPC(APPLET(udhcpc, BB_DIR_SBIN, BB_SUID_DROP)) 273IF_UDHCPC(APPLET(udhcpc, BB_DIR_SBIN, BB_SUID_DROP))
309IF_UDHCPD(APPLET(udhcpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) 274IF_UDHCPD(APPLET(udhcpd, BB_DIR_USR_SBIN, BB_SUID_DROP))
@@ -318,9 +283,7 @@ IF_USLEEP(APPLET_NOFORK(usleep, usleep, BB_DIR_BIN, BB_SUID_DROP, usleep))
318IF_UUDECODE(APPLET(uudecode, BB_DIR_USR_BIN, BB_SUID_DROP)) 283IF_UUDECODE(APPLET(uudecode, BB_DIR_USR_BIN, BB_SUID_DROP))
319IF_UUENCODE(APPLET(uuencode, BB_DIR_USR_BIN, BB_SUID_DROP)) 284IF_UUENCODE(APPLET(uuencode, BB_DIR_USR_BIN, BB_SUID_DROP))
320IF_VCONFIG(APPLET(vconfig, BB_DIR_SBIN, BB_SUID_DROP)) 285IF_VCONFIG(APPLET(vconfig, BB_DIR_SBIN, BB_SUID_DROP))
321IF_VOLNAME(APPLET(volname, BB_DIR_USR_BIN, BB_SUID_DROP))
322IF_WATCH(APPLET(watch, BB_DIR_BIN, BB_SUID_DROP)) 286IF_WATCH(APPLET(watch, BB_DIR_BIN, BB_SUID_DROP))
323IF_WATCHDOG(APPLET(watchdog, BB_DIR_SBIN, BB_SUID_DROP))
324IF_WC(APPLET(wc, BB_DIR_USR_BIN, BB_SUID_DROP)) 287IF_WC(APPLET(wc, BB_DIR_USR_BIN, BB_SUID_DROP))
325IF_WHOAMI(APPLET_NOFORK(whoami, whoami, BB_DIR_USR_BIN, BB_SUID_DROP, whoami)) 288IF_WHOAMI(APPLET_NOFORK(whoami, whoami, BB_DIR_USR_BIN, BB_SUID_DROP, whoami))
326IF_YES(APPLET_NOFORK(yes, yes, BB_DIR_USR_BIN, BB_SUID_DROP, yes)) 289IF_YES(APPLET_NOFORK(yes, yes, BB_DIR_USR_BIN, BB_SUID_DROP, yes))