Commit c385b075 authored by Kenta.Tada@sony.com's avatar Kenta.Tada@sony.com Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: seccomp: Fix CONFIG tests for Seccomp_filters



Strictly speaking, seccomp filters are only used
when CONFIG_SECCOMP_FILTER.
This patch fixes the condition to enable "Seccomp_filters"
in /proc/$pid/status.

Signed-off-by: default avatarKenta Tada <Kenta.Tada@sony.com>
Fixes: c818c03b ("seccomp: Report number of loaded filters in /proc/$pid/status")
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/OSBPR01MB26772D245E2CF4F26B76A989F5669@OSBPR01MB2677.jpnprd01.prod.outlook.com


(cherry picked from commit 64bdc024)
Bug: 187129171
Signed-off-by: default avatarConnor O'Brien <connoro@google.com>
Change-Id: I44541ba5bac773b10b2593e47be943536b5ce3dd
parent 89ff5a15
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment