On Fri, Dec 05, 2025 at 09:10:03AM -0800, Guenter Roeck wrote:
> Fix:
>
> seccomp_bpf.c: In function ‘UPROBE_setup’:
> seccomp_bpf.c:5175:74: warning: pointer type mismatch in conditional
> expression
>
> by type casting the argument to get_uprobe_offset().
>
> Fixes: 9ffc7a635c35a ("selftests/seccomp: validate uprobe syscall passes
> through seccomp")
> Cc: Jiri Olsa <[email protected]>
> Cc: Peter Zijlstra (Intel) <[email protected]>
> Signed-off-by: Guenter Roeck <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
--
Kees Cook