Marius Dinu
Marius Dinu
``` (gdb) r Starting program: /usr/sbin/auditd -f -c /tmp Config file /tmp/auditd.conf doesn't exist, skipping [New LWP 16076] No plugins found, not dispatching events Thread 1 "auditd" received signal SIGSEGV,...
I built it without stripping, but gdb still doesn't show anything different: ``` root@GRAPHRT:/mnt/Work/Share/OpenWrt# file /usr/sbin/auditd /usr/sbin/auditd: ELF 32-bit LSB pie executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter...
Another run with larger stack, while waiting for openwrt to compile: ``` root@GRAPHRT:/mnt/Work/Share/OpenWrt# ulimit -s 8192 root@GRAPHRT:/mnt/Work/Share/OpenWrt# ulimit -s 65536 root@GRAPHRT:/mnt/Work/Share/OpenWrt# ulimit -s 65536 root@GRAPHRT:/mnt/Work/Share/OpenWrt# valgrind /usr/sbin/auditd -f -c /tmp...
The C library is musl. I built an image without stripping any package and I hope that includes musl. I can't test it before the weekend. WFH - I can't...
OK, apparently, /lib/libc.so can be replaced while the router is running. :-) I didn't expect that. Here's the trace: ``` # valgrind auditd -f -c /tmp ==12521== Memcheck, a memory...
gdb: ``` Reading symbols from /usr/sbin/auditd... (gdb) r Starting program: /usr/sbin/auditd -f -c /tmp Config file /tmp/auditd.conf doesn't exist, skipping [New LWP 13134] No plugins found, not dispatching events Thread...
Sorry. I don't understand that. My C knowledge is very limited. Can I help finding out what s is? Will that help? I see that musl released v1.2.5 a month...
I couldn't get ubsan or asan to work. I did an update to musl v1.2.5. It only required changing the version in the build config. (Yes, it was that easy!)...
PS: I've accepted the ideea that nobody does manual tests anymore, but I'm really interested to know why this wasn't detected by the automated tests.
Yes, that's what I'm talking about. I can reproduce the error with a fresh clone of git repo, with only my .config added. Why is it that automated builds *don't*...