|
Using route command with a non root process
Hello,
Heres the scenario -
I use the system command route from a process (using the system() call). For security reasons the process does not have root privilege and for some reason I cannot use ioctl() either.
I tried to set the capabilities of the process to NET_ADMIN and SYS_ADMIN but the route command still failed due to insufficient permissions.
Question --
What are the capabilities that I need to set for route to be successful?
Thanks in advance
|