Skip to content

Commit

Permalink
Merge pull request #121 from foundulabs/samjmarshall/core_pattern
Browse files Browse the repository at this point in the history
Allow core dumps to be piped into a program with an absolute path.
  • Loading branch information
artem-sidorenko authored Jul 19, 2019
2 parents 482a362 + f7ce802 commit 74df8a2
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 74df8a2

Please sign in to comment.