| Age | Commit message (Collapse) | Author |
|
directives to allow exception unwind / backtrace across a signal
handler.
|
|
to __cerror so if the ptrace syscall fails we can call __cerror again with
the correct %r19 value.
Do this even though the call of __cerror doesn't go via the PLT because
__cerror calls __errno which does.
Analysis and fix from Tom Lane in
port-hppa/56864: hppa: ptrace(2) dumps core when returning an error
I changed the location of where %r19 is stored on the stack to follow the
ABI.
|
|
- sparc and sparc64 were not using version 0 sigcontext when there were
no arguments in the signal version. This was probably a bug.
- vax is using +1 the version numbers of the other archs.
- Only hppa was defining __LIBC12_SOURCE__ so it was getting a working
sigcontext before. all the other ports that supported sigcontext had
the compat code disabled.
[pointed out by thorpej, thanks!]
If we want to remove sigcontext support from userland at least now there
is less work to do so.
|
|
consistency with other arches.
NFCI and libc.so is the same before and after.
|
|
|
|
|
|
binutils where the PLT stubs now use %t1 (%r22) which is used to pass
the errno to __cerror.
|
|
|
|
|
|
|
|
|
|
The original exect(2) from BSD4.2 was enabling bit for tracing
(single-step mode) and calling execve(2). The purpose of it was to generate
a signal for a tracer once the application will change its image to a new
program.
This approach no longer works as:
- exect(2) traces (single-steps) libc and it requires hundreds or
thousands steps before entering a new image
- it's vax and x86 specific code
- this functionality has been moved to the kernel - once a process is
traced it will generate SIGTRAP with si_code TRAP_EXEC and route it to
its debugger
- the side effects and unportability make this interface unusable
- there are no known users of this interface
- it apparently never worked better since day0 of NetBSD ("day0 bug")
Users are requested to move to other execve(2) variants. Calling current
execve(2) as it is the most similar behavior to this one from BSD4.2.
Discussed several times on mailing lists and in PR/51700.
Add warning to exect(3) telling about marking this function obsolete.
This function is prepared to be removed in next libc major bump.
Sponsored by <The NetBSD Foundation>
|
|
number allocated to the process. gcc produces (slightly) better code
with this convention.
Retain backwards compatiblity.
Welcome to 6.99.36
|
|
|
|
vs big PIC mode. Retire -DPIC and -DBIGPIC.
|
|
problems in elflink.c for the heimdal libraries.
|
|
copyright. In most cases, this means dropping the 3rd and 4th clauses.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
translated from the mips version.
|
|
|
|
|
|
With help from the OpenBSD version of SYS.h.
|
|
|
|
|
|
|
|
Patches provided by Joel Baker in PR 22280, verified by myself.
|
|
stub behavior is exactly the same as the usual behavior).
|
|
small syscall stub.
|
|
trampoline, and the signal trampolines themselves.
NOTE: These are not yet enabled; they will be enabled after further
testing on more architectures.
|
|
|
|
and lib/libkvm.
|