Re:Linux tracing systems and how they fit together
by dangisafascist on Sunday July 09, 2017 @12:02PM
(#14730360)
The bpf() system call and SOCK_RAW both require root. Is there an example of using bpf that doesn't require root?
[ Parent
| on HN ]
Re:Linux tracing systems and how they fit together
by sargun on Sunday July 09, 2017 @07:15PM
(#14732280)
The BPF syscalls don't require cap sys admin. Only specific invocations. You can setup a socket filter without sys admin, and a device or XDP filter with net admin.
Re:Linux tracing systems and how they fit together
by dangisafascist on Sunday July 09, 2017 @07:47PM
(#14732388)
Sure but how common is that case? How common are multi-tenant Linux systems with untrusted users that give those specific permissions? Do you want untrusted users sniffing the packets of others?