Brooklyn/grsecurity/grsec_time.c

17 lines
299 B
C
Raw Normal View History

2022-04-02 13:17:33 +00:00
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/grinternal.h>
#include <linux/module.h>
void
gr_log_timechange(void)
{
#ifdef CONFIG_GRKERNSEC_TIME
if (grsec_enable_time)
gr_log_noargs(GR_DONT_AUDIT_GOOD, GR_TIME_MSG);
#endif
return;
}
EXPORT_SYMBOL_GPL(gr_log_timechange);