Skip to content

Commit f0a3f60

Browse files
committed
Add exception for SuSE Linus
Signed-off-by: Martin Schurz <Martin.Schurz@telekom.de>
1 parent 875170f commit f0a3f60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controls/sysctl_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,6 @@
439439
desc 'Ensure kernel.yama.ptrace_scope is set to at least 2 so unprivileged users cannot attach ptrace to arbitrary processes.'
440440
only_if { !container_execution }
441441
describe kernel_parameter('kernel.yama.ptrace_scope') do
442-
its(:value) { should >= 2 }
442+
its(:value) { should eq(2).or eq(3).or eq(nil) } # include nil because SuSE does not have this parameter
443443
end
444444
end

0 commit comments

Comments
 (0)