aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/bpf_core_read.h
diff options
context:
space:
mode:
authorJie Jiang <[email protected]>2023-12-12 09:39:23 +0000
committerAndrii Nakryiko <[email protected]>2023-12-13 23:37:42 +0000
commit750e785796bb72423b97cac21ecd0fa3b3b65610 (patch)
treef45a5ce7eeff2440d7a9bce98d8f584666473ed0 /tools/lib/bpf/bpf_core_read.h
parentselftests/bpf: fix compiler warnings in RELEASE=1 mode (diff)
downloadkernel-750e785796bb72423b97cac21ecd0fa3b3b65610.tar.gz
kernel-750e785796bb72423b97cac21ecd0fa3b3b65610.zip
bpf: Support uid and gid when mounting bpffs
Parse uid and gid in bpf_parse_param() so that they can be passed in as the `data` parameter when mount() bpffs. This will be useful when we want to control which user/group has the control to the mounted bpffs, otherwise a separate chown() call will be needed. Signed-off-by: Jie Jiang <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Mike Frysinger <[email protected]> Acked-by: Christian Brauner <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_core_read.h')
0 files changed, 0 insertions, 0 deletions