diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 7 | ||||
-rw-r--r-- | include/usage.h | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 6eb5cfd5f..e952ac44f 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -378,6 +378,10 @@ | |||
378 | #ifdef CONFIG_FEATURE_INITRD | 378 | #ifdef CONFIG_FEATURE_INITRD |
379 | APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT, _BB_SUID_NEVER) | 379 | APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT, _BB_SUID_NEVER) |
380 | #endif | 380 | #endif |
381 | #ifdef CONFIG_SETARCH | ||
382 | APPLET_NOUSAGE("linux32", setarch_main, _BB_DIR_BIN, _BB_SUID_NEVER) | ||
383 | APPLET_NOUSAGE("linux64", setarch_main, _BB_DIR_BIN, _BB_SUID_NEVER) | ||
384 | #endif | ||
381 | #ifdef CONFIG_LN | 385 | #ifdef CONFIG_LN |
382 | APPLET(ln, ln_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 386 | APPLET(ln, ln_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
383 | #endif | 387 | #endif |
@@ -586,6 +590,9 @@ | |||
586 | #ifdef CONFIG_SEQ | 590 | #ifdef CONFIG_SEQ |
587 | APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 591 | APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
588 | #endif | 592 | #endif |
593 | #ifdef CONFIG_SETARCH | ||
594 | APPLET(setarch, setarch_main, _BB_DIR_BIN, _BB_SUID_NEVER) | ||
595 | #endif | ||
589 | #ifdef CONFIG_SETCONSOLE | 596 | #ifdef CONFIG_SETCONSOLE |
590 | APPLET(setconsole, setconsole_main, _BB_DIR_SBIN, _BB_SUID_NEVER) | 597 | APPLET(setconsole, setconsole_main, _BB_DIR_SBIN, _BB_SUID_NEVER) |
591 | #endif | 598 | #endif |
diff --git a/include/usage.h b/include/usage.h index 22beeadf3..63cd79f0e 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1626,6 +1626,13 @@ | |||
1626 | "\t\treached.\n" \ | 1626 | "\t\treached.\n" \ |
1627 | "\t-h, -?\tDisplay this help message\n" | 1627 | "\t-h, -?\tDisplay this help message\n" |
1628 | 1628 | ||
1629 | #define setarch_trivial_usage \ | ||
1630 | "<personality> <program> [args ...]" | ||
1631 | #define setarch_full_usage \ | ||
1632 | "Personality may be:\n" \ | ||
1633 | "\tlinux32\tSet 32bit uname emulation\n" \ | ||
1634 | "\tlinux64\tSet 64bit uname emulation" | ||
1635 | |||
1629 | #define ln_trivial_usage \ | 1636 | #define ln_trivial_usage \ |
1630 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" | 1637 | "[OPTION] TARGET... LINK_NAME|DIRECTORY" |
1631 | #define ln_full_usage \ | 1638 | #define ln_full_usage \ |