Class: Ardecy::Harden::Sysctl::Kernel::FsProtectedRegular
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ FsProtectedRegular
constructor
A new instance of FsProtectedRegular.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ FsProtectedRegular
Returns a new instance of FsProtectedRegular.
201 202 203 204 205 206 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 201 def initialize(args) @file = '/proc/sys/fs/protected_regular' @line = 'fs.protected_regular' super @exp = '2' end |