Class: Ardecy::Harden::Sysctl::Kernel::SysRQ
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ SysRQ
constructor
A new instance of SysRQ.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ SysRQ
Returns a new instance of SysRQ.
111 112 113 114 115 116 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 111 def initialize(args) @file = '/proc/sys/kernel/sysrq' @line = 'kernel.sysrq' @tab = 4 super end |