| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
| |
longjmp performs can't really be relied upon, even after we got rid of the
false positives...
ok millert@ deraadt@
|
|
|
|
| |
ok millert@ deraadt@
|
|
|
|
|
|
| |
rlogind and rshd (remember them?)
ok deraadt@
|
|
|
|
|
|
|
| |
locale implementation: _{Current,Default}*Locale, __[mn]locale_changed,
__mb_len_max_runtime
ok millert@ schwarze@ deraadt@
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
| |
shared libraries...and I misspelled them anyway
|
| |
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
it for the TCB pointer. Eliminate __cerror.
"looks good" kettenis@, testing and ok deraadt@
|
|
|
|
|
|
|
| |
from Edgar Pettijohn <edgar at pettijohn minus web dot com>.
OK jmc@ deraadt@
While here, remove two instances of inconsistent future tense.
|
|
|
|
|
|
|
|
|
|
| |
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>.
|
| |
|
|
|
|
| |
ok deraadt@ kettenis@
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
|
| |
__cerror
ok ketternis@
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
From Michal Mazurek <akfaew at jasminek dot net>.
OK tedu@
|
|
|
|
| |
slow TCB_GET (alpha, arm, mips64, sh) was broken when I switched CPP symbols.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
_longjmp(3) but also restore the signal mask.
ok deraadt@
|
| |
|
|
|
|
|
|
| |
Use the hidden symbols for internal calls to abort, longjmp, etc
ok deraadt@
|
|
|
|
| |
wondering about that
|
|
|
|
| |
ok kettenis@
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
|
|
| |
from libc completely in the near future. Riding the libc bump that appeared
a few moments ago.
ok deraadt@
|
| |
|
| |
|
|
|
|
|
|
| |
via the _shadow functions will open now, preventing some programs running
as root from accidentally loading password hashes it into their memory.
ok deraadt
|
|
|
|
| |
slightly better code on some archs
|
|
|
|
|
|
|
| |
Export _gmonparam again.
Make gcrt0.o use an reserved name for _monstartup()
ok millert@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
| |
okay millert@
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
_longjmp(3) but also restore the signal mask.
ok deraadt@
|
|
|
|
| |
ok deraadt@
|
| |
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
| |
Requested by deraadt@
|
| |
|