aboutsummaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-10 15:43:37 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-10 15:43:37 +0000
commit99912ca733dd960f5589227fd999c86e73c8e894 (patch)
tree9df947fc08884d498cf76a02204d74b121064134 /coreutils/test.c
parentff131b980d524a33d8a43cefe65e14f64a43f2da (diff)
downloadbusybox-w32-99912ca733dd960f5589227fd999c86e73c8e894.tar.gz
busybox-w32-99912ca733dd960f5589227fd999c86e73c8e894.tar.bz2
busybox-w32-99912ca733dd960f5589227fd999c86e73c8e894.zip
audit small applets and mark some of them as NOFORK.
Put big scary warnings in relevant places.
Diffstat (limited to 'coreutils/test.c')
-rw-r--r--coreutils/test.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index d5babefce..e9b627638 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -21,12 +21,11 @@
21 */ 21 */
22 22
23#include "busybox.h" 23#include "busybox.h"
24#include <unistd.h>
25#include <ctype.h>
26#include <errno.h>
27#include <string.h>
28#include <setjmp.h> 24#include <setjmp.h>
29 25
26/* This is a NOEXEC applet. Be very careful! */
27
28
30/* test(1) accepts the following grammar: 29/* test(1) accepts the following grammar:
31 oexpr ::= aexpr | aexpr "-o" oexpr ; 30 oexpr ::= aexpr | aexpr "-o" oexpr ;
32 aexpr ::= nexpr | nexpr "-a" aexpr ; 31 aexpr ::= nexpr | nexpr "-a" aexpr ;