commit | 64bdc0244054f7d4bb621c8b4455e292f4e421bc | [log] [tgz] |
---|---|---|
author | Kenta.Tada@sony.com <Kenta.Tada@sony.com> | Sun Mar 21 15:52:19 2021 +0000 |
committer | Kees Cook <keescook@chromium.org> | Tue Mar 30 22:33:50 2021 -0700 |
tree | 689baf7210630c9e6bd14a912b1772bcfa2c6ec0 | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 [diff] |
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: Kenta Tada <Kenta.Tada@sony.com> Fixes: c818c03b661c ("seccomp: Report number of loaded filters in /proc/$pid/status") Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/OSBPR01MB26772D245E2CF4F26B76A989F5669@OSBPR01MB2677.jpnprd01.prod.outlook.com