Module: Ardecy::Harden::Sysctl::Kernel

Defined in:
lib/ardecy/harden/sysctl/kernel.rb

Defined Under Namespace

Classes: BpfDisabled, BpfJitHarden, Dmesg, FsProtectedFifos, FsProtectedHardlinks, FsProtectedRegular, FsProtectedSymlinks, FsSuidDumpable, KExecLoadDisabled, KPointer, LdiskAutoload, MaxUserNameSpace, PerfEventParanoid, Printk, SysRQ, UserFaultFd, UsernsClone, VmMmapRndBits, VmMmapRndCompatBits, YamaPtrace

Class Method Summary collapse

Class Method Details

.exec(args) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/ardecy/harden/sysctl/kernel.rb', line 7

def self.exec(args)
  Kernel::KPointer.new(args).x
  Kernel::Dmesg.new(args).x
  Kernel::Printk.new(args).x
  Kernel::BpfDisabled.new(args).x
  Kernel::BpfJitHarden.new(args).x
  Kernel::LdiskAutoload.new(args).x
  Kernel::UserFaultFd.new(args).x
  Kernel::KExecLoadDisabled.new(args).x
  Kernel::SysRQ.new(args).x
  Kernel::UsernsClone.new(args).x
  Kernel::MaxUserNameSpace.new(args).x
  Kernel::PerfEventParanoid.new(args).x
  Kernel::YamaPtrace.new(args).x
  Kernel::VmMmapRndBits.new(args).x
  Kernel::VmMmapRndCompatBits.new(args).x
  Kernel::FsProtectedSymlinks.new(args).x
  Kernel::FsProtectedHardlinks.new(args).x
  Kernel::FsProtectedFifos.new(args).x
  Kernel::FsProtectedRegular.new(args).x
  Kernel::FsSuidDumpable.new(args).x
end