Class: Ardecy::Harden::Sysctl::Kernel::FsProtectedFifos

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) ⇒ FsProtectedFifos

Returns a new instance of FsProtectedFifos.



191
192
193
194
195
196
197
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 191

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