diff options
author | Pere Orga | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /selinux/runcon.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip busybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'selinux/runcon.c')
-rw-r--r-- | selinux/runcon.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c index 54349b2..f0b2126 100644 --- a/selinux/runcon.c +++ b/selinux/runcon.c @@ -28,6 +28,28 @@ * * Licensed under GPLv2, see file LICENSE in this source tree. */ + +//usage:#define runcon_trivial_usage +//usage: "[-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] PROG ARGS\n" +//usage: "runcon CONTEXT PROG ARGS" +//usage:#define runcon_full_usage "\n\n" +//usage: "Run PROG in a different security context\n" +//usage: "\n CONTEXT Complete security context\n" +//usage: IF_FEATURE_RUNCON_LONG_OPTIONS( +//usage: "\n -c,--compute Compute process transition context before modifying" +//usage: "\n -t,--type=TYPE Type (for same role as parent)" +//usage: "\n -u,--user=USER User identity" +//usage: "\n -r,--role=ROLE Role" +//usage: "\n -l,--range=RNG Levelrange" +//usage: ) +//usage: IF_NOT_FEATURE_RUNCON_LONG_OPTIONS( +//usage: "\n -c Compute process transition context before modifying" +//usage: "\n -t TYPE Type (for same role as parent)" +//usage: "\n -u USER User identity" +//usage: "\n -r ROLE Role" +//usage: "\n -l RNG Levelrange" +//usage: ) + #include <getopt.h> #include <selinux/context.h> #include <selinux/flask.h> |