aboutsummaryrefslogtreecommitdiff
path: root/loginutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Error reporting fix for sulogin, plus remove help entries for options we neverRob Landley2006-09-111-1/+1
| | | | | implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...)
* sulogin: minor cleanup.Denis Vlasenko2006-09-091-17/+15
|
* login: use some ideas from util-linux's login.Denis Vlasenko2006-09-081-25/+15
| | | | | | | | 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...).
* login: make it saner and smaller by ~0.5k.Denis Vlasenko2006-09-081-185/+131
|
* login: small fixes like \n removal, bb_error_msg'ification, etc.Denis Vlasenko2006-09-081-19/+17
|
* login: previous commit comment was wrong :)Denis Vlasenko2006-09-081-131/+133
| | | | | | That commit added login script support. Now _this commit_ is a style fix. Sorry....
* login: style fixesDenis Vlasenko2006-09-082-0/+30
|
* Shrinkage/cleanup from Tito.Rob Landley2006-09-081-87/+45
|
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-074-108/+76
|
* Add CONFIG_FEATURE_SYSLOG which controls whetherDenis Vlasenko2006-09-071-0/+5
| | | | | | | | 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.
* removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko2006-09-062-8/+8
| | | | | automatically by function itself.
* sulogin: fix bug: -tNNN didn't workDenis Vlasenko2006-09-031-4/+5
|
* Antti Seppala (with dots over the last two a's) wants our getty to initializeRob Landley2006-08-241-1/+2
| | | | | | | 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.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-036-66/+14
| | | | | | | | | | 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.)
* Remove apparent typo in "bool" line."Robert P. J. Day"2006-08-031-1/+1
|
* Bugfix from Tito to make sure /etc/group gets updated.Rob Landley2006-07-161-3/+3
|
* Convert setuid/setgid users to xsetuid/xsetgid.Rob Landley2006-07-161-4/+1
|
* Comment tweak from tito.Rob Landley2006-07-151-1/+1
|
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-125-13/+28
|
* Patch from Tito to remove pwd_to_spwd (which we don't actually need), withRob Landley2006-07-111-14/+7
| | | | some #ifdef removal from me.
* Patch from Tito to make syslog configurable and remove #ifdefs. FurtherRob Landley2006-07-102-111/+50
| | | | cleanups by me.
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-1/+1
|
* Missed one. Based on suggestions from Erik Hovland.Rob Landley2006-06-251-4/+4
|
* Undo all of the ugliness and some of the bloat from 15412.Rob Landley2006-06-181-1/+1
|
* - do away with the fwd-decls of functions. Should not contain any code changesBernhard Reutner-Fischer2006-06-161-267/+260
| | | | AFAICT.
* - minor size tweakBernhard Reutner-Fischer2006-06-141-8/+7
| | | | | | text data bss dec hex filename 613 0 0 613 265 loginutils/su.o.orig 605 0 0 605 25d loginutils/su.o
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-273-3/+0
|
* - introduce and use bb_path_wtmp_file for portability (saves 11 Bytes).Bernhard Reutner-Fischer2006-05-262-7/+7
| | | | - fix last.c to also look at the double-underscore UT_ defines.
* - use portability wrapper define bb_setpgrp.Bernhard Reutner-Fischer2006-05-261-1/+1
|
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-191-22/+1
| | | | - use shorter boilerplate while at it
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley2006-05-071-1/+1
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* - passwd doesnt use salt with md5 passwords; bug #604 thanks tavisoNed Ludd2006-04-211-3/+11
|
* use strchr() not index()Mike Frysinger2006-04-161-1/+1
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley2006-04-131-3/+3
| | | | to do it in Config.in.
* Patch from Tito to unify deluser and delgroup, and generally shrink code.Rob Landley2006-04-104-213/+72
|
* Rewrite/shrink by tito.Rob Landley2006-04-042-252/+95
|
* From Jan Kiszka: This patch fixes the security labelling of the login terminalRob Landley2006-03-271-13/+9
| | | | | | 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-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of ↵Mike Frysinger2006-03-221-1/+1
| | | | sys/signal.h.
* - revert back to r14406Bernhard Reutner-Fischer2006-03-131-7/+15
|
* - backout using features which are not available with the previous stableBernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-064-4/+4
| | | | definitions. (That should only be on prototypes.)
* - remove unused lists *-mBernhard Reutner-Fischer2006-03-021-3/+0
|
* - use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Bernhard Reutner-Fischer2006-03-011-14/+5
| | | | - use less resources for the buildsystem itself
* Don't build directory libraries unless we're building an applet that needs it.Rob Landley2006-02-211-0/+2
| | | | Cherry-picked from Devin Bayer's big MacOS X patch.
* make the build system puuuuuuuuuuurtyMike Frysinger2006-02-021-3/+2
|
* - bzero -> memsetBernhard Reutner-Fischer2006-01-312-25/+25
| | | | | | | | | | | | | | | 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
* more destroy potential overflow for x86_64."Vladimir N. Oleynik"2006-01-311-1/+3
|
* destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED"Vladimir N. Oleynik"2006-01-311-3/+6
|