summaryrefslogtreecommitdiff
path: root/coreutils/mknod.c
diff options
context:
space:
mode:
authorDan Fandrich2010-09-30 14:31:12 -0700
committerDenys Vlasenko2010-10-01 23:35:09 +0200
commit2d1a78b88f6c986cbe147fc6f99091fd61f3bdd9 (patch)
treebd8b9214ebf7b119bd216aef6704926b4dff3e63 /coreutils/mknod.c
parent5657d374dbd0b355980fb2128aa07d8dbe0e2934 (diff)
downloadbusybox-2d1a78b88f6c986cbe147fc6f99091fd61f3bdd9.zip
busybox-2d1a78b88f6c986cbe147fc6f99091fd61f3bdd9.tar.gz
Marked some more applets NOEXEC/NOFORK
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/mknod.c')
-rw-r--r--coreutils/mknod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/coreutils/mknod.c b/coreutils/mknod.c
index 0e5542d..14d91b5 100644
--- a/coreutils/mknod.c
+++ b/coreutils/mknod.c
@@ -14,6 +14,8 @@
#include "libbb.h"
#include "libcoreutils/coreutils.h"
+/* This is a NOEXEC applet. Be very careful! */
+
static const char modes_chars[] ALIGN1 = { 'p', 'c', 'u', 'b', 0, 1, 1, 2 };
static const mode_t modes_cubp[] = { S_IFIFO, S_IFCHR, S_IFBLK };