kernel: fix anon_get_inode_* compat
* Yes, we don't have fancy secure fd thing on older kernels. Signed-off-by: Faris <rissu.ntk@gmail.com>
This commit is contained in:
@@ -124,6 +124,10 @@ ifeq ($(shell grep -q "__poll_t" $(srctree)/include/linux/poll.h; echo $$?),1)
|
||||
ccflags-y += -DKSU_NEED_POLL_T_DEF
|
||||
endif
|
||||
|
||||
ifeq ($(shell grep -q "anon_inode_getfd_secure" $(srctree)/fs/anon_inodes.c; echo $$?),0)
|
||||
ccflags-y += -DKSU_HAS_GETFD_SECURE
|
||||
endif
|
||||
|
||||
# Checks Samsung
|
||||
ifeq ($(shell grep -q "CONFIG_KDP_CRED" $(srctree)/kernel/cred.c; echo $$?),0)
|
||||
ccflags-y += -DSAMSUNG_UH_DRIVER_EXIST
|
||||
|
||||
Reference in New Issue
Block a user