kernel: 移除 Makefile 中不必要的签名写入选项
This commit is contained in:
@@ -59,10 +59,6 @@ else
|
|||||||
$(info -- KPM is disabled)
|
$(info -- KPM is disabled)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# 写入签名
|
|
||||||
ccflags-y += -DEXPECTED_SIZE=$(KSU_EXPECTED_SIZE)
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user