aboutsummaryrefslogtreecommitdiff
path: root/loginutils
AgeCommit message (Collapse)Author
2006-10-14sulogin: add support for $SUSHELL & $sushellDenis Vlasenko
2006-10-14add open_read_close() and similar stuffDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-26several fixes from openWRT projectDenis Vlasenko
2006-09-26login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)Denis Vlasenko
2006-09-24vlock: make message shorterDenis Vlasenko
2006-09-23correct_password: undo whitespace damage.Denis Vlasenko
vlock + correct_password: fix incorrect line breaks in messages.
2006-09-23passwd: getopt_ulflags'isationDenis Vlasenko
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-09-19getty: oops... removing duplicate #include <syslog.h>Denis Vlasenko
2006-09-19getty: #include <syslog.h>Denis Vlasenko
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-17login: apply fixes + getopt_ulflag'ification by BernhardDenis Vlasenko
2006-09-14login: eliminate forward decls and #ifdefsDenis Vlasenko
2006-09-13- fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer
boilerplate. No object code changes.
2006-09-13- r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵Bernhard Reutner-Fischer
more cleanup (see FIXME in the patch).
2006-09-12Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley
2006-09-11Error reporting fix for sulogin, plus remove help entries for options we neverRob Landley
implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...)
2006-09-09sulogin: minor cleanup.Denis Vlasenko
2006-09-08login: use some ideas from util-linux's login.Denis Vlasenko
O_NONBLOCKing output on login timeout. fchmod instead of chmod (latter is racy). is_my_tty() is not needed anymore after race is fixed (is_my_tty() was racy too anyway...).
2006-09-08login: make it saner and smaller by ~0.5k.Denis Vlasenko
2006-09-08login: small fixes like \n removal, bb_error_msg'ification, etc.Denis Vlasenko
2006-09-08login: previous commit comment was wrong :)Denis Vlasenko
That commit added login script support. Now _this commit_ is a style fix. Sorry....
2006-09-08login: style fixesDenis Vlasenko
2006-09-08Shrinkage/cleanup from Tito.Rob Landley
2006-09-07getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko
2006-09-07Add CONFIG_FEATURE_SYSLOG which controls whetherDenis Vlasenko
bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build.
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
2006-09-03sulogin: fix bug: -tNNN didn't workDenis Vlasenko
2006-08-24Antti Seppala (with dots over the last two a's) wants our getty to initializeRob Landley
the terminal the way mingetty does instead of the way agetty does. It's a bit ugly for somebody else to be writing to a console sitting at a login: prompt, but it's uglier when newline doesn't work as expected if they do.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-08-03Remove apparent typo in "bool" line."Robert P. J. Day"
2006-07-16Bugfix from Tito to make sure /etc/group gets updated.Rob Landley
2006-07-16Convert setuid/setgid users to xsetuid/xsetgid.Rob Landley
2006-07-15Comment tweak from tito.Rob Landley
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-07-11Patch from Tito to remove pwd_to_spwd (which we don't actually need), withRob Landley
some #ifdef removal from me.
2006-07-10Patch from Tito to make syslog configurable and remove #ifdefs. FurtherRob Landley
cleanups by me.
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-06-25Missed one. Based on suggestions from Erik Hovland.Rob Landley
2006-06-18Undo all of the ugliness and some of the bloat from 15412.Rob Landley
2006-06-16- do away with the fwd-decls of functions. Should not contain any code changesBernhard Reutner-Fischer
AFAICT.
2006-06-14- minor size tweakBernhard Reutner-Fischer
text data bss dec hex filename 613 0 0 613 265 loginutils/su.o.orig 605 0 0 605 25d loginutils/su.o
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26- introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer
- fix last.c to also look at the double-underscore UT_ defines.
2006-05-26- use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it