Commit History

Author SHA1 Message Date
  William Djupström d1598daf20 login: clear environment when -p is absent 5 years ago
  Rob Landley e191597e6b Add reset_env() and make su and login use it. Do long-delayed login cleanup. 5 years ago
  Rob Landley f8f6c03508 William Djupström pointed out we need to chown() the tty. 5 years ago
  Rob Landley 7d6af77804 Make defconfig build for nommu. 8 years ago
  Isaac Dunham 9bfd2cf0e8 login: execl() requires a path, not a file name 9 years ago
  Rob Landley 3aa1d18b72 Long-overdue cleanup on login. 9 years ago
  Rob Landley f033f8607f Move the magic list of commands needing cleanup from toys/pending/README 9 years ago
  Rob Landley c776bde13b Use xsignal() instead of signal(). 9 years ago
  Rob Landley 82effc97f9 Switch a lot of strncpy() calls to xstrncpy(). 9 years ago
  Isaac Dunham 46ddf0e34b probe for getspnam(), forkpty(), utmpx, replace sethostname() 9 years ago
  Rob Landley 2109b158f4 Cleanup pass on login 10 years ago
  Rob Landley afba5b8efd Fix some issues raised (albeit indirectly) by Isaac Dunham. 10 years ago
  Jonathan Clairembault a03f3e120c login: Avoid gcc to drop exit condition because of "always false condition". 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