Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | Major bump for the removal of the various locale, ruserok, and | Philip Guenther | |
longjmperror symbols | |||
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 | Make _fwalk and _cleanup completely internal to libc | Philip Guenther | |
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-23 | Remove iruserok(_sa)? and __ivaliduser(sa)? | Philip Guenther | |
ok millert@ deraadt@ | |||
2016-05-23 | Eliminate __check_rhosts_file and __rcmd_errstr: they were only used by | Philip Guenther | |
rlogind and rshd (remember them?) ok deraadt@ | |||
2016-05-23 | Stop exposing <sys/localedef.h> and various symbols internal to the libc | Philip Guenther | |
locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime ok millert@ schwarze@ 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-20 | Delete the _SDA_BASE and _SDA2_BASE symbols: they're unnecessary in | Philip Guenther | |
shared libraries...and I misspelled them anyway | |||
2016-05-19 | no more v6only; | Jason McIntyre | |
2016-05-19 | Add ASM_NOERR for syscalls that never fail and thus don't need the errno | Philip Guenther | |
setting logic...which can significantly reduce the size of the stub on some archs; 20 syscalls get a trim with this. in snaps for a bit and ok deraadt@ | |||
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-18 | Reduce quadruple negation to double negation; | Ingo Schwarze | |
from Edgar Pettijohn <edgar at pettijohn minus web dot com>. OK jmc@ deraadt@ While here, remove two instances of inconsistent future tense. | |||
2016-05-17 | Fix a one-byte buffer underflow (read access only). | Ingo Schwarze | |
This change touches code that only runs when REG_BASIC is given and the regular expression is anchored with ^ _and_ uses backreferences. The segfault could only be triggered when the ^ anchor was inside a leading () subexpression quantified with *. OK martijn@ Patch also proofread by Pedro Giffuni <pfg at FreeBSD dot org>. | |||
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-13 | remove extra argument; from rafael neves | Jason McIntyre | |
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-11 | Add RETURN VALUES section and .Xr to memmem(3). | Ingo Schwarze | |
From Michal Mazurek <akfaew at jasminek dot net>. OK tedu@ | |||
2016-05-10 | Oops: the caching of TCB address in single-threaded processes on archs with | Philip Guenther | |
slow TCB_GET (alpha, arm, mips64, sh) was broken when I switched CPP symbols. | |||
2016-05-09 | libc stub is gone, so update the description to cover the remaining use | Philip Guenther | |
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-09 | remove mention of dbm(3) and surrounding cruft; ok jmc@ | Christian Weisgerber | |
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 | Unexport sigreturn. Nobody should use it anymore, and it will be removed | Mark Kettenis | |
from libc completely in the near future. Riding the libc bump that appeared a few moments ago. ok deraadt@ | |||
2016-05-07 | remove more dbm pieces | Christian Weisgerber | |
2016-05-07 | remove ancient dbm functions (ndbm remains). nothing uses them in forever. | Ted Unangst | |
2016-05-07 | stop opening the shadow database by default. only programs that request it | Ted Unangst | |
via the _shadow functions will open now, preventing some programs running as root from accidentally loading password hashes it into their memory. ok deraadt | |||
2016-05-07 | Avoid a transient PLT entry for the internal __getcwd syscall stub for | Philip Guenther | |
slightly better code on some archs | |||
2016-05-07 | Declare moncontrol(3) APIs in <sys/gmon.h> | Philip Guenther | |
Export _gmonparam again. Make gcrt0.o use an reserved name for _monstartup() ok millert@ | |||
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-05-04 | Remove old cruft. | Vadim Zhukov | |
okay millert@ | |||
2016-05-02 | Remove a vax remnant (that was really a no-op anyway). | Todd C. Miller | |
2016-05-01 | Remove old NeXT-specific cruft. From mmcc@ | Todd C. Miller | |
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-04-26 | Enable LIBREBUILD to construct libc.so.*.a | Theo de Raadt | |