Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-01 | retire the sparc library code | Ted Unangst | |
2016-08-11 | Between relro and previous RWX work, the __{got,plt}_{start,end} symbols | Philip Guenther | |
are no longer needed by ld.so. Move them to the m88k-specific list, as it hasn't made the jump. ok deraadt@ | |||
2016-08-07 | Add XOR cookies for lr and sp. Stop saving/restoring r12 to/from the jmpbuf. | Philip Guenther | |
Switch from calling obsolete sig{block,setmask} to directly using the sigprocmask syscall. ok deraadt@ kettenis@ | |||
2016-08-06 | Use internal names for __errno, _memcpy, memset, and {,_}{set,long}jmp | Philip Guenther | |
Eliminate pointless use of PIC_SYM() Split out DEFS.h from SYS.h like some other archs ok kettenis@ deraadt@ | |||
2016-07-26 | Wrap fpgetround() so internal calls to it (seen on arm, powerpc, and sh) | Philip Guenther | |
go direct instead of through the PLT. ok millert@ kettenis@ | |||
2016-06-16 | PSEUDO_NOERROR() is used for syscalls that return now, so need to put | Philip Guenther | |
a nop in the slot skipped by the kernel on success | |||
2016-05-30 | Consistently reference '_end' instead of 'end' in the brk/sbrk implementation | Philip Guenther | |
ok deraadt@ | |||
2016-05-30 | Do setjmp cookies for eip, esp, and ebp. For bonus points, mix how | Philip Guenther | |
the cookies are used in setjmp/_setjmp/sigsetjmp so that mixing calls (e.g., longjmp on a _setjmp buffer) will scramble all three registers and jump you to a random location on a random stack! ok deraadt@ | |||
2016-05-30 | Do setjmp cookies for gp, sp, and ra | Philip Guenther | |
endian testing and ok deraadt@ ok visa@ | |||
2016-05-29 | Switch from calling obsolete sig{block,setmask} to directly using the | Philip Guenther | |
sigprocmask syscall ok kettenis@ | |||
2016-05-29 | Only require 4 byte alignment on ILP32 archs | Philip Guenther | |
2016-05-29 | Use .balign instead of .align; only need 8 byte alignment not 2^8 | Philip Guenther | |
2016-05-23 | More fixes from miod | Philip Guenther | |
2016-05-23 | Include SYS.h instead of DEFS.h now that this does a direct syscall | Philip Guenther | |
2016-05-23 | Add XOR cookies for rp and sp. Switch from calling obsolete | Philip Guenther | |
sig{block,setmask} to directly using the sigprocmask syscall. Remove longjmperror()-if-passed-real-sigcontext checks and the filling in of sigcontext fields that longjmp ignores. in snaps; ok deraadt@ | |||
2016-05-23 | Stop supporting longjmperror(); it's not used, not portable, and the checks | Philip Guenther | |
longjmp performs can't really be relied upon, even after we got rid of the false positives... ok millert@ deraadt@ | |||
2016-05-22 | Add XOR cookies for r1 (stack) and lr. Switch from calling obsolete | Philip Guenther | |
sig{block,setmask} to directly using the sigprocmask syscall. Rewrite sig{set,long}jmp based on {set,long}jmp to avoid the deprecated store/load-multiple instructions. in snaps; ok deraadt@ | |||
2016-05-22 | Oh right, actually delete this now that __cerror is unused | Philip Guenther | |
2016-05-18 | Save and restore 'gbr' register when enter/leaving the kernel, and use | Philip Guenther | |
it for the TCB pointer. Eliminate __cerror. "looks good" kettenis@, testing and ok deraadt@ | |||
2016-05-16 | ...and delete the GP setup. Should have been in previous commit | Philip Guenther | |
2016-05-16 | Eliminate cerror: use PAL_rdunique to get the TCB address directly | Philip Guenther | |
ok deraadt@ kettenis@ | |||
2016-05-15 | Add END() to match ENTRY() macros | Philip Guenther | |
ok kettenis@ | |||
2016-05-15 | TIB conversion is complete, so set errno in the syscall stub and eliminate | Philip Guenther | |
__cerror ok ketternis@ | |||
2016-05-12 | Using a 3-word buffer in the openbsd.randomdata segment, XOR swizzle | Theo de Raadt | |
the PC/FP/SP registers in the jmpbuf. An old idea (around 1999?) but the random segment sure makes it easy. Lots of help from kettenis ok kettenis | |||
2016-05-11 | remove hppa64 port, which we never got going beyond broken single users. | Theo de Raadt | |
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis | |||
2016-05-09 | Remove sigreturn declaration and the now-unused libc syscall stub | Philip Guenther | |
2006-10-10 | Preliminary userland bits for OpenBSD/landisk, many things coming from | Miod Vallat | |
NetBSD. | |||
2016-05-09 | Stop using sigreturn for longjmp, just set the signal mask and return | Philip Guenther | |
registers ala _longjmp. In setjmp, stop saving the onstack from sigaltstack as it's been unused by longjmp for years. In sig{set,long}jmp, use the internal, hidden names for setjmp/_setjmp/etc to avoid creating PLT entries. build testing deraadt@ | |||
2016-05-09 | Don't use sigreturn(2) in longjmp(3). Instead use a similar approach as in | Mark Kettenis | |
_longjmp(3) but also restore the signal mask. ok deraadt@ | |||
2016-05-08 | Implement longjmp directly and not on top of sigreturn. | Philip Guenther | |
Use the hidden symbols for internal calls to abort, longjmp, etc ok deraadt@ | |||
2016-05-08 | No, sigaltstack's onstack flag shouldn't be saved. Delete comment | Philip Guenther | |
wondering about that | |||
2016-05-08 | Hide __fpu_* and make internal _Qp_* calls go direct. | Philip Guenther | |
ok kettenis@ | |||
2016-05-08 | Simplify sig{set,long}jmp(): just Do The Job instead of calling others | Philip Guenther | |
ok kettenis@ | |||
2016-05-07 | Use a Thread Information Block in both single and multi-threaded programs. | Philip Guenther | |
This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@ | |||
2016-04-28 | Don't add setjmp.S twice. | Mark Kettenis | |
2016-04-28 | Don't use sigreturn(2) in longjmp(3). Instead use a similar approach as in | Mark Kettenis | |
_longjmp(3) but also restore the signal mask. ok deraadt@ | |||
2016-04-28 | remove duplicate strrchr.c entry in SRCS | Jonathan Gray | |
ok deraadt@ | |||
2016-03-27 | Don't need to define SYS_sycall here | Philip Guenther | |
noted by miod@ | |||
2016-03-27 | Switch to RSYSCALL: no special handling is needed here any more and | Philip Guenther | |
we do need the hidden _libc_syscall alias. from miod@ | |||
2016-03-21 | The asm in the MD_DISABLE_KBIND macro was too fragile and broke alpha and hppa. | Philip Guenther | |
So instead, do the kbind disabling with syscall(). debugging and ok deraadt@, ok kettenis@ | |||
2016-03-20 | Rearrange C runtime bits: now that ld.so exports environ and __progname, | Philip Guenther | |
move their definitions and initialization in static links to libc.a Make crt0 always invoke a new func _csu_finish() in libc to process the auxv and to either register the ld.so cleanup function (in dynamic links) or initialize environ and __progname and do MC_DISABLE_KBIND (in static links). In libc, get pagesize from auxv; cache that between getpagesize() and sysconf(_SC_PAGESIZE) ok mpi@ "good time" deraadt@ | |||
2016-03-09 | We are done providing support for the vax. | Theo de Raadt | |
lots of agreement. | |||
2015-12-11 | "the the" -> "the" in comment | mmcc | |
2015-11-15 | Tweak previous: rename it to fpround() to match FreeBSD | Philip Guenther | |
requested by kettenis@ | |||
2015-11-15 | I got a round tuit to rename round() to roundit() to avoid gcc warning. | Philip Guenther | |
ok deraadt@ | |||
2015-11-14 | Split the non-syscall ASM bits from SYS.h into DEFS.h and use that in the | Philip Guenther | |
non-syscall .S source ok millert@ miod@ | |||
2015-10-31 | Invoke the _HIDDEN() sigprocmask label rather than the public one. | Miod Vallat | |
2015-10-31 | This is sigprocmask, not sigpending. | Miod Vallat | |
2015-10-27 | Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(), | Philip Guenther | |
and ldexp(). ok millert@ | |||
2015-10-23 | Merge the sigaction() and sigprocmask() overloads/wrappers from libpthread | Philip Guenther | |
into libc, and move pthread_sigmask() as well (just a trivial wrapper). This provides consistent handling of SIGTHR between single- and multi-threaded programs and is a step in the merge of all the libpthread overloads, providing some ASM and Makefile bits that the other wrappers will need. ok deraadt@ millert@ |