Skip to content

Commit

Permalink
Allow core dumps to be piped into a program with an absolute path.
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Marshall <[email protected]>
  • Loading branch information
Sam Marshall committed Jul 17, 2019
1 parent de6eb84 commit f7ce802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controls/sysctl_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@
desc 'Ensure that core dumps are done with fully qualified path'
only_if { kernel_parameter('fs.suid_dumpable').value == 2 && !container_execution }
describe kernel_parameter('kernel.core_pattern') do
its(:value) { should match %r{^/.*} }
its(:value) { should match %r{^\|?/.*} }
end
end

Expand Down

0 comments on commit f7ce802

Please sign in to comment.