Capabilities CAP_NET_ADMIN for using system call
Hello,
I want to use a systemcall (ip link set can0 up) in my c-programm that have no root privileges. Therefor I set the capabilities to CAP_NET_RAW and CAP_NET_ADMIN.
But I always get a permission error message. When I set the capabilities to the ip program it works.
How can I get my program working without touching the capabilities of ip program?
Thanks
|