Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-01-24 | Oops, due to the way return from system calls work, we can not use a delay | Miod Vallat | |
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. | |||
2013-01-23 | ARMv7 doesn't support the atomic SWP instruction anymore. Use the atomic | Patrick Wildt | |
load and store instructions instead. ok miod@ | |||
2013-01-23 | The kernel sources mention that the system call entry point is trap #450; the | Miod Vallat | |
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. | |||
2013-01-20 | Fix PIC_LOAD and PIC_STORE macros to really access the variable, instead of | Miod Vallat | |
the GOT pointer. Oops. | |||
2013-01-20 | Properly handle "%%" and "%N" where N is not a supported escape. | Todd C. Miller | |
This is consistent with strftime(3) behavior. OK stsp@ | |||
2013-01-20 | PIC-related code should follow the #ifdef __PIC__ line, not the #else line. | Miod Vallat | |
Doh! | |||
2013-01-19 | Document F_DUPFD_CLOEXEC; adapted from FreeBSD | Todd C. Miller | |
OK miod@ espie@ | |||
2013-01-19 | partially re-instate previous; requested by deraadt | Jason McIntyre | |
2013-01-19 | better description of O_CLOEXEC; from russell | Jason McIntyre | |
ok guenther | |||
2013-01-18 | Update the setsockopt(2) interface documentation for the EFBIG and | Alexander Bluhm | |
UDP socket splicing changes. help and OK jmc@ | |||
2013-01-15 | build crt{begin,end}S.o with -fpic. | Miod Vallat | |
2013-01-15 | Don't pull <math.h> just because it can return HUGE_VAL in the | Martynas Venckus | |
corner cases. OK millert@. | |||
2013-01-14 | No longer need the "miniproc" glue, as we only have kinfo_proc now. | Philip Guenther | |
ok deraadt@ pirofti@ kettenis@ | |||
2013-01-13 | Remove machine-dependent glue for strtorQ, since hppa64 quad-precision | Martynas Venckus | |
support has been removed from our compiler a year ago. | |||
2013-01-13 | Get rid of the very ugly lint workarounds: LINTLIBRARY, PROTOLIB, | Martynas Venckus | |
and a few empty files for lint to chew on. | |||
2013-01-11 | Add END() directives to the various functions. | Miod Vallat | |
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. | |||
2013-01-11 | Add a bunch of macros to help writing PIC code for libc .S routines. Handles | Miod Vallat | |
both -fpic and -fPIC. | |||
2013-01-10 | editline.3: editrc only read from $HOME; from LEVAI Daniel | Jason McIntyre | |
editrc.5: add FILES for ~/.editrc patches passed onto net/free | |||
2013-01-08 | fix __cerror non-weak symbol name | Miod Vallat | |
2013-01-08 | More int's that should be size_t for strlen() use | Theo de Raadt | |
ok millert | |||
2013-01-07 | use a size_t instead of an int to avoid signed compare | Theo de Raadt | |
spotted by Ilja Van Sprundel ok millert | |||
2013-01-05 | Fix verbiage to make it clear that on success the return value of | Kenneth R Westerback | |
strftime() is the number of characters printed. POSIX verbiage verified by jmc@, ok jmc@. | |||
2013-01-05 | Switch m88k ports to ELF. | Miod Vallat | |
2013-01-03 | sysctl.3: remove some confusing text about NFS_NIOTHREADS | Jason McIntyre | |
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 | |||
2013-01-03 | some small cleanup; | Jason McIntyre | |
2013-01-01 | Add an implementation based on tedu@'s design of fmemopen(3) and | Martin Pieuchot | |
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@ | |||
2012-12-31 | Spell `calculation' correctly. | Miod Vallat | |
2012-12-30 | Provide proper ldexp{f,l} aliases to scalbn{f,l} to match the MI (ld80) code. | Miod Vallat | |
2012-12-26 | Actually invoke the system call in libc's sigreturn() wrapper; went unnoticed | Miod Vallat | |
for 15 years or so (sigcode, of course, was correct). | |||
2012-12-24 | Register cleanup handler passed by ld.so with atexit(3). | Mark Kettenis | |
tested by benno@ | |||
2012-12-24 | Register cleanup handler passed by ld.so with atexit(3). Fix stack alignment. | Mark Kettenis | |
ok guenther@ | |||
2012-12-23 | Register cleanup handler passed by ld.so with atexit(3). | Mark Kettenis | |
2012-12-23 | Explicitly align the stack on a 16-byte boundary such that constructors can | Mark Kettenis | |
use SSE instructions. In principle we should be able to rely on the stack to be aligned properly, but the i386 calling convention makes this rather fragile. ok guenther@, deraadt@ | |||
2012-12-22 | Make sure the stack is 16-byte aligned otherwise the use of certain SSE | Mark Kettenis | |
instructions will fail. ok guenther@ | |||
2012-12-22 | Register cleanup handler passed by ld.so with atexit(3). | Mark Kettenis | |
ok kurt@ | |||
2012-12-22 | some fixes, based on a diff from Martin Toft; | Jason McIntyre | |
2012-12-22 | Fix bug in random offset introduced in rev 1.143; random range was | Otto Moerbeek | |
expanded, but not enough due to precedence error. Spotted by Thorsten Glaser. | |||
2012-12-21 | remove makefile hacks that are no longer needed with t1 t2: working properly | Marc Espie | |
okay krw@ | |||
2012-12-20 | include machine/cpu.h now that is isn't any longer pulled in indirectly | Christian Weisgerber | |
by sys/sysctl.h; ok deraadt@ millert@ | |||
2012-12-19 | crtbeginS.o needs to be built with -fPIC, otherwise bloated shared libraries | Mark Kettenis | |
silently crash when running constructors. Tested by landry@. ok beck@ | |||
2012-12-19 | Fix a purely theoretical NULL-pointer dereference in the case that we | Reyk Floeter | |
would be able to receive multiple SCM_RIGHTS messages. ok claudio@ gilles@ | |||
2012-12-17 | Allow gethostbyname() to accept a numeric IP string. | Eric Faurot | |
No lookup is done in this case. regression reported by espie@ | |||
2012-12-12 | document RES_USE_DNSSEC; text tweaked by sthen | Jason McIntyre | |
ok jakob | |||
2012-12-05 | Remove excessive sys/cdefs.h inclusion | Theo de Raadt | |
ok guenther millert kettenis | |||
2012-12-05 | Cross-reference getfsstat(2); OK jmc@ | Todd C. Miller | |
2012-12-05 | no need for .Pp before lists; | Jason McIntyre | |
2012-12-04 | Rewritten posix_openpt manual that doesn't include any of the POSIX | Todd C. Miller | |
text. OK deraadt@ | |||
2012-12-04 | Use "path name" not "pathname". | Todd C. Miller | |
2012-12-03 | Add two missing quad-precision emulation functions: _Qp_cmp and _Qp_cmpe. At | Mark Kettenis | |
least the former is emitted by modern versions of GCC. | |||
2012-12-03 | Simple emulation of POSIX pty APIs posix_openpt(), ptsname(), | Todd C. Miller | |
grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@ |