Class: Ardecy::Harden::Sysctl::Kernel::FsProtectedSymlinks
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ FsProtectedSymlinks
constructor
A new instance of FsProtectedSymlinks.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ FsProtectedSymlinks
Returns a new instance of FsProtectedSymlinks.
173 174 175 176 177 178 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 173 def initialize(args) @file = '/proc/sys/fs/protected_symlinks' @line = 'fs.protected_symlinks' super @exp = '1' end |