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