History log of /external/toybox/toys/pending/groupadd.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e5354ca12a232b3f97726214254a868771cb70d1 11-Sep-2015 Rob Landley <rob@landley.net> Replace toys.exithelp with help_exit() in lib.
/external/toybox/toys/pending/groupadd.c
f3e56f4e4ff773de95fa2c9daf979734d826fc33 01-Jan-2015 Rob Landley <rob@landley.net> 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).

This means the flag space is no longer packed, but leaves gaps where the zeroes
go. (Actual flag bit positions are the same for all configs.) Since the
option parsing needs to know where the holes are, the OPTSTR values are
now generated as part of flags.h with ascii 1 values for the disabled values.
(So generated/oldflags.h went away.)

This also means that the option string argument for OLDTOY() went away, it now
uses the same arguments as the NEWTOY() it references.
/external/toybox/toys/pending/groupadd.c
e0d8009d76b3a2451cb6c6ed2b241c7eff06ed60 27-Sep-2014 Rob Landley <rob@landley.net> The only illegal characters in a username are ":" (field separator), "\n" (line separator), and "/" (filename separator).

Restricting usernames to the legacy posix character allowed set (for filenames,
so the $HOME directory is creatable on VFAT and similar) means you can't have
UTF-8 usernames. Linux allows any character but / and NUL in filenames.
Since root is creating these entries, we assume root knows what it's doing.
/external/toybox/toys/pending/groupadd.c
a8bee46cfebcf1ae9c3749b820c483054be81295 19-Aug-2014 Rob Landley <rob@landley.net> Cleanups on useradd/groupadd/groupdel, and put TOYBOX_UID_SYS and TOYBOX_UID_USR in the top level Config.
/external/toybox/toys/pending/groupadd.c
59d85e2bb065a3bdc27868acb7a65f89d872c7fa 16-Jan-2014 Rob Landley <rob@landley.net> Rename xmsprintf() to just xmprintf().

Partly because there's no supplied target string ala sprintf, and partly
because I can never remember what order the m and s go in.
/external/toybox/toys/pending/groupadd.c
5ec4ab3113dcc813b6040d7ded38e297df99dc0e 29-Nov-2013 Rob Landley <rob@landley.net> Add xgetpwnam() to lib/xwrap.c.
/external/toybox/toys/pending/groupadd.c
18ec03543c3731e1ea25182ef72c49ac5ec2d1c7 17-Oct-2013 Rob Landley <rob@landley.net> useradd, groupadd, and mkpasswd submitted by Ashwini Sharma.
/external/toybox/toys/pending/groupadd.c