aboutsummaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 15:43:37 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-04-10 15:43:37 +0000
commit50a061df5105478ea5f0c0bdc3891d646c50eea3 (patch)
tree9df947fc08884d498cf76a02204d74b121064134 /findutils
parenta1cce942064b62a2f238383d61c331b14ab764eb (diff)
downloadbusybox-w32-50a061df5105478ea5f0c0bdc3891d646c50eea3.tar.gz
busybox-w32-50a061df5105478ea5f0c0bdc3891d646c50eea3.tar.bz2
busybox-w32-50a061df5105478ea5f0c0bdc3891d646c50eea3.zip
audit small applets and mark some of them as NOFORK.
Put big scary warnings in relevant places. git-svn-id: svn://busybox.net/trunk/busybox@18382 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils')
-rw-r--r--findutils/find.c3
-rw-r--r--findutils/xargs.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/findutils/find.c b/findutils/find.c
index 1a1301b38..b77d36dc3 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -48,6 +48,9 @@
48#include <fnmatch.h> 48#include <fnmatch.h>
49#include "busybox.h" 49#include "busybox.h"
50 50
51/* This is a NOEXEC applet. Be very careful! */
52
53
51USE_FEATURE_FIND_XDEV(static dev_t *xdev_dev;) 54USE_FEATURE_FIND_XDEV(static dev_t *xdev_dev;)
52USE_FEATURE_FIND_XDEV(static int xdev_count;) 55USE_FEATURE_FIND_XDEV(static int xdev_count;)
53 56
diff --git a/findutils/xargs.c b/findutils/xargs.c
index b4dd9f876..2b3a5081c 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -19,6 +19,9 @@
19 19
20#include "busybox.h" 20#include "busybox.h"
21 21
22/* This is a NOEXEC applet. Be very careful! */
23
24
22/* COMPAT: SYSV version defaults size (and has a max value of) to 470. 25/* COMPAT: SYSV version defaults size (and has a max value of) to 470.
23 We try to make it as large as possible. */ 26 We try to make it as large as possible. */
24#if !defined(ARG_MAX) && defined(_SC_ARG_MAX) 27#if !defined(ARG_MAX) && defined(_SC_ARG_MAX)