diff options
author | Paul Fox <pgf@brightstareng.com> | 2005-08-01 22:52:09 +0000 |
---|---|---|
committer | Paul Fox <pgf@brightstareng.com> | 2005-08-01 22:52:09 +0000 |
commit | 4240364098e0a2aa4edcd854de68373f5b6aa659 (patch) | |
tree | 2777c5fa3a0295d4e84604d2bba95a4c1cc677b2 /include | |
parent | f1dbd4a6f7438b247ad166dfd507c0868c64e7a6 (diff) | |
download | busybox-w32-4240364098e0a2aa4edcd854de68373f5b6aa659.tar.gz busybox-w32-4240364098e0a2aa4edcd854de68373f5b6aa659.tar.bz2 busybox-w32-4240364098e0a2aa4edcd854de68373f5b6aa659.zip |
commiting:
0000028 03-16-05 patch: new setsid applet
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index d6aee5599..e2fe25167 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -558,6 +558,9 @@ | |||
558 | #ifdef CONFIG_SETKEYCODES | 558 | #ifdef CONFIG_SETKEYCODES |
559 | APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 559 | APPLET(setkeycodes, setkeycodes_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
560 | #endif | 560 | #endif |
561 | #ifdef CONFIG_SETSID | ||
562 | APPLET(setsid, setsid_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
563 | #endif | ||
561 | #if defined(CONFIG_FEATURE_SH_IS_ASH) && defined(CONFIG_ASH) | 564 | #if defined(CONFIG_FEATURE_SH_IS_ASH) && defined(CONFIG_ASH) |
562 | APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 565 | APPLET_NOUSAGE("sh", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
563 | #elif defined(CONFIG_FEATURE_SH_IS_HUSH) && defined(CONFIG_HUSH) | 566 | #elif defined(CONFIG_FEATURE_SH_IS_HUSH) && defined(CONFIG_HUSH) |
diff --git a/include/usage.h b/include/usage.h index 5d7c36551..dc8058a20 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2375,6 +2375,12 @@ | |||
2375 | #define setkeycodes_example_usage \ | 2375 | #define setkeycodes_example_usage \ |
2376 | "$ setkeycodes e030 127\n" | 2376 | "$ setkeycodes e030 127\n" |
2377 | 2377 | ||
2378 | #define setsid_trivial_usage \ | ||
2379 | "program [arg ...]" | ||
2380 | #define setsid_full_usage \ | ||
2381 | "Runs any program in a new session by calling setsid() before\n" \ | ||
2382 | "exec'ing the rest of its arguments. See setsid(2) for details." | ||
2383 | |||
2378 | #define lash_trivial_usage \ | 2384 | #define lash_trivial_usage \ |
2379 | "[FILE]...\n" \ | 2385 | "[FILE]...\n" \ |
2380 | "or: sh -c command [args]..." | 2386 | "or: sh -c command [args]..." |