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 @@ #ifdef CONFIG_FEATURE_INITRD APPLET_NOUSAGE("linuxrc", init_main, _BB_DIR_ROOT, _BB_SUID_NEVER) #endif +#ifdef CONFIG_SETARCH + APPLET_NOUSAGE("linux32", setarch_main, _BB_DIR_BIN, _BB_SUID_NEVER) + APPLET_NOUSAGE("linux64", setarch_main, _BB_DIR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_LN APPLET(ln, ln_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif @@ -586,6 +590,9 @@ #ifdef CONFIG_SEQ APPLET(seq, seq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_SETARCH + APPLET(setarch, setarch_main, _BB_DIR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_SETCONSOLE APPLET(setconsole, setconsole_main, _BB_DIR_SBIN, _BB_SUID_NEVER) #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 @@ "\t\treached.\n" \ "\t-h, -?\tDisplay this help message\n" +#define setarch_trivial_usage \ + "<personality> <program> [args ...]" +#define setarch_full_usage \ + "Personality may be:\n" \ + "\tlinux32\tSet 32bit uname emulation\n" \ + "\tlinux64\tSet 64bit uname emulation" + #define ln_trivial_usage \ "[OPTION] TARGET... LINK_NAME|DIRECTORY" #define ln_full_usage \ |