Class: Ardecy::Harden::Sysctl::Kernel::YamaPtrace
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ YamaPtrace
constructor
A new instance of YamaPtrace.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ YamaPtrace
Returns a new instance of YamaPtrace.
145 146 147 148 149 150 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 145 def initialize(args) @file = '/proc/sys/kernel/yama/ptrace_scope' @line = 'kernel.yama.ptrace_scope' super @exp = '2' end |