diff options
| author | Paul Buetow <paul@buetow.org> | 2024-02-17 14:26:20 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-02-17 14:26:20 +0200 |
| commit | 58fa8bab3fdf2bf2dc45d17366e1d8a4129b4b54 (patch) | |
| tree | 3185fb576555365a7d583b18792a68140ac5ffb7 /internal/ioriotng.bpf.c | |
| parent | c3a41ac0cb15d3f2665d75051260c1909b434548 (diff) | |
always inline
Diffstat (limited to 'internal/ioriotng.bpf.c')
| -rw-r--r-- | internal/ioriotng.bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ioriotng.bpf.c b/internal/ioriotng.bpf.c index 32b831a..ce06d8a 100644 --- a/internal/ioriotng.bpf.c +++ b/internal/ioriotng.bpf.c @@ -6,7 +6,7 @@ #include "types/maps.bpf.h" #include "flags/flags.bpf.h" -static inline int filter() { +static __always_inline int filter() { return (bpf_get_current_uid_gid() & 0xFFFFFFFF) != UID_FILTER; } |
