Class: Ardecy::Harden::CmdLine::InitOnAlloc

Inherits:
LineInc
  • Object
show all
Defined in:
lib/ardecy/harden/cmdline.rb

Instance Method Summary collapse

Methods inherited from LineInc

#apply_bootctl, #apply_grub, #apply_syslinux, #fix, #get_bootctl_line, #get_grub_line, #get_syslinux_line, #scan, #write_to_grub, #x

Methods included from NiTo

#mv, #sed

Methods included from Display

#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title

Constructor Details

#initialize(args) ⇒ InitOnAlloc

Returns a new instance of InitOnAlloc.



144
145
146
147
# File 'lib/ardecy/harden/cmdline.rb', line 144

def initialize(args)
  super
  @name = 'init_on_alloc=1'
end