Re: [PATCH v2 09/13] selftests/seccomp: Fix build warning
Kees Cook <[email protected]> Fri, 5 Dec 2025 14:21:34 -0800
| Newsgroups | gmane.linux.kernel.bpf,gmane.linux.kernel,gmane.comp.emulators.wine.devel,gmane.linux.network |
|---|---|
| Message-ID | <202512051421.DCD77D0561@keescook> |
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