summaryrefslogtreecommitdiff
path: root/usr.bin
AgeCommit message (Collapse)Author
2001-12-05KNF, and remove part of the TLI garbageTheo de Raadt
2001-12-05make it compile with more strict prototype checkingJun-ichiro itojun Hagino
2001-12-05deal with LP64 printf issue with sig_atomic_t. from thorpejJun-ichiro itojun Hagino
2001-12-05Get maxslp with sysctl. Not the constant.Artur Grabowski
2001-12-04duplicate prohibition entry; from Dan Weeks <danimal@danimal.org>Michael Shalayeff
2001-12-04some grammer in previous; fromBrian Poole <raj@cerias.purdue.edu>Michael Shalayeff
2001-12-02zap };Theo de Raadt
2001-12-02remove some };Theo de Raadt
2001-12-02Clarify man page and usage string to say 'pathname' and not 'string'Todd C. Miller
or 'dir'. Closes PR 2216; s AT msmith.net
2001-12-02Put back the interrupt fixed code, since it's not the issue.Marc Espie
2001-12-01don't pass user defined variables to /usr/bin/loginMarkus Friedl
2001-12-01KNFTheo de Raadt
2001-11-30sscanf() length dependencies are clearer now; can also shrink protoKevin Steves
and data if desired, but i have not done that. ok markus@
2001-11-30harrison dies, zappa died, jcs debutedMichael Shalayeff
2001-11-29fix protocol error: send 'failed' message instead of a 2nd challengeMarkus Friedl
(happens if the same key is in authorized_keys twice). reported Ralf_Meister@genua.de; ok djm@
2001-11-29sshd X11 fake server will now listen on localhost by default:Kevin Steves
$ echo $DISPLAY localhost:12.0 $ netstat -an|grep 6012 tcp 0 0 127.0.0.1.6012 *.* LISTEN tcp6 0 0 ::1.6012 *.* LISTEN sshd_config gatewayports=yes can be used to revert back to the old behavior. will control this with another option later. ok markus@
2001-11-29remove dead function prototype; ok markus@Kevin Steves
2001-11-29make sure that va_start() has matching va_end()Mike Pechkin
millert@ help&ok
2001-11-29typoMichael Shalayeff
2001-11-29Restore historic behavior:Todd C. Miller
o don't fmt lines that start with '.' to avoid hosing *roff o add -n flag to disable above behavior (undocumented feature in old fmt) Patch from Ruslan Ermilov (FreeBSD)
2001-11-28Some minor format beautification from FreeBSD and add the AUTHORSTodd C. Miller
section back in.
2001-11-28from FreeBSD:Todd C. Miller
Some KNF Call setlocale() Remove some silliness for non-BSD systems
2001-11-28remove unused varEric Jackson
2001-11-28Catch SIGINT in sendmessage() so user can interupt a long messageTodd C. Miller
that is being output. Make statusput() return an int and return -1 if ferror()
2001-11-28Fix typo; SIGTTIN where SIGINT meant and rename a variable for clarity.Todd C. Miller
2001-11-27Fix uninitialized variable introduced in rev 1.40; found by lebel@Todd C. Miller
If fgets() fails, set err to a reasonable value. Otherwise we could send the signal to pid 0 which would be bad...
2001-11-26fix AF_INET6 dgram socket printing (missing curly brace)Jun-ichiro itojun Hagino
2001-11-25Well, since I can't do my mondo openssl commitBob Beck
2001-11-25snprintf makes me happyTheo de Raadt
2001-11-24handle NL terminated pid files correctly, OK deraadt@Marco S Hyman
2001-11-24argh! i messed something up!Theo de Raadt
2001-11-24half finished KNFTheo de Raadt
2001-11-24Fix a couple of printf().Miod Vallat
2001-11-23back out changes that break kernel compiles. good testing jobmk install!Theo de Raadt
2001-11-23fix signal races. use sysctl() instead of kvm where possible, and then KNFTheo de Raadt
the hell out of it; checked by miod
2001-11-23oops. Thx mpech@Marc Espie
2001-11-23greater care at reading pidfiles; millert okTheo de Raadt
2001-11-23Revert change to Popen() to only wrap command in a shell if itTodd C. Miller
contains meta characters since people may expect their aliases to work. Instead, just remove the "kill(lock_pid, SIGTERM);" since lockspool now does the right thing when the pipe is closed.
2001-11-22Remove broken interrupt handler.Marc Espie
Nothing of what it did is allowed in an interrupt handler. Rather, just mark that an interrupt occurred, and check for interrupts in the wait of RunCommand (that's the correct point to check for interrupts anyways). Okay miod@, millert@ approves (as he's too tired to look at the code)
2001-11-22Explicitly mark nodes whose commands have been filled withMarc Espie
implicit (suffix) rules. Then, only expand the IMPSRC/< variable if the node has been marked. This matches what Single Unix 2 and common sense say: implicit rules shouldn't count when an explicit rule has been found (an explicit rule being a full-scale dependency, with some associated commands) Note that Single Unix leaves the `PREFIX' question open, so we leave the PREFIX code as it is. This fixes regression case mk14, which now fails as it should. This is just a bug-fix. Some more correct (and faster) code should probably be substituted. Namely, right now, the suffix code is too greedy, whereas it should test for explicit rules earlier, and not even bother instantiating implicit rules from templates when they duplicate actual existing rules. ok millert@
2001-11-22Bad .IMPSRC.Marc Espie
2001-11-22volatile sig_atomic_tMarkus Friedl
2001-11-22o) fix return value;Mike Pechkin
o) initial KNF; millert@ help & ok;
2001-11-22don't use "\n" in fatal()Kevin Steves
2001-11-21Fix the fix. Thanks obj/Marc Espie
2001-11-21Not an implicit source. If it's ever used except to check the dependency,Marc Espie
you would get bitten.
2001-11-21o kill strcpy()Todd C. Miller
o check return values of malloc and friends o use strdup() when sensible
2001-11-21more on passphrase construction; ok markus@Kevin Steves
2001-11-21fix arg reversal that was introduced during ANSIficationTodd C. Miller
2001-11-21mem leakMarkus Friedl