12 Commits (17e63aa28530fa0b503a2c0dc8a33b3a7467f6b6)

Author SHA1 Message Date
  bcook 101f48a3de Change imsg header definitions to use standard types. 5 years ago
  kettenis 0566b09422 Make a few internal symbols static and add a Symbols.map version script 6 years ago
  reyk 9e0fddd8a3 Use freezero(3) for the imsg framework in imsg_free(3) and ibuf_free(3). 7 years ago
  deraadt a6614e5870 Grow buffers using recallocarray, to avoid the potential dribble that 7 years ago
  benno a3c84db0c2 check for NULL in ibuf_free(). 8 years ago
  nicm cac6c14d57 Use memset instead of bzero for better portability. 9 years ago
  brynet 1493b9464e bzero cmsgbuf before using it, silences valgrind warnings. 9 years ago
  benno f0ed57e872 return ERANGE instead of ENOMEM, so callers can differentiate real oom 9 years ago
  deraadt 55d6095cc3 limits.h rather than sys/param.h 10 years ago
  benno 82969df044 original bug diagnosed by sthen: automatic retry in msgbuf_write on 10 years ago
  gilles 20e1efaa46 in imsg_read() avoid calling recvmsg() if we detect that we will be short 12 years ago
  nicm 8b7d56fe29 Move imsg into libutil and add a man page. 14 years ago
  nicm 62564ff79f Rename some imsg bits to make namespace collisions less likely buf to 14 years ago
  jacekm 3a304260b4 Enclose repeated buffer draining code in a new msgbuf_drain() 15 years ago
  eric c6ea694786 make buf_write() behave like msgbuf_write(): send out only the 15 years ago
  pyr 239fd25471 make ntpd imsg-in-a-lib ready as well. extensive testing done, no 15 years ago
  henning 04339771ec on writing, we actually can deal with ENOBUFS just as well as with EAGAIN 19 years ago
  henning 3b0d5b83e8 check for EINTR too after writev(), pt out by Alexander Farber 19 years ago
  henning 50e41e169b unify shared code a bit again to make future syncs easier 19 years ago
  henning a71057c067 remove now osolete comment, from a mail exchange with 19 years ago
  henning 5ab4c063ff buffer structs and API ssize_t -> size_t; from bgpd 19 years ago
  henning 062c33dcbf remove buf_write(), not used in ntpd. found by theo 20 years ago
  henning 8ff7717b78 order #includes, Brian Poole <raj@cerias.purdue.edu> 20 years ago
  dtucker 4b7b3363bd Replace errx with equivalent fprintf+exit to make porting easier; ok henning@ 20 years ago
  henning 4ad0cde98b initial cut at ntpd. 20 years ago