https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266532
--- Comment #20 from Daniel Tameling <[email protected]> --- Thanks for taking care of this. I tested this and it still doesn't use the setusercontext function. The reason for this is that the corresponding check fail during configure. From my config.log: configure:17573: checking for setusercontext configure:17573: clang -o conftest -O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fstack-protector-strong conftest.c -L/usr/local/lib >&5 ld: error: undefined symbol: setusercontext >>> referenced by conftest.c >>> /tmp/conftest-408de2.o:(main) clang: error: linker command failed with exit code 1 (use -v to see invocation) configure needs to add -lutil so that the library with the symbol gets linked in. This flag also needs to get added to the Makefile. There are also some trailing whitespace issues with the posted patch. You might want to clean this up before committing. -- You are receiving this mail because: You are the assignee for the bug.
