Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-11-30 | sscanf() length dependencies are clearer now; can also shrink proto | Kevin Steves | |
and data if desired, but i have not done that. ok markus@ | |||
2001-11-30 | harrison dies, zappa died, jcs debuted | Michael Shalayeff | |
2001-11-29 | fix protocol error: send 'failed' message instead of a 2nd challenge | Markus Friedl | |
(happens if the same key is in authorized_keys twice). reported Ralf_Meister@genua.de; ok djm@ | |||
2001-11-29 | sshd 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-29 | remove dead function prototype; ok markus@ | Kevin Steves | |
2001-11-29 | make sure that va_start() has matching va_end() | Mike Pechkin | |
millert@ help&ok | |||
2001-11-29 | typo | Michael Shalayeff | |
2001-11-29 | Restore 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-28 | Some minor format beautification from FreeBSD and add the AUTHORS | Todd C. Miller | |
section back in. | |||
2001-11-28 | from FreeBSD: | Todd C. Miller | |
Some KNF Call setlocale() Remove some silliness for non-BSD systems | |||
2001-11-28 | remove unused var | Eric Jackson | |
2001-11-28 | Catch SIGINT in sendmessage() so user can interupt a long message | Todd C. Miller | |
that is being output. Make statusput() return an int and return -1 if ferror() | |||
2001-11-28 | Fix typo; SIGTTIN where SIGINT meant and rename a variable for clarity. | Todd C. Miller | |
2001-11-27 | Fix 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-26 | fix AF_INET6 dgram socket printing (missing curly brace) | Jun-ichiro itojun Hagino | |
2001-11-25 | Well, since I can't do my mondo openssl commit | Bob Beck | |
2001-11-25 | snprintf makes me happy | Theo de Raadt | |
2001-11-24 | handle NL terminated pid files correctly, OK deraadt@ | Marco S Hyman | |
2001-11-24 | argh! i messed something up! | Theo de Raadt | |
2001-11-24 | half finished KNF | Theo de Raadt | |
2001-11-24 | Fix a couple of printf(). | Miod Vallat | |
2001-11-23 | back out changes that break kernel compiles. good testing jobmk install! | Theo de Raadt | |
2001-11-23 | fix signal races. use sysctl() instead of kvm where possible, and then KNF | Theo de Raadt | |
the hell out of it; checked by miod | |||
2001-11-23 | oops. Thx mpech@ | Marc Espie | |
2001-11-23 | greater care at reading pidfiles; millert ok | Theo de Raadt | |
2001-11-23 | Revert change to Popen() to only wrap command in a shell if it | Todd 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-22 | Remove 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-22 | Explicitly mark nodes whose commands have been filled with | Marc 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-22 | Bad .IMPSRC. | Marc Espie | |
2001-11-22 | volatile sig_atomic_t | Markus Friedl | |
2001-11-22 | o) fix return value; | Mike Pechkin | |
o) initial KNF; millert@ help & ok; | |||
2001-11-22 | don't use "\n" in fatal() | Kevin Steves | |
2001-11-21 | Fix the fix. Thanks obj/ | Marc Espie | |
2001-11-21 | Not an implicit source. If it's ever used except to check the dependency, | Marc Espie | |
you would get bitten. | |||
2001-11-21 | o kill strcpy() | Todd C. Miller | |
o check return values of malloc and friends o use strdup() when sensible | |||
2001-11-21 | more on passphrase construction; ok markus@ | Kevin Steves | |
2001-11-21 | fix arg reversal that was introduced during ANSIfication | Todd C. Miller | |
2001-11-21 | mem leak | Markus Friedl | |
2001-11-21 | Fix extern decl of version missed in previous commit. | Todd C. Miller | |
2001-11-21 | o ANSIfy | Todd C. Miller | |
o Style nits o Use const to silent stupid -Wall warnings o strnc{py,at} -> strlc{py,at} o Use strpbrk() instead of homegrown anyof() o Use NULL instead of #defines with 0 cast to a pointer This still could use a proper audit | |||
2001-11-20 | In private version of popen(), only wrap a command to be run in a | Todd C. Miller | |
shell if it contains meta chars. Sneaky hack to work around a ksh bug. | |||
2001-11-20 | Major signal overhaul. We no longer longjmp all over the place. | Todd C. Miller | |
Instead, routines responsible to gathering user input (or in some cases outputting data) catch the signals and set flags as needed. Because of this some handlers are install without the SA_RESTART flag so syscalls are not restarted and we can check the flag. All signal handlers are now safe. This should make the flow of control a bit more grokable but the code is still ugly. | |||
2001-11-19 | more than typo | Theo de Raadt | |
2001-11-19 | kill more registers | Mike Pechkin | |
millert@ ok | |||
2001-11-19 | clarify/state that private keys are not exposed to clients using the agent; | Kevin Steves | |
ok markus@ | |||
2001-11-19 | fd leak on HUP; ok stevesk@ | Markus Friedl | |
2001-11-19 | guess what! more signal race fixes... | Theo de Raadt | |
2001-11-18 | slightly expand the Csw/Trp/Sys/Int/Sof spacing | Theo de Raadt | |
2001-11-18 | After a simplistic rewrite, signal flags were not being noticed until a | Theo de Raadt | |
succesfull read operation. To avoid this, we must use SA_RESTART, and rewrite most of the guts to handle interrupted read, write, etc, even being careful to check what library routines are called.... input from millert, markus, and espie | |||
2001-11-18 | spelling | Theo de Raadt | |