diff options
Diffstat (limited to 'coreutils/mkdir.c')
-rw-r--r-- | coreutils/mkdir.c | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/coreutils/mkdir.c b/coreutils/mkdir.c index 6f7b004dd..3afe76c28 100644 --- a/coreutils/mkdir.c +++ b/coreutils/mkdir.c | |||
@@ -6,18 +6,32 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | |||
10 | /* BB_AUDIT SUSv3 compliant */ | ||
11 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/mkdir.html */ | ||
12 | |||
13 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) | 9 | /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) |
14 | * | 10 | * |
15 | * Fixed broken permission setting when -p was used; especially in | 11 | * Fixed broken permission setting when -p was used; especially in |
16 | * conjunction with -m. | 12 | * conjunction with -m. |
17 | */ | 13 | */ |
18 | |||
19 | /* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. | 14 | /* Nov 28, 2006 Yoshinori Sato <ysato@users.sourceforge.jp>: Add SELinux Support. |
20 | */ | 15 | */ |
16 | //config:config MKDIR | ||
17 | //config: bool "mkdir" | ||
18 | //config: default y | ||
19 | //config: help | ||
20 | //config: mkdir is used to create directories with the specified names. | ||
21 | //config: | ||
22 | //config:config FEATURE_MKDIR_LONG_OPTIONS | ||
23 | //config: bool "Enable long options" | ||
24 | //config: default y | ||
25 | //config: depends on MKDIR && LONG_OPTS | ||
26 | //config: help | ||
27 | //config: Support long options for the mkdir applet. | ||
28 | |||
29 | //applet:IF_MKDIR(APPLET_NOFORK(mkdir, mkdir, BB_DIR_BIN, BB_SUID_DROP, mkdir)) | ||
30 | |||
31 | //kbuild:lib-$(CONFIG_MKDIR) += mkdir.o | ||
32 | |||
33 | /* BB_AUDIT SUSv3 compliant */ | ||
34 | /* http://www.opengroup.org/onlinepubs/007904975/utilities/mkdir.html */ | ||
21 | 35 | ||
22 | //usage:#define mkdir_trivial_usage | 36 | //usage:#define mkdir_trivial_usage |
23 | //usage: "[OPTIONS] DIRECTORY..." | 37 | //usage: "[OPTIONS] DIRECTORY..." |