aliyun/plugsched

SYSCALL_DEFINE0 lead to interface functions not being replaced.

Opened this issue · 0 comments

SYSCALL_DEFINE0(sched_yield),SYSCALL_DEFINE0 has no arguments =>
__x64_sys_sched_yield is an alias to do_sched_yield =>
__x64_sys_sched_yield has no function body =>
GCC doesn't take it as a function =>
HIT the bug. =>
It's neither in interface list, nor in fn list =>
It's neither classified as an interface function, nor infected as an outsider function =>

sched_yield and its descendants are not replaced.