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 @@ | |||
8 | */ | 8 | */ |
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
11 | /* This is a NOEXEC applet. Be very careful! */ | ||
12 | |||
11 | int cksum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 13 | int cksum_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
12 | int cksum_main(int argc UNUSED_PARAM, char **argv) | 14 | int cksum_main(int argc UNUSED_PARAM, char **argv) |
13 | { | 15 | { |
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 @@ | |||
14 | 14 | ||
15 | #include "libbb.h" | 15 | #include "libbb.h" |
16 | 16 | ||
17 | /* This is a NOEXEC applet. Be very careful! */ | ||
18 | |||
17 | enum { | 19 | enum { |
18 | CT_UNIX2DOS = 1, | 20 | CT_UNIX2DOS = 1, |
19 | CT_DOS2UNIX | 21 | 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 @@ | |||
12 | #include "libbb.h" | 12 | #include "libbb.h" |
13 | #include "unicode.h" | 13 | #include "unicode.h" |
14 | 14 | ||
15 | /* This is a NOEXEC applet. Be very careful! */ | ||
16 | |||
15 | /* Must match getopt32 call */ | 17 | /* Must match getopt32 call */ |
16 | #define FLAG_COUNT_BYTES 1 | 18 | #define FLAG_COUNT_BYTES 1 |
17 | #define FLAG_BREAK_SPACES 2 | 19 | #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 @@ | |||
13 | 13 | ||
14 | #include "libbb.h" | 14 | #include "libbb.h" |
15 | 15 | ||
16 | /* This is a NOEXEC applet. Be very careful! */ | ||
17 | |||
16 | static const char head_opts[] ALIGN1 = | 18 | static const char head_opts[] ALIGN1 = |
17 | "n:" | 19 | "n:" |
18 | #if ENABLE_FEATURE_FANCY_HEAD | 20 | #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 @@ | |||
17 | 17 | ||
18 | #include "libbb.h" | 18 | #include "libbb.h" |
19 | 19 | ||
20 | /* This is a NOEXEC applet. Be very careful! */ | ||
21 | |||
20 | #if !ENABLE_USE_BB_PWD_GRP | 22 | #if !ENABLE_USE_BB_PWD_GRP |
21 | #if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0) | 23 | #if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0) |
22 | #if (__UCLIBC_MINOR__ < 9) || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 30) | 24 | #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 @@ | |||
8 | 8 | ||
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
11 | /* This is a NOEXEC applet. Be very careful! */ | ||
12 | |||
11 | typedef enum { | 13 | typedef enum { |
12 | /* 4th letter of applet_name is... */ | 14 | /* 4th letter of applet_name is... */ |
13 | HASH_MD5 = 's', /* "md5>s<um" */ | 15 | 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 @@ | |||
13 | #include "libbb.h" | 13 | #include "libbb.h" |
14 | #include "libcoreutils/coreutils.h" | 14 | #include "libcoreutils/coreutils.h" |
15 | 15 | ||
16 | /* This is a NOEXEC applet. Be very careful! */ | ||
17 | |||
16 | int mkfifo_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 18 | int mkfifo_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
17 | int mkfifo_main(int argc UNUSED_PARAM, char **argv) | 19 | int mkfifo_main(int argc UNUSED_PARAM, char **argv) |
18 | { | 20 | { |
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 @@ | |||
14 | #include "libbb.h" | 14 | #include "libbb.h" |
15 | #include "libcoreutils/coreutils.h" | 15 | #include "libcoreutils/coreutils.h" |
16 | 16 | ||
17 | /* This is a NOEXEC applet. Be very careful! */ | ||
18 | |||
17 | static const char modes_chars[] ALIGN1 = { 'p', 'c', 'u', 'b', 0, 1, 1, 2 }; | 19 | static const char modes_chars[] ALIGN1 = { 'p', 'c', 'u', 'b', 0, 1, 1, 2 }; |
18 | static const mode_t modes_cubp[] = { S_IFIFO, S_IFCHR, S_IFBLK }; | 20 | static const mode_t modes_cubp[] = { S_IFIFO, S_IFCHR, S_IFBLK }; |
19 | 21 | ||
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 @@ | |||
10 | 10 | ||
11 | #include "libbb.h" | 11 | #include "libbb.h" |
12 | 12 | ||
13 | /* This is a NOFORK applet. Be very careful! */ | ||
14 | |||
13 | int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 15 | int printenv_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
14 | int printenv_main(int argc UNUSED_PARAM, char **argv) | 16 | int printenv_main(int argc UNUSED_PARAM, char **argv) |
15 | { | 17 | { |