summaryrefslogtreecommitdiff
path: root/findutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-10 15:43:37 +0000
committerDenis Vlasenko2007-04-10 15:43:37 +0000
commit99912ca733dd960f5589227fd999c86e73c8e894 (patch)
tree9df947fc08884d498cf76a02204d74b121064134 /findutils
parentff131b980d524a33d8a43cefe65e14f64a43f2da (diff)
downloadbusybox-99912ca733dd960f5589227fd999c86e73c8e894.zip
busybox-99912ca733dd960f5589227fd999c86e73c8e894.tar.gz
audit small applets and mark some of them as NOFORK.
Put big scary warnings in relevant places.
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 1a1301b..b77d36d 100644
--- a/findutils/find.c
+++ b/findutils/find.c
@@ -48,6 +48,9 @@
#include <fnmatch.h>
#include "busybox.h"
+/* This is a NOEXEC applet. Be very careful! */
+
+
USE_FEATURE_FIND_XDEV(static dev_t *xdev_dev;)
USE_FEATURE_FIND_XDEV(static int xdev_count;)
diff --git a/findutils/xargs.c b/findutils/xargs.c
index b4dd9f8..2b3a508 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -19,6 +19,9 @@
#include "busybox.h"
+/* This is a NOEXEC applet. Be very careful! */
+
+
/* COMPAT: SYSV version defaults size (and has a max value of) to 470.
We try to make it as large as possible. */
#if !defined(ARG_MAX) && defined(_SC_ARG_MAX)