| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
for a long time, so there's no need to test the second return register here
in the asm stub.
ok guenther@
|
|
|
|
|
|
| |
of indirecting through __errno().
ok patrick@
|
|
|
|
|
|
| |
brininging over all the symbol visibility improvements that guenther@ made.
ok drahn@
|
|
|
|
|
| |
Always return nonzero as the return code from longjmp.
ok guenther@ patrick@
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
|
|
| |
suppose this still stems from the first steps where we tried to get at
least some userland stuff to compile. This change properly saves the
pointer before doing the syscall and stores the return value in the
pointer on return. This makes sigpending regress pass.
|
|
|
|
|
|
|
| |
the wrong location, thus not making it set SIG_BLOCK with a zero mask
when attempting to read the signal mask (if set ptr is NULL). Instead
an attempt to read the mask actually told the syscall to set the mask
to zero.
|
|
|
|
|
| |
value returned in x1 on __tfork(3) is always zero, which made the code
always fall into the child case.
|
|
|
|
| |
value to and not overwrite other bits by writing a 64-bit value.
|
| |
|
|
|
|
|
|
|
| |
of indirecting through __errno().
Register naming tweaks and clang testing by patrick@ and jsg@
ok kettenis@
|
|
|
|
|
|
|
|
| |
sigprocmask syscall.
abort() can't return, so simplify the call, and use the internal name to
avoid the PLT.
no-return observation by Miod Vallat, testing by aoyama@
|
| |
|
|
|
|
|
|
|
| |
Don't need a PLT relocation for __cerror.
Move macros for doing internal aliases in ASM from SYS.h to DEFS.h
__cerror tweaks by Miod Vallat, testing by aoyama@
|
|
|
|
| |
ok jsg@
|
|
|
|
| |
fix suggested by and ok guenther@
|
|
|
|
|
|
| |
Makes exceptions work in C++ code work again om armv7.
ok guenther@
|
|
|
|
|
|
|
| |
move it from before ENTRY() to after END(). Keeps brk(2) and sbrk(2) weak
when comping libc with clang.
ok guenther@
|
|
|
|
|
|
|
| |
hints are not recognized by clang's builtin assembler and the opcode prefixes
they generate have been no-ops for all CPUs after the Pentium 4.
ok guenther@
|
| |
|
|
|
|
|
|
|
| |
are no longer needed by ld.so. Move them to the m88k-specific list, as
it hasn't made the jump.
ok deraadt@
|
|
|
|
|
|
|
| |
Switch from calling obsolete sig{block,setmask} to directly using the
sigprocmask syscall.
ok deraadt@ kettenis@
|
|
|
|
|
|
|
| |
Eliminate pointless use of PIC_SYM()
Split out DEFS.h from SYS.h like some other archs
ok kettenis@ deraadt@
|
|
|
|
|
|
| |
go direct instead of through the PLT.
ok millert@ kettenis@
|
|
|
|
| |
a nop in the slot skipped by the kernel on success
|
|
|
|
| |
ok deraadt@
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
| |
endian testing and ok deraadt@
ok visa@
|
|
|
|
|
|
| |
sigprocmask syscall
ok kettenis@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
| |
longjmp performs can't really be relied upon, even after we got rid of the
false positives...
ok millert@ 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@
|
| |
|
|
|
|
|
|
| |
it for the TCB pointer. Eliminate __cerror.
"looks good" kettenis@, testing and ok deraadt@
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
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@
|