summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-07-23 14:03:30 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-07-23 14:03:30 +0000
commit397137b8158298cae14efae330abc57ba11630a5 (patch)
tree66a755944637f3229f3f801c999132e8d9386856 /include/usage.h
parent845db2acf3cf7e87c20cee01dc228de6fad593ed (diff)
downloadbusybox-w32-397137b8158298cae14efae330abc57ba11630a5.tar.gz
busybox-w32-397137b8158298cae14efae330abc57ba11630a5.tar.bz2
busybox-w32-397137b8158298cae14efae330abc57ba11630a5.zip
setfiles,restorecon: new SELinux applets by Yuichi Nakamura <ynakam@hitachisoft.jp>
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 679c3476b..6608938f6 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2783,6 +2783,22 @@
2783#define resize_full_usage \ 2783#define resize_full_usage \
2784 "Resize the screen" 2784 "Resize the screen"
2785 2785
2786#define restorecon_trivial_usage \
2787 "[-iFnrRv] [-e excludedir]... [-o filename] [-f filename | pathname]"
2788#define restorecon_full_usage \
2789 "Reset security contexts of files in pathname\n" \
2790 "\n -i Ignore files that do not exist" \
2791 "\n -f filename File with list of files to process. Use - for stdin" \
2792 "\n -e directory Directory to exclude" \
2793 "\n -R,-r Recurse directories" \
2794 "\n -n Don't change any file labels" \
2795 "\n -o filename Save list of files with incorrect context" \
2796 "\n -v Verbose" \
2797 "\n -vv Show changed labels" \
2798 "\n -F Force reset of context to match file_context" \
2799 "\n for customizable files, or the user section," \
2800 "\n if it has changed"
2801
2786#define rm_trivial_usage \ 2802#define rm_trivial_usage \
2787 "[OPTION]... FILE..." 2803 "[OPTION]... FILE..."
2788#define rm_full_usage \ 2804#define rm_full_usage \
@@ -2947,6 +2963,31 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
2947 "[Enforcing | Permissive | 1 | 0]" 2963 "[Enforcing | Permissive | 1 | 0]"
2948#define setenforce_full_usage 2964#define setenforce_full_usage
2949 2965
2966#define setfiles_trivial_usage \
2967 "[-dnpqsvW] [-e dir]... [-o filename] [-r alt_root_path]" \
2968 USE_FEATURE_SETFILES_CHECK_OPTION( \
2969 " [-c policyfile] spec_file" \
2970 ) \
2971 " pathname"
2972
2973#define setfiles_full_usage \
2974 "Reset file contexts under pathname according to spec_file" \
2975 USE_FEATURE_SETFILES_CHECK_OPTION( \
2976 "\n -c file Check the validity of the contexts against the specified binary policy" \
2977 ) \
2978 "\n -d Show which specification matched each file" \
2979 "\n -l Log changes in file labels to syslog" \
2980 "\n -n Don't change any file labels" \
2981 "\n -q Suppress no-error output" \
2982 "\n -r dir Use an altenate root path" \
2983 "\n -e dir Exclude directory" \
2984 "\n -F Force reset of context to match file_context for customizable files" \
2985 "\n -o file Save list of files with incorrect context" \
2986 "\n -s Take a list of files from standard input (instead of command line)" \
2987 "\n -v Show changes in file labels, if type or role are changing" \
2988 "\n -vv Show changes in file labels, if type, role, or user are changing" \
2989 "\n -W Display warnings about entries that had no matching files"
2990
2950#define setkeycodes_trivial_usage \ 2991#define setkeycodes_trivial_usage \
2951 "SCANCODE KEYCODE ..." 2992 "SCANCODE KEYCODE ..."
2952#define setkeycodes_full_usage \ 2993#define setkeycodes_full_usage \