OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e6bfa
)
mn10300: avoid SIGSEGV delivery loop
author
Al Viro
<viro@ftp.linux.org.uk>
Sun, 26 Sep 2010 18:28:32 +0000
(19:28 +0100)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 27 Sep 2010 19:19:53 +0000
(12:19 -0700)
force_sigsegv() is there for purpose...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/signal.c
patch
|
blob
|
history
diff --git
a/arch/mn10300/kernel/signal.c
b/arch/mn10300/kernel/signal.c
index
717db14
..
57178a8
100644
(file)
--- a/
arch/mn10300/kernel/signal.c
+++ b/
arch/mn10300/kernel/signal.c
@@
-345,7
+345,7
@@
static int setup_frame(int sig, struct k_sigaction *ka, sigset_t *set,
return 0;
give_sigsegv:
- force_sig
(SIGSEGV
, current);
+ force_sig
segv(sig
, current);
return -EFAULT;
}
@@
-428,7
+428,7
@@
static int setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
return 0;
give_sigsegv:
- force_sig
(SIGSEGV
, current);
+ force_sig
segv(sig
, current);
return -EFAULT;
}