Class: Ardecy::Harden::Sysctl::Kernel::KExecLoadDisabled
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ KExecLoadDisabled
constructor
A new instance of KExecLoadDisabled.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ KExecLoadDisabled
Returns a new instance of KExecLoadDisabled.
102 103 104 105 106 107 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 102 def initialize(args) @file = '/proc/sys/kernel/kexec_load_disabled' @line = 'kernel.kexec_load_disabled' super @exp = '1' end |