[skip ci] kernel: just search for ksu_handle_devpts
* only to make 100% sure? Signed-off-by: rsuntk <rsuntk@yukiprjkt.my.id>
This commit is contained in:
@@ -99,8 +99,8 @@ endif
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# we have pts_unix98/devpts_get_priv hook compat !!
|
# we have pts_unix98/devpts_get_priv hook compat !!
|
||||||
KSU_HAS_DEVPTS_INODE := $(shell grep -q "int\s\+ksu_handle_devpts" $(srctree)/fs/devpts/inode.c; echo $$?)
|
KSU_HAS_DEVPTS_INODE := $(shell grep -q "ksu_handle_devpts" $(srctree)/fs/devpts/inode.c; echo $$?)
|
||||||
KSU_HAS_PTS_UNIX98 := $(shell grep -q "int\s\+ksu_handle_devpts" $(srctree)/drivers/tty/pty.c; echo $$?)
|
KSU_HAS_PTS_UNIX98 := $(shell grep -q "ksu_handle_devpts" $(srctree)/drivers/tty/pty.c; echo $$?)
|
||||||
|
|
||||||
# It's impossible to have them both! neither KSU_HAS_DEVPTS_INODE/PTS_UNIX98 will detect 1 value!
|
# It's impossible to have them both! neither KSU_HAS_DEVPTS_INODE/PTS_UNIX98 will detect 1 value!
|
||||||
# If both of them weren't exist, KSU_HAS_DEVPTS_HANDLER value gonna be 2.
|
# If both of them weren't exist, KSU_HAS_DEVPTS_HANDLER value gonna be 2.
|
||||||
|
|||||||
Reference in New Issue
Block a user