Class: Ardecy::Harden::Sysctl::Kernel::VmMmapRndBits
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ VmMmapRndBits
constructor
A new instance of VmMmapRndBits.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ VmMmapRndBits
Returns a new instance of VmMmapRndBits.
154 155 156 157 158 159 160 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 154 def initialize(args) @file = '/proc/sys/vm/mmap_rnd_bits' @line = 'vm.mmap_rnd_bits' @tab = 4 super @exp = '32' end |