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 8e7800e..7bf383e 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 626c414..ba1ca8c 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 54f1aa2..4a6429a 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 0845b43..669aae8 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 56286f4..ed1dc86 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 646f8bd..5e36d39 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 41aedd0..4388cca 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 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 }; diff --git a/coreutils/printenv.c b/coreutils/printenv.c index d38f8fb..33be5c0 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) { |