[Feature][ZXW-452]merge P54U02 version
Only Configure: No
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No
Change-Id: I17e6795ab66e2b9d1cbbfec4b7c0028d666e177d
diff --git a/ap/os/linux/linux-3.4.x/fs/exec.c b/ap/os/linux/linux-3.4.x/fs/exec.c
index cde8181..7200df0 100755
--- a/ap/os/linux/linux-3.4.x/fs/exec.c
+++ b/ap/os/linux/linux-3.4.x/fs/exec.c
@@ -2327,7 +2327,7 @@
* user ramdump entry
*/
#ifdef CONFIG_RAMDUMP
- if(sysctl_ramdump_on_user)
+ if(sysctl_ramdump_on_user && (signr != SIGQUIT))
panic("User ramdump enabled, user panic\n");//ramdump_entry();
else
printk("User ramdump disabled, current process is: %s, pid is %i!\n", current->comm, current->pid);