summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/atomicio.c
AgeCommit message (Expand)Author
2019-01-24Check for both EAGAIN and EWOULDBLOCK. This is a no-op in OpenBSDDarren Tucker
2019-01-23Sanitize scp filenames via snmprintf. To do this we move theDarren Tucker
2016-07-27better bounds check on iovcnt (we only ever use fixed, positive values)Damien Miller
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2010-09-22add an option per-read/write callback to atomicioDamien Miller
2007-06-25Include <poll.h> like the man page says rather than <sys/poll.h>. ok djm@Darren Tucker
2007-06-19if the fd passed to atomicio/atomiciov() is non blocking, then poll() toDamien Miller
2006-08-03almost entirely get rid of the culture of ".h files that include .h files"Theo de Raadt
2006-07-26move #include <sys/param.h> out of includes.hKevin Steves
2006-07-22move #include <string.h> out of includes.hKevin Steves
2006-07-11move #include <errno.h> out of includes.h; ok markus@Kevin Steves
2006-04-16reorder sanity test so that it cannot dereference past the end of theDamien Miller
2006-04-16introduce atomiciov() function that wraps readv/writev to retryDamien Miller
2006-04-01ANSIfy; requested deraadt@Damien Miller
2006-03-25Put $OpenBSD$ tags back (as comments) to replace the RCSID()s thatDamien Miller
2006-03-19RCSID() can dieTheo de Raadt
2006-02-11type correctness; from Ray Lai in PR 5011; ok millert@Otto Moerbeek
2005-05-24Switch atomicio to use a simpler interface; it now returns a size_tAnil Madhavapeddy
2003-07-31correct comment: atomicio takes vwrite, not write; deraadt@ okAnil Madhavapeddy
2003-06-28deal with typing of write vs read in atomicioTheo de Raadt
2001-05-08no need for xmalloc.h, thanks to espie@Markus Friedl
2001-03-02make copyright lines the same formatTheo de Raadt
2001-01-21split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.Markus Friedl
2000-10-18undoMarkus Friedl
2000-10-17return number of characters processed; ok deraadt@Markus Friedl
2000-09-07cleanup copyright notices on all files. I have attempted to be accurate withTheo de Raadt
2000-06-20OpenBSD tagMarkus Friedl
2000-03-16-pedantic: signed vs. unsigned, void*-arithm, etcMarkus Friedl
2000-02-01int atomicio -> ssize_t (for alpha). ok deraadt@David Leonard
1999-12-06move atomicio into it's own file. wrap all socket write()s which were doingTheo de Raadt