diff options
author | Jie Jiang <jiejiang@chromium.org> | 2023-12-12 09:39:23 +0000 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-12-13 15:37:42 -0800 |
commit | 750e785796bb72423b97cac21ecd0fa3b3b65610 (patch) | |
tree | f45a5ce7eeff2440d7a9bce98d8f584666473ed0 /tools/lib | |
parent | 62d9a969f4a95219c757831e9ad66cd4dd9edee5 (diff) |
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 <jiejiang@chromium.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Mike Frysinger <vapier@chromium.org>
Acked-by: Christian Brauner <brauner@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20231212093923.497838-1-jiejiang@chromium.org
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions