On Sat, May 1, 2021 at 12:39 PM Ondrej Mosnacek <omosnace@xxxxxxxxxx> wrote: > /sys/kernel/debug/sched_features has been moved/removed in kernel 5.13, > so use /sys/kernel/debug/fault_around_bytes instead, which will > hopefully be more stable. > > Fixes: de8246f5c853 ("lockdown: use debugfs/tracefs to test lockdown permissions") > Signed-off-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> > --- > tests/lockdown/test | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/lockdown/test b/tests/lockdown/test > index 6694a4c..a86c988 100755 > --- a/tests/lockdown/test > +++ b/tests/lockdown/test > @@ -3,7 +3,7 @@ > use Test; > BEGIN { plan tests => 8 } > > -$integrity_cmd = "head -c 1 /sys/kernel/debug/sched_features"; > +$integrity_cmd = "head -c 1 /sys/kernel/debug/fault_around_bytes"; > $confidentiality_cmd = "head -c 1 /sys/kernel/debug/tracing/tracing_on"; > > # everything is allowed > -- > 2.30.2 Applied: https://github.com/SELinuxProject/selinux-testsuite/commit/edf9da5d8f815d5408b46c4141eaeffd45e03ccc -- Ondrej Mosnacek Software Engineer, Linux Security - SELinux kernel Red Hat, Inc.