Class: Ardecy::Harden::Sysctl::Kernel::UsernsClone
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ UsernsClone
constructor
A new instance of UsernsClone.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ UsernsClone
Returns a new instance of UsernsClone.
120 121 122 123 124 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 120 def initialize(args) @file = '/proc/sys/kernel/unprivileged_userns_clone' @line = 'unprivileged_userns_clone' super end |