[strace/strace] Print SELinux contexts when enabling "--secontext" (not compatible with "-c"). (#121)

Renaud Métrich notifications at github.com
Thu Jan 30 15:31:15 UTC 2020


Hello @ldv-alt , by the way your talks at Decvonf were great :-)

The CI is failing for some weird reason: I'm now linking with `-ldl` added to Makefile.am but this fails on line 3016 (e.g. https://travis-ci.org/strace/strace/jobs/643826833?utm_medium=notification&utm_source=github_status):
~~~
gcc -m32 -Wall -Wempty-body -Wformat-security -Wignored-qualifiers -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-parameter-type -Wnested-externs -Wold-style-declaration -Wold-style-definition -Woverride-init -Wsign-compare -Wtype-limits -Wwrite-strings -Werror   -g -O2 -ldl ...
~~~

The `-ldl` is specified, but apparently symbols are not there:
~~~
/home/travis/build/strace/strace/strace-5.4.0.87.4c3c/_build/sub/../../strace.c:2023: undefined reference to `dlopen'
/home/travis/build/strace/strace/strace-5.4.0.87.4c3c/_build/sub/../../strace.c:2025: undefined reference to `dlsym'
/home/travis/build/strace/strace/strace-5.4.0.87.4c3c/_build/sub/../../strace.c:2027: undefined reference to `dlsym'
/home/travis/build/strace/strace/strace-5.4.0.87.4c3c/_build/sub/../../strace.c:2029: undefined reference to `dlsym'
/home/travis/build/strace/strace/strace-5.4.0.87.4c3c/_build/sub/../../strace.c:2030: undefined reference to `dlerror'
/home/travis/build/strace/strace/strace-5.4.0.87.4c3c/_build/sub/../../strace.c:2032: undefined reference to `dlerror'
~~~

I'm no Automake expert, so maybe I just added the lib to wrong place.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/pull/121#issuecomment-580308272
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200130/b47524aa/attachment.html>


More information about the Strace-devel mailing list