include/execinfo.h
0 → 100644
+21
−0
include/sys/signalfd.h
0 → 100644
+46
−0
+1
−0
src/linux/execinfo.cpp
0 → 100644
+163
−0
+20
−0
Loading
rustc 1.90's librustc_driver.so (built by rustc, stage 3 of the rust
package) calls backtrace() and backtrace_symbols_fd() from its SIGSEGV
handler and signalfd(); linking rustc-main failed on all three.
backtrace() walks _Unwind_Backtrace (skipping its own frame),
backtrace_symbols()/_fd() print glibc's "module(symbol+0xoff) [0xaddr]"
through dladdr() (_fd without allocating, for signal handlers), signalfd()
is signalfd4 with the kernel's 128-byte signalfd_siginfo.
New e2e_execinfo_signalfd; ctest 171/172 (e2e_uid_r_src: the host runs a
uid_r kernel now and the test expects root).
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>