# modprobe lkrg

# modinfo lkrg

filename:       /lib/modules/4.19.2-dragon-westmere/kernel/drivers/staging/lkrg/lkrg.ko
license:        GPL v2
description:    pi3s Linux kernel Runtime Guard
author:         Adam 'pi3' Zabrocki (http://pi3.com.pl)
srcversion:     FDBEAFFF180D01A14207A10
depends:        
staging:        Y
retpoline:      Y
intree:         Y
name:           lkrg
vermagic:       4.19.2-dragon-westmere SMP mod_unload 
sig_id:         PKCS#7
signer:         
sig_key:        
sig_hashalgo:   md4
signature:
parm:           p_init_log_level:Logging level init value [1 (alive) is default] (uint)


 Add file /etc/modprobe.d/lkrg.conf

and insert string options:

options lkrg p_init_log_level=3

By default 5 different options are available:

 # sysctl -a | egrep lkrg
 
lkrg.block_modules = 0
lkrg.ci_panic = 0
lkrg.clean_message = 1
lkrg.force_run = 0
lkrg.hide = 0
lkrg.log_level = 1
lkrg.random_events = 1
lkrg.timestamp = 15

Copyright © 1966-2018 AndyLavr All rights reserved.