Create a hello world binary.
Give it linux capabilities e.g. with setcap command.
valgrind the binary with caps.
It will fail.:
[snip]]
Afair I tried also giving SUID flags, and all CAPs to valgrind* and it's /lib/
binaries and all, but nothing worked.
The capabilities are attached t
Create a hello world binary.
Give it linux capabilities e.g. with setcap command.
valgrind the binary with caps.
It will fail.:
#include
int main() { printf("Hello.\n"); return 0; }
user@devuan:~/test3$ gcc main.c
user@devuan:~/test3$ sudo su
root@devuan:/home/user/test3# setcap "cap_net_adm