From 3923007430a8731b637f3874c839b6ebba40d421 Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Fri, 11 Apr 2025 20:51:24 +0800 Subject: [PATCH] Add the KSU_COMPAT_GET_CRED_RCU flag to the Makefile to support the compatibility feature --- kernel/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/Makefile b/kernel/Makefile index ce0c83ef..49eca2d5 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -141,6 +141,7 @@ ccflags-y += -DSAMSUNG_UH_DRIVER_EXIST endif ccflags-y += -DKSU_UMOUNT +ccflags-y += -DKSU_COMPAT_GET_CRED_RCU # Add the get_cred_rcu function to cred.h if not already present ifneq ($(shell grep -Eq "^static inline const struct cred \*get_cred_rcu" $(srctree)/include/linux/cred.h; echo $$?),0)