| Commit message (Expand) | Author | Age | Files | Lines |
* | MFC r349190: Fix typo in r349178. | Alexander Motin | 2019-07-07 | 1 | -1/+1 |
* | MFC r349178: Optimize kern.geom.conf* sysctls. | Alexander Motin | 2019-07-07 | 1 | -0/+15 |
* | sys/kern: adoption of SPDX licensing ID tags. | Pedro F. Giffuni | 2017-11-27 | 1 | -0/+2 |
* | An off-by-one error exists in sbuf_vprintf()'s use of SBUF_HASROOM() when an | Lawrence Stewart | 2017-08-18 | 1 | -7/+5 |
* | Implement simple record boundary tracking in sbuf(9) to avoid record splitting | Lawrence Stewart | 2017-08-17 | 1 | -2/+10 |
* | Fix whitespace regression accidentally checked in via ^/head@r280149 | Enji Cooper | 2017-07-18 | 1 | -1/+1 |
* | Fail the sbuf if vsnprintf(3) fails. | Poul-Henning Kamp | 2015-10-02 | 1 | -0/+4 |
* | sbuf: Process more than one char at a time | Conrad Meyer | 2015-09-25 | 1 | -35/+39 |
* | The minimum sbuf buffer size is 2 bytes (a byte plus a nulterm), assert that. | Ian Lepore | 2015-03-17 | 1 | -2/+4 |
* | Update an sbuf assertion to allow for the new SBUF_INCLUDENUL flag. If | Ian Lepore | 2015-03-16 | 1 | -5/+12 |
* | Add a new flag, SBUF_INCLUDENUL, and new get/set/clear functions for flags. | Ian Lepore | 2015-03-14 | 1 | -1/+29 |
* | Unbreak the ABI by reverting r268494 until the compat shims are provided | Pietro Cerutti | 2014-07-28 | 1 | -16/+7 |
* | Implement Short/Small String Optimization in SBUF(9) and change lengths and | Pietro Cerutti | 2014-07-10 | 1 | -7/+16 |
* | Always request zeroed memory, in case we're dumb enough to leak it later. | Dag-Erling Smørgrav | 2013-09-22 | 1 | -2/+2 |
* | A library function shall not set errno to 0. | Jaakko Heinonen | 2013-05-16 | 1 | -2/+3 |
* | Add sbuf_start_section() and sbuf_end_section() functions, which can | Mikolaj Golub | 2013-04-11 | 1 | -1/+71 |
* | r222015 introduced a new assertion that the size of a fixed-length sbuf | Robert Watson | 2011-08-19 | 1 | -1/+1 |
* | Use memset() instead of bzero() and memcpy() instead of bcopy(), there | Poul-Henning Kamp | 2011-05-17 | 1 | -26/+43 |
* | Don't expect PAGE_SIZE to exist on all platforms (It is a pretty arbitrary | Poul-Henning Kamp | 2011-05-17 | 1 | -27/+33 |
* | Change the length quantities of sbufs to be ssize_t rather than int. | Poul-Henning Kamp | 2011-05-16 | 1 | -7/+9 |
* | Re-add r212370 now that the LOR in powerpc64 has been resolved: | Matthew D Fleming | 2010-09-16 | 1 | -2/+2 |
* | Revert r212370, as it causes a LOR on powerpc. powerpc does a few | Matthew D Fleming | 2010-09-13 | 1 | -2/+2 |
* | Add missing pointer increment to sbuf_cat. | Alexander Kabaev | 2010-09-11 | 1 | -1/+1 |
* | Replace sbuf_overflowed() with sbuf_error(), which returns any error | Matthew D Fleming | 2010-09-10 | 1 | -28/+25 |
* | Add a drain function for struct sysctl_req, and use it for a variety of | Matthew D Fleming | 2010-09-09 | 1 | -2/+2 |
* | Add drain functionality to sbufs. The drain is a function that is | Matthew D Fleming | 2010-09-09 | 1 | -6/+99 |
* | Refactor sbuf code so that most uses of sbuf_extend() are in a new | Matthew D Fleming | 2010-09-09 | 1 | -25/+69 |
* | Use a better #if guard. | Matthew D Fleming | 2010-09-03 | 1 | -1/+1 |
* | Style(9) fixes and eliminate the use of min(). | Matthew D Fleming | 2010-09-03 | 1 | -12/+15 |
* | Fix user-space libsbuf build. Why isn't CTASSERT available to | Matthew D Fleming | 2010-09-03 | 1 | -0/+2 |
* | Fix brain fart when converting an if statement into a KASSERT. | Matthew D Fleming | 2010-09-03 | 1 | -1/+1 |
* | Use math rather than iteration when the desired sbuf size is larger than | Matthew D Fleming | 2010-09-03 | 1 | -5/+9 |
* | Switch to simplified BSD license (with phk's approval), plus whitespace | Dag-Erling Smørgrav | 2008-08-09 | 1 | -29/+45 |
* | Make sbuf_copyin() return the number of bytes copied on success. | Poul-Henning Kamp | 2005-12-23 | 1 | -1/+1 |
* | Make a bunch of malloc types static. | Poul-Henning Kamp | 2005-02-10 | 1 | -1/+1 |
* | Cosmetic adjustment to previous commit: name the second argument to | Dag-Erling Smørgrav | 2004-07-09 | 1 | -4/+4 |
* | Have sbuf_bcat() and sbuf_bcpy() take a const void * instead of a | Dag-Erling Smørgrav | 2004-07-09 | 1 | -3/+5 |
* | Mechanical whistespace cleanup. | Dag-Erling Smørgrav | 2004-02-17 | 1 | -19/+19 |
* | Use __FBSDID(). | David E. O'Brien | 2003-06-11 | 1 | -2/+3 |
* | Copy the va_list in sbuf_vprintf() before passing it to vsnprintf(), | Peter Wemm | 2003-05-25 | 1 | -1/+4 |
* | Back out M_* changes, per decision of the TRB. | Warner Losh | 2003-02-19 | 1 | -1/+1 |
* | Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. | Alfred Perlstein | 2003-01-21 | 1 | -1/+1 |
* | Add the new function "sbuf_done()" which returns non-zero if the sbuf is | Poul-Henning Kamp | 2002-10-04 | 1 | -0/+10 |
* | Add a cast to make this file compile in userland on sparc64 without | Poul-Henning Kamp | 2002-09-16 | 1 | -1/+1 |
* | Fix warnings on gcc-3.1+ where __func__ is a const char * instead of a | Peter Wemm | 2002-03-19 | 1 | -2/+2 |
* | Yet a bug with extensible sbufs being marked as OVERFLOWED. This time | Poul-Henning Kamp | 2002-01-24 | 1 | -1/+1 |
* | In certain cases sbuf_printf() and sbuf_vprintf() could mistakely | Poul-Henning Kamp | 2002-01-22 | 1 | -1/+1 |
* | Replace spaces after #defines with tabs; this makes all #defines | Kelly Yancey | 2002-01-09 | 1 | -20/+20 |
* | * Implement SBUF_AUTOEXTEND flag; sbufs created with this flag are | Kelly Yancey | 2002-01-06 | 1 | -23/+108 |
* | Calculate whether the sbuf is dynamic *before* bzero()ing the | Matthew Dillon | 2001-12-19 | 1 | -1/+4 |