On 14/11/2023 10:31, Zachary Leaf wrote:
union bpf_attr and structs bpf_xyz_info are used to pass config to the kernel or return info to userspace via the bpf syscall.
In order to avoid needing a separate 32-bit compat handler for the bpf syscall, __user pointers inside these union/structs are stored as __u64 or __aligned_u64.
In Morello, PCuABI a user pointer is a 129-bit capability so
Nit: just noticed that the start of the sentence is a bit wonky, should it simply be "In PCuABI, a user pointer..."?
Kevin