ANDROID: Add vendor hooks to signal.
Add vendor hook to get signal for vendor-specific tuning. Bug: 184898838 Signed-off-by: Zhuguangqing <zhuguangqing@xiaomi.com> Change-Id: I83a28b0a6eb413976f4c57f2314d008ad792fa0d
This commit is contained in:

committed by
Guangqing Zhu

parent
128b8a7ad2
commit
d623f1ff72
@@ -57,6 +57,8 @@
|
||||
#include <asm/siginfo.h>
|
||||
#include <asm/cacheflush.h>
|
||||
|
||||
#undef CREATE_TRACE_POINTS
|
||||
#include <trace/hooks/signal.h>
|
||||
/*
|
||||
* SLAB caches for signal bits.
|
||||
*/
|
||||
@@ -1299,7 +1301,7 @@ int do_send_sig_info(int sig, struct kernel_siginfo *info, struct task_struct *p
|
||||
{
|
||||
unsigned long flags;
|
||||
int ret = -ESRCH;
|
||||
|
||||
trace_android_vh_do_send_sig_info(sig, current, p);
|
||||
if (lock_task_sighand(p, &flags)) {
|
||||
ret = send_signal(sig, info, p, type);
|
||||
unlock_task_sighand(p, &flags);
|
||||
|
Reference in New Issue
Block a user