Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | use the new variant log macros instead of prepending __func__ and | 2020-10-18 | 1 | -4/+4 | |
| | | | | appending ssh_err(r) manually; ok markus@ | ||||
* | When system calls indicate an error they return -1, not some arbitrary | 2019-06-28 | 1 | -2/+2 | |
| | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||||
* | sshd: switch loginmsg to sshbuf API; ok djm@ | 2018-07-09 | 1 | -7/+10 | |
| | |||||
* | Use pread/pwrite instead separate lseek+read/write for lastlog. | 2015-12-26 | 1 | -3/+3 | |
| | | | | | | Cast to off_t before multiplication to avoid truncation on ILP32 ok kettenis@ mmcc@ | ||||
* | Reduce use of <sys/param.h> and transition to <limits.h> throughout. | 2015-01-20 | 1 | -3/+3 | |
| | | | | ok djm markus | ||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -2/+2 | |
| | | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | ||||
* | Add support for Unix domain socket forwarding. A remote TCP port | 2014-07-15 | 1 | -1/+2 | |
| | | | | | | | | may be forwarded to a local Unix domain socket and vice versa or both ends may be a Unix domain socket. This is a reimplementation of the streamlocal patches by William Ahern from: http://www.25thandclement.com/~william/projects/streamlocal.html OK djm@ markus@ | ||||
* | replace most bzero with explicit_bzero, except a few that cna be memset | 2014-01-31 | 1 | -2/+2 | |
| | | | | ok djm dtucker | ||||
* | fd leak on error paths; from zinovik@ | 2011-01-11 | 1 | -1/+3 | |
| | |||||
* | use strcspn to properly overwrite '\n' in fgets returned buffer | 2007-09-11 | 1 | -3/+2 | |
| | | | | ok pyr@, ray@, millert@, moritz@, chl@ | ||||
* | almost entirely get rid of the culture of ".h files that include .h files" | 2006-08-03 | 1 | -3/+3 | |
| | | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step | ||||
* | move #include <stdio.h> out of includes.h | 2006-08-01 | 1 | -1/+2 | |
| | |||||
* | move #include <sys/param.h> out of includes.h | 2006-07-26 | 1 | -1/+2 | |
| | |||||
* | move #include <string.h> out of includes.h | 2006-07-22 | 1 | -1/+2 | |
| | |||||
* | move #include <time.h> out of includes.h | 2006-07-22 | 1 | -1/+2 | |
| | |||||
* | move #include <unistd.h> out of includes.h | 2006-07-17 | 1 | -1/+4 | |
| | |||||
* | move #include <errno.h> out of includes.h; ok markus@ | 2006-07-11 | 1 | -1/+2 | |
| | |||||
* | move #include <fcntl.h> out of includes.h | 2006-07-09 | 1 | -1/+3 | |
| | |||||
* | nicer size_t and time_t types | 2006-03-25 | 1 | -4/+4 | |
| | |||||
* | Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that | 2006-03-25 | 1 | -0/+1 | |
| | | | | Theo nuked - our scripts to sync -portable need them in the files | ||||
* | annoying spacing fixes getting in the way of real diffs | 2006-03-20 | 1 | -1/+1 | |
| | |||||
* | RCSID() can die | 2006-03-19 | 1 | -1/+0 | |
| | |||||
* | typo in error message, spotted by moritz AT jodeit.org | 2004-08-12 | 1 | -2/+2 | |
| | |||||
* | make store_lastlog_message() static to appease -Wall; ok markus | 2004-08-11 | 1 | -2/+2 | |
| | |||||
* | check that lseek went were we told it to; ok markus@ | 2004-08-11 | 1 | -2/+13 | |
| | |||||
* | Move "Last logged in at.." message generation to the monitor, right | 2004-07-17 | 1 | -1/+39 | |
| | | | | | | before recording the new login. Fixes missing lastlog message when /var/log/lastlog is not world-readable and incorrect datestamp when multiple sessions are used (bz #463); much assistance & ok markus@ | ||||
* | Use '\0' not 0 for string; ok djm@, deraadt@ | 2004-07-03 | 1 | -2/+2 | |
| | |||||
* | make ssh -Wshadow clean, no functional changes | 2004-06-21 | 1 | -6/+6 | |
| | | | | markus@ ok | ||||
* | typos; dtucker at zip.com.au | 2003-06-12 | 1 | -3/+3 | |
| | |||||
* | rename log() into logit() to avoid name conflict. markus ok, from netbsd | 2003-04-08 | 1 | -2/+2 | |
| | |||||
* | pass addrlen with sockaddr *; from Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-08-29 | 1 | -2/+2 | |
| | | | | NOTE: there are also p-specific parts to this patch. ok markus@ | ||||
* | various KNF and %d for unsigned | 2002-06-23 | 1 | -6/+3 | |
| | |||||
* | basic KNF done while i was looking for something else | 2001-12-19 | 1 | -2/+2 | |
| | |||||
* | unused; remove dup comments. ok markus@ | 2001-03-24 | 1 | -11/+1 | |
| | |||||
* | Rename pty.[ch] -> sshpty.[ch] and login.[ch] to sshlogin.[ch] to avoid | 2001-03-04 | 1 | -0/+146 | |
header conflicts in portable; ok markus@ |