Commit History

Author SHA1 Message Date
  Elliott Hughes e6aac70496 id: fix Android issues. 4 years ago
  Elliott Hughes e1ea687636 id.c: fix -nG. 4 years ago
  Elliott Hughes a0a51dee7c id: various fixes. 4 years ago
  Elliott Hughes 126c317d5c id: support numeric lookup. 4 years ago
  Rob Landley facfdfec12 Help text tweak. 5 years ago
  Elliott Hughes 141a075c0e Clean up some --help formatting. 5 years ago
  Elliott Hughes b93630f5a1 Fix groups(1) and id -G. 6 years ago
  Rob Landley 7918d9ff8c Usischev Yury pointed out that id shouldn't use exit() directly. 8 years ago
  Rob Landley 7a3f53ba44 Mark command-local functions static. 9 years ago
  Rob Landley 0cb5b70fa4 Switch id over to new infrastructure, switch id to use FORCE_FLAGS, and 9 years ago
  Paul Barker 1dd3704c5f To ensure that toybox can be installed alongside busybox without 9 years ago
  Rob Landley 3b915991f8 id.c #ifdefectomy. (ifdefs belong in headers, not in C code.) 9 years ago
  Elliott Hughes 7e2af1c748 This patch adds a TOYBOX_SELINUX configuration option to control both 9 years ago
  Rob Landley f3e56f4e4f Redo option parsing infrastructure so #define FORCE_FLAGS can unzero flag macros for a disabled command (needed when multiple commands share infrastructure with a common set of flags). 9 years ago
  Rob Landley 3d56716d36 Various bugfixes (mostly resource leaks) from Ashwini Sharma's static analysis, plus occasional tweak by me while reviewing them. 9 years ago
  Rob Landley 30de5eff59 Untangle id/groups/logname so single.sh can build each one standalone. 9 years ago
  Rob Landley dc48a0c7c5 Cosmetic tweak, slightly more conventional for loop. 10 years ago
  Isaac Dunham 80a438dd35 logname and whoami are the same as id -un, so merge them. 10 years ago
  Rob Landley 5ec4ab3113 Add xgetpwnam() to lib/xwrap.c. 10 years ago
  Rob Landley 9e44a5841f Move xgetpwuid() and xgetgrgid() into xwrap.c 10 years ago
  Ivo van Poorten 1c1db048ad Make groups handle multiple usernames on command line. 11 years ago
  Ivo van poorten 38aa170897 add groups implementation to id.c 11 years ago
  Rob Landley f5b50e96ef id: make "id -Gn root" print root's groups instead of current user (and without leading space), enforce max 1 argument and at most one of Ggu. 11 years ago
  Rob Landley 7aa651a6a4 Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. 11 years ago
  Rob Landley c0e56edaf2 New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate. 11 years ago
  Rob Landley f91b7c89bc Regularize command headers, update links to standards documents. 12 years ago
  Rob Landley 3a9241add9 Move commands into "posix", "lsb", and "other" menus/directories. 12 years ago