Fix spelling error in SELinux driver check to ensure current_sid function is recognized correctly
This commit is contained in:
@@ -102,7 +102,7 @@ ccflags-y += -DEXPECTED_SIZE=$(KSU_EXPECTED_SIZE)
|
|||||||
ccflags-y += -DEXPECTED_HASH=\"$(KSU_EXPECTED_HASH)\"
|
ccflags-y += -DEXPECTED_HASH=\"$(KSU_EXPECTED_HASH)\"
|
||||||
|
|
||||||
# SELinux 驱动程序检查
|
# SELinux 驱动程序检查
|
||||||
ifeq ($(shell grep -q " current_sid(void)" $(srctree)/security/selinux/include/objsec.h; echo $$?),0)
|
ifeq ($(shell grep -q "current_sid(void)" $(srctree)/security/selinux/include/objsec.h; echo $$?),0)
|
||||||
ccflags-y += -DKSU_COMPAT_HAS_CURRENT_SID
|
ccflags-y += -DKSU_COMPAT_HAS_CURRENT_SID
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user