For executables that work with raw sockets (like `mtr' for example), is there a preferred existing mechanism to use it without setuid?
(in some way something like cap_net_raw on Linux to open socket for raw access)
I can't say for certain in BSD but to be proper the answer "should be" NO. You should always use a socket protocol unless designing a privileged program.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.