Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4aaefee5
Commit
4aaefee5
authored
Nov 05, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
print_fatal_signal(): get rid of pt_regs argument
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
94eb22d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
kernel/signal.c
kernel/signal.c
+3
-2
No files found.
kernel/signal.c
View file @
4aaefee5
...
@@ -1159,8 +1159,9 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t,
...
@@ -1159,8 +1159,9 @@ static int send_signal(int sig, struct siginfo *info, struct task_struct *t,
return
__send_signal
(
sig
,
info
,
t
,
group
,
from_ancestor_ns
);
return
__send_signal
(
sig
,
info
,
t
,
group
,
from_ancestor_ns
);
}
}
static
void
print_fatal_signal
(
struct
pt_regs
*
regs
,
int
signr
)
static
void
print_fatal_signal
(
int
signr
)
{
{
struct
pt_regs
*
regs
=
signal_pt_regs
();
printk
(
"%s/%d: potentially unexpected fatal signal %d.
\n
"
,
printk
(
"%s/%d: potentially unexpected fatal signal %d.
\n
"
,
current
->
comm
,
task_pid_nr
(
current
),
signr
);
current
->
comm
,
task_pid_nr
(
current
),
signr
);
...
@@ -2349,7 +2350,7 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka,
...
@@ -2349,7 +2350,7 @@ int get_signal_to_deliver(siginfo_t *info, struct k_sigaction *return_ka,
if
(
sig_kernel_coredump
(
signr
))
{
if
(
sig_kernel_coredump
(
signr
))
{
if
(
print_fatal_signals
)
if
(
print_fatal_signals
)
print_fatal_signal
(
regs
,
info
->
si_signo
);
print_fatal_signal
(
info
->
si_signo
);
/*
/*
* If it was able to dump core, this kills all
* If it was able to dump core, this kills all
* other threads in the group and synchronizes with
* other threads in the group and synchronizes with
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment