Class: Ardecy::Harden::Sysctl::Kernel::BpfJitHarden
- Defined in:
- lib/ardecy/harden/sysctl/kernel.rb
Instance Method Summary collapse
-
#initialize(args) ⇒ BpfJitHarden
constructor
A new instance of BpfJitHarden.
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ BpfJitHarden
Returns a new instance of BpfJitHarden.
76 77 78 79 80 81 |
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 76 def initialize(args) @file = '/proc/sys/net/core/bpf_jit_harden' @line = 'net.core.bpf_jit_harden' super @exp = '2' end |