Class: Ardecy::Harden::Sysctl::Kernel::Dmesg
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ Dmesg
constructor
A new instance of Dmesg.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ Dmesg
Returns a new instance of Dmesg.
40 41 42 43 44 45 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 40 def initialize(args) @file = '/proc/sys/kernel/dmesg_restrict' @line = 'kernel.dmesg_restrict' super @exp = '1' end |