aboutsummaryrefslogtreecommitdiff
path: root/coreutils/id.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/id.c')
-rw-r--r--coreutils/id.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index 1f3e1c4c2..ab7ac1e55 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -7,31 +7,30 @@
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9 */ 9 */
10
11/* BB_AUDIT SUSv3 compliant. */
12/* Hacked by Tito Ragusa (C) 2004 to handle usernames of whatever 10/* Hacked by Tito Ragusa (C) 2004 to handle usernames of whatever
13 * length and to be more similar to GNU id. 11 * length and to be more similar to GNU id.
14 * -Z option support: by Yuichi Nakamura <ynakam@hitachisoft.jp> 12 * -Z option support: by Yuichi Nakamura <ynakam@hitachisoft.jp>
15 * Added -G option Tito Ragusa (C) 2008 for SUSv3. 13 * Added -G option Tito Ragusa (C) 2008 for SUSv3.
16 */ 14 */
17
18//config:config ID 15//config:config ID
19//config: bool "id" 16//config: bool "id"
20//config: default y 17//config: default y
21//config: help 18//config: help
22//config: id displays the current user and group ID names. 19//config: id displays the current user and group ID names.
23 20//config:
24//config:config GROUPS 21//config:config GROUPS
25//config: bool "groups" 22//config: bool "groups"
26//config: default y 23//config: default y
27//config: help 24//config: help
28//config: Print the group names associated with current user id. 25//config: Print the group names associated with current user id.
29 26
27//applet:IF_GROUPS(APPLET_NOEXEC(groups, id, BB_DIR_USR_BIN, BB_SUID_DROP, groups))
28//applet:IF_ID( APPLET_NOEXEC(id, id, BB_DIR_USR_BIN, BB_SUID_DROP, id ))
29
30//kbuild:lib-$(CONFIG_GROUPS) += id.o 30//kbuild:lib-$(CONFIG_GROUPS) += id.o
31//kbuild:lib-$(CONFIG_ID) += id.o 31//kbuild:lib-$(CONFIG_ID) += id.o
32 32
33//applet:IF_GROUPS(APPLET_NOEXEC(groups, id, BB_DIR_USR_BIN, BB_SUID_DROP, groups)) 33/* BB_AUDIT SUSv3 compliant. */
34//applet:IF_ID( APPLET_NOEXEC(id, id, BB_DIR_USR_BIN, BB_SUID_DROP, id ))
35 34
36//usage:#define id_trivial_usage 35//usage:#define id_trivial_usage
37//usage: "[OPTIONS] [USER]" 36//usage: "[OPTIONS] [USER]"