aboutsummaryrefslogtreecommitdiff
path: root/libbb/remove_file.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 /libbb/remove_file.c
parentff131b980d524a33d8a43cefe65e14f64a43f2da (diff)
downloadbusybox-99912ca733dd960f5589227fd999c86e73c8e894.tar.gz
audit small applets and mark some of them as NOFORK.
Put big scary warnings in relevant places.
Diffstat (limited to 'libbb/remove_file.c')
-rw-r--r--libbb/remove_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/remove_file.c b/libbb/remove_file.c
index 3aaaef8c7..3edc91dae 100644
--- a/libbb/remove_file.c
+++ b/libbb/remove_file.c
@@ -9,6 +9,8 @@
#include "libbb.h"
+/* Used from NOFORK applets. Must not allocate anything */
+
int remove_file(const char *path, int flags)
{
struct stat path_stat;