Class: Ardecy::Harden::Sysctl::Kernel::UserFaultFd
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ UserFaultFd
constructor
A new instance of UserFaultFd.
Methods inherited from SysKern
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 |