diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index d1bf0f36b..214e63aa2 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -74,6 +74,7 @@ USE_CHMOD(APPLET(chmod, _BB_DIR_BIN, _BB_SUID_NEVER)) | |||
74 | USE_CHOWN(APPLET(chown, _BB_DIR_BIN, _BB_SUID_NEVER)) | 74 | USE_CHOWN(APPLET(chown, _BB_DIR_BIN, _BB_SUID_NEVER)) |
75 | USE_CHPST(APPLET(chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 75 | USE_CHPST(APPLET(chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
76 | USE_CHROOT(APPLET(chroot, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 76 | USE_CHROOT(APPLET(chroot, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
77 | USE_CHRT(APPLET(chrt, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | ||
77 | USE_CHVT(APPLET(chvt, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 78 | USE_CHVT(APPLET(chvt, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
78 | USE_CKSUM(APPLET(cksum, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 79 | USE_CKSUM(APPLET(cksum, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
79 | USE_CLEAR(APPLET(clear, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 80 | USE_CLEAR(APPLET(clear, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
diff --git a/include/usage.h b/include/usage.h index d8faa4f12..4d1ecb8f5 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -382,6 +382,22 @@ | |||
382 | #define bbsh_full_usage \ | 382 | #define bbsh_full_usage \ |
383 | "The bbsh shell (command interpreter)" | 383 | "The bbsh shell (command interpreter)" |
384 | 384 | ||
385 | #define chrt_trivial_usage \ | ||
386 | "[OPTION]... [prio] [pid | command [arg]...]" | ||
387 | #define chrt_full_usage \ | ||
388 | "manipulate real-time attributes of a process" \ | ||
389 | "\n\nOptions:\n" \ | ||
390 | " -p operate on pid\n" \ | ||
391 | " -r set scheduling policy to SCHED_RR\n" \ | ||
392 | " -f set scheduling policy to SCHED_FIFO\n" \ | ||
393 | " -o set scheduling policy to SCHED_OTHER\n" \ | ||
394 | " -m show min and max priorities" | ||
395 | |||
396 | #define chrt_example_usage \ | ||
397 | "$ chrt -r 4 sleep 900 ; x=$!\n" \ | ||
398 | "$ chrt -f -p 3 $x\n" \ | ||
399 | "You need CAP_SYS_NICE privileges to set scheduling attributes of a process" | ||
400 | |||
385 | #define cp_trivial_usage \ | 401 | #define cp_trivial_usage \ |
386 | "[OPTION]... SOURCE DEST" | 402 | "[OPTION]... SOURCE DEST" |
387 | #define cp_full_usage \ | 403 | #define cp_full_usage \ |