import G965FXXU7DTAA OSRC
*First release for Android (Q). Signed-off-by: FAROVITUS <farovitus@gmail.com>
This commit is contained in:
parent
856452b4f2
commit
2b92eefa41
7696 changed files with 3763754 additions and 92661 deletions
|
@ -44,6 +44,9 @@
|
|||
#include <asm/siginfo.h>
|
||||
#include <asm/cacheflush.h>
|
||||
#include "audit.h" /* audit_signal_info() */
|
||||
#ifdef CONFIG_SAMSUNG_FREECESS
|
||||
#include <linux/freecess.h>
|
||||
#endif
|
||||
|
||||
/*
|
||||
* SLAB caches for signal bits.
|
||||
|
@ -1147,6 +1150,12 @@ int do_send_sig_info(int sig, struct siginfo *info, struct task_struct *p,
|
|||
unsigned long flags;
|
||||
int ret = -ESRCH;
|
||||
|
||||
#ifdef CONFIG_SAMSUNG_FREECESS
|
||||
if ((sig == SIGKILL || sig == SIGTERM || sig == SIGABRT || sig == SIGQUIT))
|
||||
sig_report(current, p);
|
||||
|
||||
#endif
|
||||
|
||||
if (lock_task_sighand(p, &flags)) {
|
||||
ret = send_signal(sig, info, p, group);
|
||||
unlock_task_sighand(p, &flags);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue