I am ruing 16.04 LTS.I am trying to compile the seccomp test program that is in the man page for seccomp. The test program is at the bottom of the man page http://man7.org/linux/man-pages/man2/seccomp.2.htmlWhen I try to compile the program I get the following error message: Code: chen@consulting-VirtualBox:~/work/seccompTest$ gcc seccompTest.c seccompTest.c: In function ‘install_filter’: seccompTest.c:65:7: waing: implicit declaration of function ‘seccomp’ [-Wimplicit-function-declaration] if (seccomp(SECCOMP_SET_MODE_FILTER, 0, &prog)) { ^ /tmp/cc5KwI6o.o: In function `install_filter': seccompTest.c:(.text+0x108): undefined reference to `seccomp' collect2: error: ld retued 1 exit status If...
ادامه مطلبAll times are GMT +1. The time now is 08:43 AM.vBulletin ©2000 - 2016, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project.User contributions on this site are licensed under the Creative Commons Attribution Share Alike 4.0 Inteational License. For details and our forum data attribution, retention and privacy policy, see here Let's block ads! بخوانید...
ادامه مطلب