#
82975832 |
| 24-Jan-2019 |
dtucker <dtucker@openbsd.org> |
Check for both EAGAIN and EWOULDBLOCK. This is a no-op in OpenBSD (they are the same value) but makes things easier in -portable where they may be distinct values. "sigh ok" deraadt@
|
#
88901861 |
| 23-Jan-2019 |
dtucker <dtucker@openbsd.org> |
Sanitize scp filenames via snmprintf. To do this we move the progressmeter formatting outside of signal handler context and have the atomicio callback called for EINTR too. bz#2434 with contributio
Sanitize scp filenames via snmprintf. To do this we move the progressmeter formatting outside of signal handler context and have the atomicio callback called for EINTR too. bz#2434 with contributions from djm and jjelen at redhat.com, ok djm@
show more ...
|
#
df16cf54 |
| 27-Jul-2016 |
djm <djm@openbsd.org> |
better bounds check on iovcnt (we only ever use fixed, positive values)
|
#
b9fc9a72 |
| 16-Jan-2015 |
deraadt <deraadt@openbsd.org> |
Replace <sys/param.h> with <limits.h> and other less dirty headers where possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_N
Replace <sys/param.h> with <limits.h> and other less dirty headers where 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)
show more ...
|
#
492be409 |
| 22-Sep-2010 |
djm <djm@openbsd.org> |
add an option per-read/write callback to atomicio
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism
add a ba
add an option per-read/write callback to atomicio
factor out bandwidth limiting code from scp(1) into a generic bandwidth limiter that can be attached using the atomicio callback mechanism
add a bandwidth limit option to sftp(1) using the above
"very nice" markus@
show more ...
|
#
99289681 |
| 25-Jun-2007 |
dtucker <dtucker@openbsd.org> |
Include <poll.h> like the man page says rather than <sys/poll.h>. ok djm@
|
#
9e8296de |
| 19-Jun-2007 |
djm <djm@openbsd.org> |
if the fd passed to atomicio/atomiciov() is non blocking, then poll() to avoid a spin if it is not yet ready for reading/writing; ok dtucker@
|
#
bd9502d5 |
| 03-Aug-2006 |
deraadt <deraadt@openbsd.org> |
almost entirely get rid of the culture of ".h files that include .h files" ok djm, sort of ok stevesk makes the pain stop in one easy step
|
#
2f43a2f8 |
| 26-Jul-2006 |
stevesk <stevesk@openbsd.org> |
move #include <sys/param.h> out of includes.h
|
#
0deb6794 |
| 22-Jul-2006 |
stevesk <stevesk@openbsd.org> |
move #include <string.h> out of includes.h
|
#
ea82e68e |
| 11-Jul-2006 |
stevesk <stevesk@openbsd.org> |
move #include <errno.h> out of includes.h; ok markus@
|
#
de63196b |
| 16-Apr-2006 |
djm <djm@openbsd.org> |
reorder sanity test so that it cannot dereference past the end of the iov array; well spotted canacar@!
|
#
0588ed32 |
| 16-Apr-2006 |
djm <djm@openbsd.org> |
introduce atomiciov() function that wraps readv/writev to retry interrupted transfers like atomicio() does for read/write; feedback deraadt@ dtucker@ stevesk@ ok deraadt@
|
#
669a1be6 |
| 01-Apr-2006 |
djm <djm@openbsd.org> |
ANSIfy; requested deraadt@
|
#
7ef31a41 |
| 25-Mar-2006 |
djm <djm@openbsd.org> |
Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that Theo nuked - our scripts to sync -portable need them in the files
|
#
4bfeb04e |
| 19-Mar-2006 |
deraadt <deraadt@openbsd.org> |
RCSID() can die
|
#
f24b2c8a |
| 11-Feb-2006 |
otto <otto@openbsd.org> |
type correctness; from Ray Lai in PR 5011; ok millert@
|
#
c8b6d577 |
| 24-May-2005 |
avsm <avsm@openbsd.org> |
Switch atomicio to use a simpler interface; it now returns a size_t (containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now b
Switch atomicio to use a simpler interface; it now returns a size_t (containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now becomes:
if (atomicio(read, ..., len) != len) err(1,"read");
ok deraadt@, cloder@, djm@
show more ...
|
#
f95bc09c |
| 31-Jul-2003 |
avsm <avsm@openbsd.org> |
correct comment: atomicio takes vwrite, not write; deraadt@ ok
|
#
4a391f71 |
| 28-Jun-2003 |
deraadt <deraadt@openbsd.org> |
deal with typing of write vs read in atomicio
|
#
b0a33ff9 |
| 08-May-2001 |
markus <markus@openbsd.org> |
no need for xmalloc.h, thanks to espie@
|
#
24330a15 |
| 02-Mar-2001 |
deraadt <deraadt@openbsd.org> |
make copyright lines the same format
|
#
94dd3409 |
| 21-Jan-2001 |
markus <markus@openbsd.org> |
split ssh.h and try to cleanup the #include mess. remove unnecessary #includes. rename util.[ch] -> misc.[ch]
|
#
bd289d47 |
| 18-Oct-2000 |
markus <markus@openbsd.org> |
undo
|
#
f041845f |
| 17-Oct-2000 |
markus <markus@openbsd.org> |
return number of characters processed; ok deraadt@
|