Add samsung specific changes
This commit is contained in:
@@ -58,10 +58,6 @@
|
||||
#include <asm/cacheflush.h>
|
||||
#include <asm/syscall.h> /* for syscall_get_* */
|
||||
|
||||
#ifdef CONFIG_SAMSUNG_FREECESS
|
||||
#include <linux/freecess.h>
|
||||
#endif
|
||||
|
||||
#undef CREATE_TRACE_POINTS
|
||||
#include <trace/hooks/signal.h>
|
||||
#include <trace/hooks/dtask.h>
|
||||
@@ -1319,18 +1315,6 @@ 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);
|
||||
|
||||
#ifdef CONFIG_SAMSUNG_FREECESS
|
||||
/*
|
||||
* System will send SIGIO to the app that locked the file when other apps access the file.
|
||||
* Report SIGIO to prevent other apps from getting stuck
|
||||
*/
|
||||
if ((sig == SIGKILL || sig == SIGTERM || sig == SIGABRT || sig == SIGQUIT || sig == SIGIO)) {
|
||||
/* Report pid if signal is fatal */
|
||||
sig_report(p, sig != SIGIO);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (lock_task_sighand(p, &flags)) {
|
||||
ret = send_signal_locked(sig, info, p, type);
|
||||
unlock_task_sighand(p, &flags);
|
||||
|
Reference in New Issue
Block a user