diff options
| author | Roberto Sartori <roberto.sartori.android@gmail.com> | 2022-05-22 21:11:27 +0200 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2022-10-28 15:57:22 +0100 |
| commit | 9ed75228b09cffe0cc61fa2dd490d6545a710e2c (patch) | |
| tree | ae8c4644d794cdaf84031665d65fd198052513d7 | |
| parent | c5aa3963b4ae7f2f81f39fdc755e9bec7b3ad974 (diff) | |
ebpf: allow bpf_get_current_uid_gid_proto also for networking
Signed-off-by: Roberto Sartori <roberto.sartori.android@gmail.com>
Change-Id: Id91af29873e04446dd5cbc9033e3bedae7816da1
| -rw-r--r-- | net/core/filter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/filter.c b/net/core/filter.c index 47b1ec2808ab..59aeddfdccf2 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -2594,6 +2594,8 @@ sk_filter_func_proto(enum bpf_func_id func_id) return &bpf_get_socket_cookie_proto; case BPF_FUNC_get_socket_uid: return &bpf_get_socket_uid_proto; + case BPF_FUNC_get_current_uid_gid: + return &bpf_get_current_uid_gid_proto; default: return NULL; } |
