diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-14 14:41:52 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-14 14:41:52 +0100 |
commit | 88663e481f3284225ea0ceaf97f3904adedb21a2 (patch) | |
tree | d65941d5e313bcc74b415273a3f51eecc998cc40 /coreutils/mv.c | |
parent | cbdc37cae079d6b52ca39fb6c1dd6eadab48b617 (diff) | |
download | busybox-w32-88663e481f3284225ea0ceaf97f3904adedb21a2.tar.gz busybox-w32-88663e481f3284225ea0ceaf97f3904adedb21a2.tar.bz2 busybox-w32-88663e481f3284225ea0ceaf97f3904adedb21a2.zip |
mv: make it NOEXEC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/mv.c')
-rw-r--r-- | coreutils/mv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c index 10cbc506f..aeafd1e40 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c | |||
@@ -17,7 +17,8 @@ | |||
17 | //config: help | 17 | //config: help |
18 | //config: mv is used to move or rename files or directories. | 18 | //config: mv is used to move or rename files or directories. |
19 | 19 | ||
20 | //applet:IF_MV(APPLET(mv, BB_DIR_BIN, BB_SUID_DROP)) | 20 | //applet:IF_MV(APPLET_NOEXEC(mv, mv, BB_DIR_BIN, BB_SUID_DROP, mv)) |
21 | /* NOEXEC despite cases when it can be a "runner" (mv LARGE_DIR OTHER_FS) */ | ||
21 | 22 | ||
22 | //kbuild:lib-$(CONFIG_MV) += mv.o | 23 | //kbuild:lib-$(CONFIG_MV) += mv.o |
23 | 24 | ||