Class: Ardecy::Harden::Sysctl::Kernel::VmMmapRndBits

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