diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-08-12 20:58:27 +0000 |
commit | 6ca409e0e4c198fe3081346eebbae3f068fe605a (patch) | |
tree | 060cb05d99220a1eda399194d1209c269f0e8cd8 /selinux/runcon.c | |
parent | 4185548984357df91311f30c8e43d95f33922576 (diff) | |
download | busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2 busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip |
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount
of padding (unfortunately, needs hand editing ATM).
*: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts
size saving: 0.5k
Diffstat (limited to 'selinux/runcon.c')
-rw-r--r-- | selinux/runcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selinux/runcon.c b/selinux/runcon.c index 5f9e3fd12..6c3f518fc 100644 --- a/selinux/runcon.c +++ b/selinux/runcon.c | |||
@@ -69,7 +69,7 @@ static context_t runcon_compute_new_context(char *user, char *role, char *type, | |||
69 | } | 69 | } |
70 | 70 | ||
71 | #if ENABLE_FEATURE_RUNCON_LONG_OPTIONS | 71 | #if ENABLE_FEATURE_RUNCON_LONG_OPTIONS |
72 | static const char runcon_options[] = | 72 | static const char runcon_longopts[] ALIGN1 = |
73 | "user\0" Required_argument "u" | 73 | "user\0" Required_argument "u" |
74 | "role\0" Required_argument "r" | 74 | "role\0" Required_argument "r" |
75 | "type\0" Required_argument "t" | 75 | "type\0" Required_argument "t" |
@@ -101,7 +101,7 @@ int runcon_main(int argc, char **argv) | |||
101 | selinux_or_die(); | 101 | selinux_or_die(); |
102 | 102 | ||
103 | #if ENABLE_FEATURE_RUNCON_LONG_OPTIONS | 103 | #if ENABLE_FEATURE_RUNCON_LONG_OPTIONS |
104 | applet_long_options = runcon_options; | 104 | applet_long_options = runcon_longopts; |
105 | #endif | 105 | #endif |
106 | opt_complementary = "-1"; | 106 | opt_complementary = "-1"; |
107 | opts = getopt32(argc, argv, "r:t:u:l:ch", &role, &type, &user, &range); | 107 | opts = getopt32(argc, argv, "r:t:u:l:ch", &role, &type, &user, &range); |