comparison toys/posix/id.c @ 1775:57f2a26fa92c draft toast

To ensure that toybox can be installed alongside busybox without confusing update-alternatives, the paths of the links installed by toybox should match those installed by busybox. This is accomplished by changing the flags of a few tools within toybox.
author Paul Barker <paul@paulbarker.me.uk>
date Sat, 04 Apr 2015 11:58:06 -0500
parents d4bc084916fd
children
comparison
equal deleted inserted replaced
1774:014a5e821603 1775:57f2a26fa92c
4 * 4 *
5 * by Tim Bird <tim.bird@am.sony.com> 5 * by Tim Bird <tim.bird@am.sony.com>
6 * 6 *
7 * See http://opengroup.org/onlinepubs/9699919799/utilities/id.html 7 * See http://opengroup.org/onlinepubs/9699919799/utilities/id.html
8 8
9 USE_ID(NEWTOY(id, ">1"USE_ID_SELINUX("Z")"nGgru[!"USE_ID_SELINUX("Z")"Ggu]", TOYFLAG_BIN)) 9 USE_ID(NEWTOY(id, ">1"USE_ID_SELINUX("Z")"nGgru[!"USE_ID_SELINUX("Z")"Ggu]", TOYFLAG_USR|TOYFLAG_BIN))
10 USE_GROUPS(NEWTOY(groups, NULL, TOYFLAG_USR|TOYFLAG_BIN)) 10 USE_GROUPS(NEWTOY(groups, NULL, TOYFLAG_USR|TOYFLAG_BIN))
11 USE_LOGNAME(NEWTOY(logname, ">0", TOYFLAG_BIN)) 11 USE_LOGNAME(NEWTOY(logname, ">0", TOYFLAG_USR|TOYFLAG_BIN))
12 USE_WHOAMI(OLDTOY(whoami, logname, TOYFLAG_BIN)) 12 USE_WHOAMI(OLDTOY(whoami, logname, TOYFLAG_USR|TOYFLAG_BIN))
13 13
14 config ID 14 config ID
15 bool "id" 15 bool "id"
16 default y 16 default y
17 help 17 help