ANDROID: Add vendor hooks when syscall prctl finished
Add vendor hook when syscall prctl finished for vendor-specific tuning. Bug: 181819699 Signed-off-by: Frankie Chang <frankie.chang@mediatek.com> Change-Id: Ica42d80ab4b540045330e9c5b211e0e814eed0ff (cherry picked from commit d150b26653e7a3d15383a09384aace140b537ff4)
This commit is contained in:
@@ -76,6 +76,8 @@
|
||||
|
||||
#include "uid16.h"
|
||||
|
||||
#include <trace/hooks/sys.h>
|
||||
|
||||
#ifndef SET_UNALIGN_CTL
|
||||
# define SET_UNALIGN_CTL(a, b) (-EINVAL)
|
||||
#endif
|
||||
@@ -2686,6 +2688,7 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3,
|
||||
error = -EINVAL;
|
||||
break;
|
||||
}
|
||||
trace_android_vh_syscall_prctl_finished(option, me);
|
||||
return error;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user