diff options
-rw-r--r-- | NOFORK_NOEXEC.lst | 8 | ||||
-rw-r--r-- | util-linux/losetup.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/NOFORK_NOEXEC.lst b/NOFORK_NOEXEC.lst index d7e60b442..a8823beff 100644 --- a/NOFORK_NOEXEC.lst +++ b/NOFORK_NOEXEC.lst | |||
@@ -165,8 +165,8 @@ i2cdump - hardware | |||
165 | i2cget - hardware | 165 | i2cget - hardware |
166 | i2cset - hardware | 166 | i2cset - hardware |
167 | id - noexec | 167 | id - noexec |
168 | ifconfig - leaks: xsocket+ioctl_or_perror_and_die | 168 | ifconfig - hardware? (mem_start NN io_addr NN irq NN), leaks: xsocket+ioctl_or_perror_and_die |
169 | ifenslave - leaks: xsocket+bb_perror_msg_and_die | 169 | ifenslave - noexec. leaks: xsocket+bb_perror_msg_and_die |
170 | ifplugd - daemon | 170 | ifplugd - daemon |
171 | inetd - daemon | 171 | inetd - daemon |
172 | init - daemon | 172 | init - daemon |
@@ -202,7 +202,7 @@ loadkmap - noexec. leaks: get_console_fd_or_die() may open a new fd, or return o | |||
202 | logger - runner | 202 | logger - runner |
203 | login - suid, interactive, longterm | 203 | login - suid, interactive, longterm |
204 | logname - NOFORK | 204 | logname - NOFORK |
205 | losetup - complex | 205 | losetup - noexec. complex |
206 | lpd - daemon | 206 | lpd - daemon |
207 | lpq - runner | 207 | lpq - runner |
208 | lpr - runner | 208 | lpr - runner |
@@ -400,7 +400,7 @@ uuencode - runner | |||
400 | vconfig - leaks: xsocket+ioctl_or_perror_and_die | 400 | vconfig - leaks: xsocket+ioctl_or_perror_and_die |
401 | vi - interactive, longterm | 401 | vi - interactive, longterm |
402 | vlock - suid | 402 | vlock - suid |
403 | volname - runner | 403 | volname - hardware (reads CDROM, this can take long-ish if need to spin up) |
404 | w - noexec. nofork candidate(is getutxent ok?) | 404 | w - noexec. nofork candidate(is getutxent ok?) |
405 | wall - suid | 405 | wall - suid |
406 | watch - longterm | 406 | watch - longterm |
diff --git a/util-linux/losetup.c b/util-linux/losetup.c index c608de6cc..2f7dc10f5 100644 --- a/util-linux/losetup.c +++ b/util-linux/losetup.c | |||
@@ -15,9 +15,9 @@ | |||
15 | //config: file or block device, and to query the status of a loop device. This | 15 | //config: file or block device, and to query the status of a loop device. This |
16 | //config: version does not currently support enabling data encryption. | 16 | //config: version does not currently support enabling data encryption. |
17 | 17 | ||
18 | //kbuild:lib-$(CONFIG_LOSETUP) += losetup.o | 18 | //applet:IF_LOSETUP(APPLET_NOEXEC(losetup, losetup, BB_DIR_SBIN, BB_SUID_DROP, losetup)) |
19 | 19 | ||
20 | //applet:IF_LOSETUP(APPLET(losetup, BB_DIR_SBIN, BB_SUID_DROP)) | 20 | //kbuild:lib-$(CONFIG_LOSETUP) += losetup.o |
21 | 21 | ||
22 | //usage:#define losetup_trivial_usage | 22 | //usage:#define losetup_trivial_usage |
23 | //usage: "[-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices\n" | 23 | //usage: "[-r] [-o OFS] {-f|LOOPDEV} FILE - associate loop devices\n" |