Providing wider access to bpf()
Providing wider access to bpf()
Posted Jun 27, 2019 21:36 UTC (Thu) by josh (subscriber, #17465)Parent article: Providing wider access to bpf()
Posted Jun 27, 2019 23:02 UTC (Thu)
by luto (guest, #39314)
[Link] (2 responses)
Also, some of those capable() calls control the ability to convert pointers to integers. Those should not be changed.
Posted Jun 27, 2019 23:30 UTC (Thu)
by josh (subscriber, #17465)
[Link] (1 responses)
Posted Jun 27, 2019 23:50 UTC (Thu)
by luto (guest, #39314)
[Link]
I think it’s the wrong approach here. People are obviously willing to slightly modify their program for this new unprivileged mode — the ioctl requires it. Given that, I think the right solution is to be fully explicit: just pass the fd into the bpf() syscall.
Providing wider access to bpf()
Providing wider access to bpf()
Providing wider access to bpf()
