diff --git a/kernel/selinux/rules.c b/kernel/selinux/rules.c index ea233690..ea4c9fad 100644 --- a/kernel/selinux/rules.c +++ b/kernel/selinux/rules.c @@ -168,7 +168,7 @@ static int get_object(char *buf, char __user *user_object, size_t buf_sz, // reset avc cache table, otherwise the new rules will not take effect if already denied static void reset_avc_cache() { -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 17, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 163) avc_ss_reset(0); #else struct selinux_avc *avc = selinux_state.avc;