Class: Ardecy::Harden::Sysctl::Kernel::VmMmapRndCompatBits
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ VmMmapRndCompatBits
constructor
A new instance of VmMmapRndCompatBits.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ VmMmapRndCompatBits
Returns a new instance of VmMmapRndCompatBits.
164 165 166 167 168 169 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 164 def initialize(args) @file = '/proc/sys/vm/mmap_rnd_compat_bits' @line = 'vm.mmap_rnd_compat_bits' super @exp = '16' end |