aboutsummaryrefslogtreecommitdiff
path: root/loginutils
AgeCommit message (Collapse)Author
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
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-04-21- passwd doesnt use salt with md5 passwords; bug #604 thanks tavisoNed Ludd
2006-04-16use strchr() not index()Mike Frysinger
2006-04-13Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley
to do it in Config.in.
2006-04-10Patch from Tito to unify deluser and delgroup, and generally shrink code.Rob Landley
2006-04-04Rewrite/shrink by tito.Rob Landley
2006-03-27From Jan Kiszka: This patch fixes the security labelling of the login terminalRob Landley
and process... There still remains some stuff to clean up (the whole set_current_security_context() appears unnecessary complex to me), but this is now at least working.
2006-03-222006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of ↵Mike Frysinger
sys/signal.h.
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-02- remove unused lists *-mBernhard Reutner-Fischer
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-21Don't build directory libraries unless we're building an applet that needs it.Rob Landley
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-01-31- bzero -> memsetBernhard Reutner-Fischer
text data bss dec hex filename 1652855 14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3 1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3 1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4 1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4 1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0 1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0 1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD 1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD 1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD 1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD
2006-01-31more destroy potential overflow for x86_64."Vladimir N. Oleynik"
2006-01-31destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED"Vladimir N. Oleynik"
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen