audit small applets and mark some of them as NOFORK.

Put big scary warnings in relevant places.
This commit is contained in:
Denis Vlasenko
2007-04-10 15:43:37 +00:00
parent ff131b980d
commit 99912ca733
41 changed files with 173 additions and 128 deletions

View File

@@ -22,11 +22,10 @@
* val. Otherwise, pass -1 to get default permissions.
*/
#include <errno.h>
#include <unistd.h>
#include <sys/stat.h>
#include "libbb.h"
/* This function is used from NOFORK applets. It must not allocate anything */
int bb_make_directory (char *path, long mode, int flags)
{
mode_t mask;