aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2012-08-18Fix bug spotted by Avery Pennarun: getusername() and getgroupname() can ↵Rob Landley
reuse the utoa buffer when neither is recognized, meaning uid would be shown again instead of gid.
2012-08-16Bugfix from Avery Pennarun: getpriority() uses a different range than ↵Rob Landley
nice(), so follow thenice man page and zero errno then check it if nice returns -1.
2012-08-15Adding usleepElie De Brauwer
2012-08-05Rewrite taskset to use syscall directly without macros/prototypes glibc ↵Rob Landley
refuses to make available without yet more wacky inappropriate #defines. (Linux is not the hurd.)
2012-07-31Refactoring, no code change.Rob Landley
2012-07-30Add dos2unix/unix2dos, remove old wrapper versions.Rob Landley
2012-07-24Minor cleanups, mostly whitespace.Rob Landley
2012-07-21Make chmod +w respect umask, implement +s and +t, fix ls to show ↵Rob Landley
suid/sgid/stid without x bit.
2012-07-21Use "_password" instead of "_passwd" for names in lib/password.c.Rob Landley
2012-07-21Add date -r, make -u work even when /etc/localtime set, and lots of ↵Rob Landley
cleanup/refactoring.
2012-07-20taskset.c now also support executing new commands with a given cpu affinity maskElie De Brauwer
2012-07-20toys/login.c: make use of the read_passwd function offered by the passwd ↵Elie De Brauwer
library.
2012-07-18Trivial cleanups.Rob Landley
2012-07-18Cleanup of w command.Rob Landley
2012-07-18Add w command by Gaurang Shastri.Rob Landley
2012-07-17Largely cosmetic code cleanups.Rob Landley
2012-07-15Adding initial implementation of tasksetElie De Brauwer
2012-07-17Add passwd by Kyungwan Han.Rob Landley
2012-07-15Genericize llist code a bit: rename llist_free() to llist_traverse(), and no ↵Rob Landley
longer accept NULL as a synonym for free.
2012-07-14Fill out od -c and -f.Rob Landley
2012-07-11Complete rewrite of od, mostly working. (Need to finish -c and -f.)Rob Landley
2012-07-09Add modinfo by Andre Renaud.Rob Landley
2012-07-05- Do not abort testing after running the sort testsElie De Brauwer
- Add tail testcases for input not ending on a newline - Fix condition where input coming from stdin does not have a trailing newline
2012-07-05Put cmp.c EOF notice on stderrElie De Brauwer
2012-07-05Add LSB link to the template, for reference.Rob Landley
2012-06-26Minor cleanups and refactoring. Make FLAG macros closer to what should ↵Rob Landley
eventually be generated for us by the build infrastructure.
2012-06-26Longer usage line and combine ascii[] into a single string.Rob Landley
2012-06-26Some refactoring, shouldn't affect the generated code.Rob Landley
2012-06-26First drop of od, from Andre Renaud.Rob Landley
2012-06-24Unify chown and chgrp, add support for -hHLP flags.0.3.1Rob Landley
2012-06-18Add date command by Andre Renaud.Rob Landley
2012-06-16Add dirtree_parentfd()Rob Landley
2012-06-14Cosmetic tweak to command preamble.Rob Landley
2012-06-13Fix an embarassing bug causing ls -l to segfault on 32 bit targets.Rob Landley
2012-06-10The linux from scratch build wants -v on chmod.Rob Landley
2012-06-09Implement DIRTREE_SYMFOLLOW and ls -cSHL.Rob Landley
2012-06-09Add ls -kqsunort, and fix -F @symlink.Rob Landley
2012-06-03Update chmod to work with new dirtree, and fix bugs in string_to_mode().Rob Landley
2012-06-01Changed my mind about the design again, now callback is dirtree_opennode() ↵Rob Landley
and recursion choice is how caller interprets flags.
2012-06-01Factor out dirtree_comeagain() callback, setting up depth-first search with ↵Rob Landley
open filehandle in node->extra.
2012-06-01Convert another realpath use to xrealpath().Rob Landley
2012-06-01Convert mktemp to use xrealpath, and general clean up while there.Rob Landley
2012-05-31Implement -C and -x for ls.Rob Landley
2012-05-31cp doesn't really need the optstring + logic. Still needs to be updated for ↵Rob Landley
new dirtree, though.
2012-05-27Update chgrp so -R works, tweaking DIRTREE_COMEAGAIN design along the way.Rob Landley
2012-05-20dirtree logic cleanup: switch DIRTREE_NORECURSE and DIRTREE_NOSAVE to ↵Rob Landley
DIRTREE_RECURSE and DIRTREE_SAVE.
2012-05-09Remove strndupa() gnu-ism at Georgi's suggestion, and adjust mdev to compile ↵Rob Landley
with new dirtree. (No idea if it works, this command was never finished and needs a lot more work.)
2012-05-01Addition of mktempElie De Brauwer
2012-04-26Simplify/unify listfiles recursion: populate directory node (and detect top ↵Rob Landley
of tree) at start of function rather than end (and redundantly in main). Move title printing down next to total printing.
2012-04-24Adding initial version of login.cElie De Brauwer