diff options
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/cksum.c | 2 | ||||
-rw-r--r-- | coreutils/dos2unix.c | 2 | ||||
-rw-r--r-- | coreutils/fold.c | 2 | ||||
-rw-r--r-- | coreutils/head.c | 2 | ||||
-rw-r--r-- | coreutils/id.c | 2 | ||||
-rw-r--r-- | coreutils/md5_sha1_sum.c | 2 | ||||
-rw-r--r-- | coreutils/mkfifo.c | 2 | ||||
-rw-r--r-- | coreutils/mknod.c | 2 | ||||
-rw-r--r-- | coreutils/printenv.c | 2 |
9 files changed, 18 insertions, 0 deletions
diff --git a/coreutils/cksum.c b/coreutils/cksum.c index 8e7800ee9..7bf383e2d 100644 --- a/coreutils/cksum.c +++ b/coreutils/cksum.c @@ -8,6 +8,8 @@ */ #include "libbb.h" +/* This is a NOEXEC applet. Be very careful! */ + int cksum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int cksum_main(int argc UNUSED_PARAM, char **argv) { diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c index 626c414f2..ba1ca8c79 100644 --- a/coreutils/dos2unix.c +++ b/coreutils/dos2unix.c @@ -14,6 +14,8 @@ #include "libbb.h" +/* This is a NOEXEC applet. Be very careful! */ + enum { CT_UNIX2DOS = 1, CT_DOS2UNIX diff --git a/coreutils/fold.c b/coreutils/fold.c index 54f1aa2ac..4a6429ad7 100644 --- a/coreutils/fold.c +++ b/coreutils/fold.c @@ -12,6 +12,8 @@ #include "libbb.h" #include "unicode.h" +/* This is a NOEXEC applet. Be very careful! */ + /* Must match getopt32 call */ #define FLAG_COUNT_BYTES 1 #define FLAG_BREAK_SPACES 2 diff --git a/coreutils/head.c b/coreutils/head.c index 0845b4375..669aae819 100644 --- a/coreutils/head.c +++ b/coreutils/head.c @@ -13,6 +13,8 @@ #include "libbb.h" +/* This is a NOEXEC applet. Be very careful! */ + static const char head_opts[] ALIGN1 = "n:" #if ENABLE_FEATURE_FANCY_HEAD diff --git a/coreutils/id.c b/coreutils/id.c index 56286f4d4..ed1dc862e 100644 --- a/coreutils/id.c +++ b/coreutils/id.c @@ -17,6 +17,8 @@ #include "libbb.h" +/* This is a NOEXEC applet. Be very careful! */ + #if !ENABLE_USE_BB_PWD_GRP #if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0) #if (__UCLIBC_MINOR__ < 9) || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 30) diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 646f8bd10..5e36d391a 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c @@ -8,6 +8,8 @@ #include "libbb.h" +/* This is a NOEXEC applet. Be very careful! */ + typedef enum { /* 4th letter of applet_name is... */ HASH_MD5 = 's', /* "md5>s<um" */ diff --git a/coreutils/mkfifo.c b/coreutils/mkfifo.c index 41aedd099..4388ccaa3 100644 --- a/coreutils/mkfifo.c +++ b/coreutils/mkfifo.c @@ -13,6 +13,8 @@ #include "libbb.h" #include "libcoreutils/coreutils.h" +/* This is a NOEXEC applet. Be very careful! */ + int mkfifo_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int mkfifo_main(int argc UNUSED_PARAM, char **argv) { diff --git a/coreutils/mknod.c b/coreutils/mknod.c index 0e5542dde..14d91b5df 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 }; diff --git a/coreutils/printenv.c b/coreutils/printenv.c index d38f8fb5f..33be5c096 100644 --- a/coreutils/printenv.c +++ b/coreutils/printenv.c @@ -10,6 +10,8 @@ #include "libbb.h" +/* This is a NOFORK applet. Be very careful! */ + int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int printenv_main(int argc UNUSED_PARAM, char **argv) { |