Class: Ardecy::Harden::Sysctl::Kernel::LdiskAutoload
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ LdiskAutoload
constructor
A new instance of LdiskAutoload.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ LdiskAutoload
Returns a new instance of LdiskAutoload.
85 86 87 88 89 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 85 def initialize(args) @file = '/proc/sys/dev/tty/ldisc_autoload' @line = 'dev.tty.ldisc_autoload' super end |