Class: Ardecy::Harden::Sysctl::Kernel::UserFaultFd

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

Returns a new instance of UserFaultFd.



93
94
95
96
97
98
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 93

def initialize(args)
  @file = '/proc/sys/vm/unprivileged_userfaultfd'
  @line = 'vm.unprivileged_userfaultfd'
  @tab = 2
  super
end