| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | threadsafe random(). | 2013-03-15 | 1 | -8/+43 | |
| | | | | | reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov | ||||
| * | tedu faith(4), suggested by todd@ some weeks ago after a submission by | 2013-03-14 | 1 | -13/+2 | |
| | | | | | | | dhill. ok krw@, mikeb@, tedu@ (implicit) | ||||
| * | Return EINVAL if there are fewer than six template Xs in the path. | 2013-03-12 | 2 | -24/+30 | |
| | | | | | ok deraadt@ millert@ | ||||
| * | Fix kernel profiling on MP systems by using per-CPU buffers and teach | 2013-03-12 | 1 | -8/+14 | |
| | | | | | | | | | | | | kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@ | ||||
| * | SOCK_SEQPACKET is supported on AF_UNIX too. | 2013-03-12 | 1 | -5/+6 | |
| | | | | | ok jmc@ matthew@ | ||||
| * | handle ECONNABORTED errors from accept(). In many code blocks they can be | 2013-03-11 | 1 | -2/+3 | |
| | | | | | | ignored silently and without aborting, much like EINTR and EWOULDBLOCK are. ok's from various maintainers of these directories... | ||||
| * | document LOG_ODELAY; from Daniel Dickman | 2013-03-11 | 1 | -2/+9 | |
| | | | | | ok millert | ||||
| * | Describe interaction between write and O_APPEND. | 2013-03-09 | 1 | -2/+9 | |
| | | | | | Pointed out by Sachidananda on tech | ||||
| * | Fix return value of wcrtomb() in single-byte locales if the s argument is NULL. | 2013-03-07 | 1 | -2/+2 | |
| | | | | | | wcrtomb() must pretend to store one byte (NUL-terminator) in this case. Patch by Vladimir Tamara Patino. ok guenther | ||||
| * | Oops: confstr()'s return value should include the NUL in its count | 2013-03-07 | 1 | -5/+5 | |
| | | | | | Problem pointed out by Andres Perera (andres.p (at) zoho.com) | ||||
| * | tweak wording of scanf return value; prompted by Jan Stary; ok jmc@ | 2013-03-05 | 1 | -4/+5 | |
| | | |||||
| * | Update STANDARDS section as appropriate for C99. | 2013-03-04 | 2 | -7/+9 | |
| | | | | | ok guenther@ | ||||
| * | Fix the combination of 'j' format flag and the XPG "<num>$" modifier. | 2013-03-02 | 1 | -2/+11 | |
| | | | | | ok deraadt@ kettenis@ millert@ | ||||
| * | zap end of line whitespace; | 2013-03-02 | 1 | -5/+5 | |
| | | |||||
| * | Adds the (somewhat silly) _CS_V[67]_ENV and _CS_POSIX_V[67]_* defines | 2013-03-01 | 2 | -48/+180 | |
| | | | | | | | | | to <unistd.h> and confstr(3) per POSIX 1003.1-2008 Change confstr(_CS_PATH) to operate directly instead of calling sysctl(3) ports build tested by espie@ | ||||
| * | Back out per-CPU kernel profiling, it shouldn't modify a public header | 2013-02-12 | 2 | -19/+9 | |
| | | | | | at this moment. | ||||
| * | Unbreak the tree by adding missing defines. Forgot to sync in previous | 2013-02-12 | 1 | -1/+4 | |
| | | | | | spotted by todd@. | ||||
| * | Sync with libkern's copy. No functional change. | 2013-02-11 | 1 | -8/+15 | |
| | | |||||
| * | gremlin crept in | 2013-02-03 | 1 | -2/+2 | |
| | | |||||
| * | Userland bits for m68k/ELF. Mostly addition of register prefixes to the | 2013-02-02 | 79 | -612/+649 | |
| | | | | | | assembler instructions, and cope with the few changes in return values location. | ||||
| * | Add a bunch of missing functions. | 2013-01-31 | 1 | -2/+19 | |
| | | | | | ok millert@ | ||||
| * | Add support for POSIX.1-2008 functions dprintf(3) and vdprintf(3). | 2013-01-30 | 6 | -9/+156 | |
| | | | | | | Feedback from millert@ guenther@ OK guenther@ man page bits OK jmc@ | ||||
| * | Oops, due to the way return from system calls work, we can not use a delay | 2013-01-24 | 2 | -6/+16 | |
| | | | | | | | slot in the branch to cerror, for the delay slot instruction would also run as part of a successful return. Doh. Fortunately almost nothing in the tree uses brk() or sbrk() anymore... but binaries linked against libiberty. | ||||
| * | The kernel sources mention that the system call entry point is trap #450; the | 2013-01-23 | 9 | -19/+19 | |
| | | | | | | fact that #128 and #129 may also be used for this purpose was never documented, so there is no reason to have libc use #128. Switch to #450 for consistency. | ||||
| * | Fix PIC_LOAD and PIC_STORE macros to really access the variable, instead of | 2013-01-20 | 1 | -5/+7 | |
| | | | | | the GOT pointer. Oops. | ||||
| * | Properly handle "%%" and "%N" where N is not a supported escape. | 2013-01-20 | 1 | -1/+3 | |
| | | | | | This is consistent with strftime(3) behavior. OK stsp@ | ||||
| * | PIC-related code should follow the #ifdef __PIC__ line, not the #else line. | 2013-01-20 | 3 | -14/+14 | |
| | | | | | Doh! | ||||
| * | Document F_DUPFD_CLOEXEC; adapted from FreeBSD | 2013-01-19 | 1 | -4/+13 | |
| | | | | | OK miod@ espie@ | ||||
| * | partially re-instate previous; requested by deraadt | 2013-01-19 | 1 | -2/+5 | |
| | | |||||
| * | better description of O_CLOEXEC; from russell | 2013-01-19 | 1 | -3/+3 | |
| | | | | | ok guenther | ||||
| * | Update the setsockopt(2) interface documentation for the EFBIG and | 2013-01-18 | 1 | -9/+10 | |
| | | | | | | UDP socket splicing changes. help and OK jmc@ | ||||
| * | Don't pull <math.h> just because it can return HUGE_VAL in the | 2013-01-15 | 1 | -3/+2 | |
| | | | | | corner cases. OK millert@. | ||||
| * | Remove machine-dependent glue for strtorQ, since hppa64 quad-precision | 2013-01-13 | 2 | -47/+2 | |
| | | | | | support has been removed from our compiler a year ago. | ||||
| * | Add END() directives to the various functions. | 2013-01-11 | 20 | -31/+142 | |
| | | | | | | | Make the code PIC-aware when necessary (i.e. invoke other functions through the PLT, and access global data through the GOT). No change for non-PIC compilation. | ||||
| * | Add a bunch of macros to help writing PIC code for libc .S routines. Handles | 2013-01-11 | 1 | -10/+42 | |
| | | | | | both -fpic and -fPIC. | ||||
| * | fix __cerror non-weak symbol name | 2013-01-08 | 1 | -2/+2 | |
| | | |||||
| * | More int's that should be size_t for strlen() use | 2013-01-08 | 2 | -5/+8 | |
| | | | | | ok millert | ||||
| * | use a size_t instead of an int to avoid signed compare | 2013-01-07 | 1 | -2/+3 | |
| | | | | | | spotted by Ilja Van Sprundel ok millert | ||||
| * | Fix verbiage to make it clear that on success the return value of | 2013-01-05 | 1 | -3/+3 | |
| | | | | | | | strftime() is the number of characters printed. POSIX verbiage verified by jmc@, ok jmc@. | ||||
| * | Switch m88k ports to ELF. | 2013-01-05 | 28 | -319/+319 | |
| | | |||||
| * | sysctl.3: remove some confusing text about NFS_NIOTHREADS | 2013-01-03 | 1 | -6/+5 | |
| | | | | | | | | | | sysctl.8: remove the vfs.nfs.iothreads example, since a) showing how to set a default value is not particularly helpful and b) EXAMPLES is bloated enough as it is; further, remove the text which points to other pages for further discussion, since those pages no longer provide relevant info diff started by an email from Jan Stary; blambert helped me prepare this diff | ||||
| * | some small cleanup; | 2013-01-03 | 2 | -13/+14 | |
| | | |||||
| * | Add an implementation based on tedu@'s design of fmemopen(3) and | 2013-01-01 | 4 | -0/+655 | |
| | | | | | | | | | open_memstream(3) so they can be polished in-tree. One of the manpages comes from NetBSD with some tweaks. Prodded by espie@, krw@, guenther@ | ||||
| * | Actually invoke the system call in libc's sigreturn() wrapper; went unnoticed | 2012-12-26 | 1 | -4/+3 | |
| | | | | | for 15 years or so (sigcode, of course, was correct). | ||||
| * | Make sure the stack is 16-byte aligned otherwise the use of certain SSE | 2012-12-22 | 1 | -1/+4 | |
| | | | | | | | instructions will fail. ok guenther@ | ||||
| * | Fix bug in random offset introduced in rev 1.143; random range was | 2012-12-22 | 1 | -3/+3 | |
| | | | | | expanded, but not enough due to precedence error. Spotted by Thorsten Glaser. | ||||
| * | Allow gethostbyname() to accept a numeric IP string. | 2012-12-17 | 1 | -4/+47 | |
| | | | | | | | No lookup is done in this case. regression reported by espie@ | ||||
| * | document RES_USE_DNSSEC; text tweaked by sthen | 2012-12-12 | 1 | -2/+6 | |
| | | | | | ok jakob | ||||
| * | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 103 | -243/+113 | |
| | | | | | ok guenther millert kettenis | ||||
| * | Cross-reference getfsstat(2); OK jmc@ | 2012-12-05 | 1 | -2/+3 | |
| | | |||||
