summaryrefslogtreecommitdiffstats
path: root/atomicio.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-01-01 - (dtucker) OpenBSD CVS SyncDarren Tucker3-12/+22
- dtucker@cvs.openbsd.org 2007/12/31 10:41:31 [readconf.c servconf.c] Prevent strict-aliasing warnings on newer gcc versions. bz #1355, patch from Dmitry V. Levin, ok djm@
2007-12-31 - (dtucker) [configure.ac openbsd-compat/glob.{c,h}] Bug #1407: force use ofDarren Tucker4-5/+13
builtin glob implementation on Mac OS X. Based on a patch from vgiffin at apple.
2007-12-28 - dtucker@cvs.openbsd.org 2007/12/28 22:34:47Darren Tucker2-4/+9
[clientloop.c] Use the correct packet maximum sizes for remote port and agent forwarding. Prevents the server from killing the connection if too much data is queued and an excessively large packet gets sent. bz #1360, ok djm@.
2007-12-28 - dtucker@cvs.openbsd.org 2007/12/28 15:32:24Darren Tucker4-10/+25
[clientloop.c serverloop.c packet.c] Make SSH2_MSG_UNIMPLEMENTED and SSH2_MSG_IGNORE messages reset the ServerAlive and ClientAlive timers. Prevents dropping a connection when these are enabled but the peer does not support our keepalives. bz #1307, ok djm@.
2007-12-28 - dtucker@cvs.openbsd.org 2007/12/27 14:22:08Darren Tucker9-23/+41
[servconf.c canohost.c misc.c channels.c sshconnect.c misc.h ssh-keyscan.c sshd.c] Add a small helper function to consistently handle the EAI_SYSTEM error code of getaddrinfo. Prompted by vgiffin at apple com via bz #1417. ok markus@ stevesk@
2007-12-28 - djm@cvs.openbsd.org 2007/12/12 05:04:03Darren Tucker2-2/+11
[sftp.c] unbreak lls command and add a regress test that would have caught the breakage; spotted by mouring@
2007-12-02 - deraadt@cvs.openbsd.org 2007/11/03 02:03:49Darren Tucker2-2/+9
[ssh.c] avoid errno trashing in signal handler; ok dtucker
2007-12-02 - dtucker@cvs.openbsd.org 2007/11/03 02:00:32Darren Tucker2-6/+9
[ssh.c] Use xstrdup/xfree when saving pwname and pwdir; ok deraadt@
2007-12-02 - deraadt@cvs.openbsd.org 2007/11/03 01:24:06Darren Tucker2-4/+16
[ssh.c] bz #1377: getpwuid results were being clobbered by another getpw* call inside tilde_expand_filename(); save the data we need carefully ok djm
2007-12-02 - djm@cvs.openbsd.org 2007/11/03 00:36:14Darren Tucker2-2/+13
[clientloop.c] fix memory leak in process_cmdline(), patch from Jan.Pechanec AT Sun.COM; ok dtucker@
2007-12-02 - jmc@cvs.openbsd.org 2007/10/29 07:48:19Darren Tucker2-5/+8
[ssh_config.5] clean up after previous macro removal;
2007-12-02 - dtucker@cvs.openbsd.org 2007/10/29 06:54:50Darren Tucker2-2/+10
[ssh.c] Make LocalCommand work for Protocol 1 too; ok djm@
2007-12-02 - dtucker@cvs.openbsd.org 2007/10/29 06:51:59Darren Tucker2-5/+8
[ssh_config.5] ProxyCommand and LocalCommand use the user's shell, not /bin/sh; ok djm@
2007-12-02 - dtucker@cvs.openbsd.org 2007/10/29 04:08:08Darren Tucker3-7/+13
[monitor_wrap.c monitor.c] Send config block back to slave for invalid users too so options set by a Match block (eg Banner) behave the same for non-existent users. Found by and ok djm@
2007-12-02 - dtucker@cvs.openbsd.org 2007/10/29 01:55:04Darren Tucker2-4/+13
[ssh.c] Plug tiny mem leaks in ControlPath and ProxyCommand option processing; ok djm@
2007-12-02 - dtucker@cvs.openbsd.org 2007/10/29 00:52:45Darren Tucker2-2/+7
[auth2-gss.c] Allow build without -DGSSAPI; ok deraadt@ (Id sync only, Portable already has the ifdefs)
2007-12-02 - (dtucker) [scp.c] Update $OpenBSD tag missing from rev 1.175 and removeDarren Tucker2-3/+5
leftover debug code.
2007-12-02 - (dtucker) [configure.ac] Enable -fstack-protector-all on systems whereDarren Tucker2-3/+16
gcc supports it. ok djm@
2007-10-30 - djm@cvs.openbsd.org 2007/10/29 23:49:41Damien Miller2-4/+11
[openbsd-compat/sys-tree.h] remove extra backslash at the end of RB_PROTOTYPE, report from Jan.Pechanec AT Sun.COM; ok deraadt@
2007-10-26 - millert@cvs.openbsd.org 2004/10/07 16:56:11Damien Miller2-10/+13
GLOB_NOESCAPE is POSIX so move it out of the #ifndef _POSIX_SOURCE block. (NB. mostly an RCS ID sync, as portable strips out the conditionals)
2007-10-26 - otto@cvs.openbsd.org 2007/04/30 18:42:34Damien Miller2-3/+7
[openbsd-compat/sys-queue.h] Enable QUEUE_MACRO_DEBUG on DIAGNOSTIC kernels. Input and okays from krw@, millert@, otto@, deraadt@, miod@.
2007-10-26 - otto@cvs.openbsd.org 2005/11/25 08:06:25Damien Miller2-2/+26
[openbsd-compat/sys-queue.h] Introduce debugging aid for queue macros. Disabled by default; but developers are encouraged to run with this enabled. ok krw@ fgsch@ deraadt@
2007-10-26 - otto@cvs.openbsd.org 2005/10/25 06:37:47Damien Miller2-13/+6
[openbsd-compat/sys-queue.h] Some uvm problem is being exposed with the more strict macros. Revert until we've found out what's causing the panics.
2007-10-26 - otto@cvs.openbsd.org 2005/10/24 20:25:14Damien Miller2-4/+6
[openbsd-compat/sys-queue.h] Partly backout. NOLIST, used in LISTs is probably interfering. requested by deraadt@
2007-10-26 - otto@cvs.openbsd.org 2005/10/17 20:19:42Damien Miller2-2/+23
[openbsd-compat/sys-queue.h] Performing certain operations on queue.h data structurs produced funny results. An example is calling LIST_REMOVE on the same element twice. This will not fail, but result in a data structure referencing who knows what. Prevent these accidents by NULLing some fields on remove and replace. This way, either a panic or segfault will be produced on the faulty operation.
2007-10-26 - deraadt@cvs.openbsd.org 2005/02/25 13:29:30Damien Miller2-5/+8
[openbsd-compat/sys-queue.h] minor white spacing
2007-10-26 - grange@cvs.openbsd.org 2004/05/04 16:59:32Damien Miller2-4/+9
[openbsd-compat/sys-queue.h] Remove useless ``elm'' argument from the SIMPLEQ_REMOVE_HEAD macro. This matches our SLIST behaviour and NetBSD's SIMPLEQ as well. ok millert krw deraadt
2007-10-26 - tdeval@cvs.openbsd.org 2004/11/24 18:10:42Damien Miller2-5/+8
[openbsd-compat/sys-tree.h] typo
2007-10-26 - frantzen@@cvs.openbsd.org 2004/04/24 18:11:46Damien Miller2-6/+10
[openbsd-compat/tree.h] sync to Niels Provos' version. avoid unused variable warning in RB_NEXT()
2007-10-26 - jakob@cvs.openbsd.org 2007/10/11 18:36:41Damien Miller2-4/+4
[openbsd-compat/getrrsetbyname.c openbsd-compat/getrrsetbyname.h] use RRSIG instead of SIG for DNSSEC. ok djm@
2007-10-26 - otto@cvs.openbsd.org 2006/10/21 09:55:03Damien Miller2-12/+6
[openbsd-compat/base64.c] remove calls to abort(3) that can't happen anyway; from <bret dot lambert at gmail.com>; ok millert@ deraadt@
2007-10-26 - (djm) [openbsd-compat/bindresvport.c]Damien Miller2-2/+4
Sync RCS ID after irrelevant (for portable OpenSSH) header shuffling
2007-10-26 - jakob@cvs.openbsd.org 2007/10/11 18:36:41Damien Miller2-4/+7
[openbsd-compat/getrrsetbyname.c] use RRSIG instead of SIG for DNSSEC. ok djm@
2007-10-26 - deraadt@cvs.openbsd.org 2005/11/28 17:50:12Damien Miller2-7/+10
[openbsd-compat/glob.c] unused arg in internal static API
2007-10-26 - djm@cvs.openbsd.org 2007/10/24 03:44:02Damien Miller1-27/+64
[scp.c] factor out network read/write into an atomicio()-like function, and use it to handle short reads, apply bandwidth limits and update counters. make network IO non-blocking, so a small trickle of reads/writes has a chance of updating the progress meter; bz #799 ok dtucker@
2007-10-26 - (djm) [regress/sftp-cmds.sh]Damien Miller2-3/+6
Use more restrictive glob to pick up test files from /bin - some platforms ship broken symlinks there which could spoil the test.
2007-10-26 - djm@cvs.openbsd.org 2007/10/26 05:30:01Damien Miller3-14/+15
[regress/sftp-glob.sh regress/test-exec.sh] remove "echo -E" crap that I added in last commit and use printf(1) for cases where we strictly require echo not to reprocess escape characters.
2007-10-26 - djm@cvs.openbsd.org 2007/10/24 03:32:35Damien Miller4-34/+105
[regress/sftp-cmds.sh regress/sftp-glob.sh regress/test-exec.sh] comprehensive tests for sftp escaping its interaction with globbing; ok dtucker@
2007-10-26 - pvalchev@cvs.openbsd.org 2007/06/07 19:41:46Damien Miller3-5/+9
[regress/cipher-speed.sh regress/try-ciphers.sh] test umac-64@openssh.com ok djm@
2007-10-26 - dtucker@cvs.openbsd.org 2006/12/13 08:36:36Damien Miller2-2/+24
[regress/cfgmatch.sh] Additional test for multiple PermitOpen entries. ok djm@
2007-10-26 - markus@cvs.openbsd.org 2006/11/06 09:27:43Damien Miller2-7/+10
[regress/cfgmatch.sh] fix quoting for non-(c)sh login shells.
2007-10-26 - djm@cvs.openbsd.org 2006/08/29 09:44:00Damien Miller2-3/+6
[regress/sftp-cmds.sh] clean up our mess
2007-10-26 - djm@cvs.openbsd.org 2007/10/24 03:44:02Damien Miller1-1/+8
[scp.c] factor out network read/write into an atomicio()-like function, and use it to handle short reads, apply bandwidth limits and update counters. make network IO non-blocking, so a small trickle of reads/writes has a chance of updating the progress meter; bz #799 ok dtucker@
2007-10-26 - djm@cvs.openbsd.org 2007/10/24 03:30:02Damien Miller2-173/+286
[sftp.c] rework argument splitting and parsing to cope correctly with common shell escapes and make handling of escaped characters consistent with sh(1) and between sftp commands (especially between ones that glob their arguments and ones that don't). parse command flags using getopt(3) rather than hand-rolled parsers. ok dtucker@
2007-10-26 - markus@cvs.openbsd.org 2007/10/22 19:10:24Damien Miller2-3/+7
[readconf.c] make sure that both the local and remote port are correct when parsing -L; Jan Pechanec (bz #1378)
2007-10-26 - chl@cvs.openbsd.org 2007/10/02 17:49:58Damien Miller1-1/+5
[ssh-keygen.c] handles zero-sized strings that fgets can return properly removes trailing newline removes an unused variable correctly counts line number "looks ok" ray@ markus@
2007-10-26 - chl@cvs.openbsd.org 2007/10/02 17:49:58Damien Miller2-10/+11
[ssh-keygen.c] handles zero-sized strings that fgets can return
2007-10-26 - dtucker@cvs.openbsd.org 2007/09/29 00:25:51Damien Miller2-3/+5
[auth2.c] Remove unused prototype. ok djm@
2007-10-26 - ray@cvs.openbsd.org 2007/09/27 00:15:57Damien Miller2-5/+14
[dh.c] Don't return -1 on error in dh_pub_is_valid(), since it evaluates to true. Also fix a typo. Initial diff from Matthew Dempsky, input from djm. OK djm, markus.
2007-10-26 - canacar@cvs.openbsd.org 2007/09/25 23:48:57Damien Miller2-8/+13
[ssh-agent.c] When adding a key that already exists, update the properties (time, confirm, comment) instead of discarding them. ok djm@ markus@