Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Using a 3-word buffer in the openbsd.randomdata segment, XOR swizzle | 2016-05-12 | 3 | -21/+80 | ||
| | | | | | | 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 | |||||
* | remove hppa64 port, which we never got going beyond broken single users. | 2016-05-11 | 29 | -944/+3 | ||
| | | | | | | 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 | |||||
* | Add RETURN VALUES section and .Xr to memmem(3). | 2016-05-11 | 1 | -3/+4 | ||
| | | | | | From Michal Mazurek <akfaew at jasminek dot net>. OK tedu@ | |||||
* | Oops: the caching of TCB address in single-threaded processes on archs with | 2016-05-10 | 1 | -2/+2 | ||
| | | | | slow TCB_GET (alpha, arm, mips64, sh) was broken when I switched CPP symbols. | |||||
* | libc stub is gone, so update the description to cover the remaining use | 2016-05-09 | 1 | -20/+19 | ||
| | ||||||
* | Remove sigreturn declaration and the now-unused libc syscall stub | 2016-05-09 | 14 | -491/+3 | ||
| | ||||||
* | Stop using sigreturn for longjmp, just set the signal mask and return | 2016-05-09 | 3 | -40/+69 | ||
| | | | | | | | | | 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@ | |||||
* | Don't use sigreturn(2) in longjmp(3). Instead use a similar approach as in | 2016-05-09 | 1 | -60/+39 | ||
| | | | | | | _longjmp(3) but also restore the signal mask. ok deraadt@ | |||||
* | remove mention of dbm(3) and surrounding cruft; ok jmc@ | 2016-05-09 | 1 | -4/+2 | ||
| | ||||||
* | Implement longjmp directly and not on top of sigreturn. | 2016-05-08 | 3 | -98/+125 | ||
| | | | | | | Use the hidden symbols for internal calls to abort, longjmp, etc ok deraadt@ | |||||
* | No, sigaltstack's onstack flag shouldn't be saved. Delete comment | 2016-05-08 | 1 | -2/+1 | ||
| | | | | wondering about that | |||||
* | Hide __fpu_* and make internal _Qp_* calls go direct. | 2016-05-08 | 6 | -39/+53 | ||
| | | | | ok kettenis@ | |||||
* | Simplify sig{set,long}jmp(): just Do The Job instead of calling others | 2016-05-08 | 1 | -52/+50 | ||
| | | | | ok kettenis@ | |||||
* | Unexport sigreturn. Nobody should use it anymore, and it will be removed | 2016-05-07 | 1 | -2/+0 | ||
| | | | | | | | from libc completely in the near future. Riding the libc bump that appeared a few moments ago. ok deraadt@ | |||||
* | remove more dbm pieces | 2016-05-07 | 2 | -5/+4 | ||
| | ||||||
* | remove ancient dbm functions (ndbm remains). nothing uses them in forever. | 2016-05-07 | 4 | -323/+1 | ||
| | ||||||
* | stop opening the shadow database by default. only programs that request it | 2016-05-07 | 1 | -5/+3 | ||
| | | | | | | via the _shadow functions will open now, preventing some programs running as root from accidentally loading password hashes it into their memory. ok deraadt | |||||
* | Avoid a transient PLT entry for the internal __getcwd syscall stub for | 2016-05-07 | 1 | -1/+2 | ||
| | | | | slightly better code on some archs | |||||
* | Declare moncontrol(3) APIs in <sys/gmon.h> | 2016-05-07 | 3 | -7/+11 | ||
| | | | | | | | Export _gmonparam again. Make gcrt0.o use an reserved name for _monstartup() ok millert@ | |||||
* | Use a Thread Information Block in both single and multi-threaded programs. | 2016-05-07 | 149 | -1658/+2279 | ||
| | | | | | | | | | | | | | | | | | 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@ | |||||
* | Remove old cruft. | 2016-05-04 | 1 | -95/+0 | ||
| | | | | okay millert@ | |||||
* | Remove a vax remnant (that was really a no-op anyway). | 2016-05-02 | 1 | -3/+1 | ||
| | ||||||
* | Remove old NeXT-specific cruft. From mmcc@ | 2016-05-01 | 1 | -13/+1 | ||
| | ||||||
* | Don't add setjmp.S twice. | 2016-04-28 | 1 | -2/+2 | ||
| | ||||||
* | Don't use sigreturn(2) in longjmp(3). Instead use a similar approach as in | 2016-04-28 | 1 | -59/+22 | ||
| | | | | | | _longjmp(3) but also restore the signal mask. ok deraadt@ | |||||
* | remove duplicate strrchr.c entry in SRCS | 2016-04-28 | 1 | -2/+2 | ||
| | | | | ok deraadt@ | |||||
* | Enable LIBREBUILD to construct libc.so.*.a | 2016-04-26 | 1 | -1/+2 | ||
| | ||||||
* | Allow setenv(3) and putenv(3) to operate on a NULL environ pointer. | 2016-04-25 | 1 | -11/+15 | ||
| | | | | | | The getenv(3) and unsetenv(3) functions already support this. This will make it easier to emulate the glibc clearenv() function in ports. Based on a diff from and OK jca@ | |||||
* | document pledge(2); from rob pierce | 2016-04-17 | 1 | -2/+6 | ||
| | ||||||
* | Revert the recent changes to pledge.2. | 2016-04-13 | 1 | -74/+37 | ||
| | | | | Requested by deraadt@ | |||||
* | tweak previous; | 2016-04-12 | 1 | -2/+2 | ||
| | ||||||
* | two times a define to an inline function, from Michael McConville; ok djm@ | 2016-04-12 | 1 | -10/+19 | ||
| | ||||||
* | documents "mcast" promise | 2016-04-12 | 1 | -1/+16 | ||
| | | | | with few nits from and ok schwarze@ | |||||
* | documents "route" promise | 2016-04-12 | 1 | -3/+23 | ||
| | | | | | | | initial diff from Rob Pierce rob ! 2keys. ca with some enhancements from jmc@, schwarze@ and me ok jmc@ schwarze@ | |||||
* | Clean up and complete the lists of allowed syscalls. | 2016-04-10 | 1 | -36/+38 | ||
| | | | | | | | | | With input from schwarze@ and semarie@. "go ahead" schwarze@ (documentation perspective only, without checking factual accuracy) ok semarie@ on an earlier version | |||||
* | tweak MALLOC_STATS printing (switched off by default), prodded by | 2016-04-09 | 1 | -14/+14 | ||
| | | | | Michael McConville | |||||
* | redundant memset(3), from Michael McConville, ok armani@ | 2016-04-09 | 1 | -2/+1 | ||
| | ||||||
* | Document (near) standards conformance | 2016-04-09 | 1 | -4/+21 | ||
| | | | | based on diff by mmcc@ | |||||
* | Prefer _MUTEX_*LOCK over _THREAD_PRIVATE_MUTEX_*LOCK() when thread-specific | 2016-04-05 | 4 | -21/+21 | ||
| | | | | | | data isn't necessary. ok mpi@, ok&tweak natano@ | |||||
* | Update example in comment: setlogin doesn't use {PROTO,DEF}_WRAP() now | 2016-04-05 | 1 | -8/+8 | ||
| | ||||||
* | get* can change *lineptr on failure | 2016-04-04 | 1 | -2/+6 | ||
| | | | | ok sthen@ | |||||
* | Document ``use after free'' error message | 2016-04-03 | 1 | -2/+4 | ||
| | ||||||
* | Major bump for getlogin*/ptrace changes | 2016-03-30 | 1 | -1/+1 | ||
| | ||||||
* | Turd polish: use HIDDEN= instead of PSEUDO= for ptrace syscall stub, to | 2016-03-30 | 4 | -9/+33 | ||
| | | | | make its underlying symbol name look like others. | |||||
* | Eliminate userspace caching by getlogin_r/setlogin; make the getlogin | 2016-03-30 | 4 | -65/+20 | ||
| | | | | | | | | syscall behave exactly like userspace getlogin_r() and rename it to match. Eliminate the reduced-to-no-op wrappers of the syscalls. Eliminate the unnecessary per-thread static buffering by getlogin(). ok kettenis@ deraadt@ | |||||
* | some Xr adjustment to catch up with MLINKS removal; | 2016-03-30 | 4 | -13/+13 | ||
| | ||||||
* | for some time now mandoc has not required MLINKS to function | 2016-03-30 | 19 | -557/+19 | ||
| | | | | | | | | | | | | correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung | |||||
* | Don't need to define SYS_sycall here | 2016-03-27 | 1 | -4/+1 | ||
| | | | | noted by miod@ | |||||
* | Switch to RSYSCALL: no special handling is needed here any more and | 2016-03-27 | 1 | -6/+2 | ||
| | | | | | | we do need the hidden _libc_syscall alias. from miod@ | |||||
* | remove unused variable | 2016-03-27 | 1 | -2/+2 | ||
| | | | | ok millert@ |