Class: Ardecy::Harden::Sysctl::Kernel::FsSuidDumpable

Inherits:
SysKern
  • Object
show all
Defined in:
lib/ardecy/harden/sysctl/kernel.rb

Instance Method Summary collapse

Methods inherited from SysKern

#fix, #repair, #scan, #x

Methods included from Display

#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title

Constructor Details

#initialize(args) ⇒ FsSuidDumpable

Returns a new instance of FsSuidDumpable.



210
211
212
213
214
215
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 210

def initialize(args)
  @file = '/proc/sys/fs/suid_dumpable'
  @line = 'fs.suid_dumpable'
  super
  @tab = 4
end