audit small applets and mark some of them as NOFORK.
Put big scary warnings in relevant places.
This commit is contained in:
@@ -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;)
|
||||
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user