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
nexedi
linux
Commits
b31ba15f
Commit
b31ba15f
authored
Mar 20, 2003
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Mar 20, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] M68k: Signal updates
M68k: Update for signal changes in 2.5.60 (from Roman Zippel).
parent
c3347432
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
arch/m68k/kernel/process.c
arch/m68k/kernel/process.c
+1
-0
arch/m68k/kernel/signal.c
arch/m68k/kernel/signal.c
+6
-6
No files found.
arch/m68k/kernel/process.c
View file @
b31ba15f
...
...
@@ -42,6 +42,7 @@
static
struct
fs_struct
init_fs
=
INIT_FS
;
static
struct
files_struct
init_files
=
INIT_FILES
;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
(
init_signals
);
static
struct
sighand_struct
init_sighand
=
INIT_SIGHAND
(
init_sighand
);
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
union
thread_union
init_thread_union
...
...
arch/m68k/kernel/signal.c
View file @
b31ba15f
...
...
@@ -1019,7 +1019,7 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs *regs)
/* Restart the system call the same way as
if the process were not traced. */
struct
k_sigaction
*
ka
=
&
current
->
sig
->
action
[
signr
-
1
];
&
current
->
sig
hand
->
action
[
signr
-
1
];
int
has_handler
=
(
ka
->
sa
.
sa_handler
!=
SIG_IGN
&&
ka
->
sa
.
sa_handler
!=
SIG_DFL
);
...
...
@@ -1060,7 +1060,7 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs *regs)
}
}
ka
=
&
current
->
sig
->
action
[
signr
-
1
];
ka
=
&
current
->
sig
hand
->
action
[
signr
-
1
];
if
(
ka
->
sa
.
sa_handler
==
SIG_IGN
)
{
if
(
signr
!=
SIGCHLD
)
continue
;
...
...
@@ -1087,11 +1087,11 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs *regs)
/* FALLTHRU */
case
SIGSTOP
:
{
struct
sig
nal_struct
*
sig
;
struct
sig
hand_struct
*
sighand
;
current
->
state
=
TASK_STOPPED
;
current
->
exit_code
=
signr
;
sig
=
current
->
parent
->
sig
;
if
(
sig
&&
!
(
sig
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
sig
hand
=
current
->
parent
->
sighand
;
if
(
sig
hand
&&
!
(
sighand
->
action
[
SIGCHLD
-
1
].
sa
.
sa_flags
&
SA_NOCLDSTOP
))
notify_parent
(
current
,
SIGCHLD
);
schedule
();
...
...
@@ -1106,7 +1106,7 @@ asmlinkage int do_signal(sigset_t *oldset, struct pt_regs *regs)
/* FALLTHRU */
default:
sig_exit
(
signr
,
exit_code
,
&
info
);
do_group_exit
(
signr
);
/* NOTREACHED */
}
}
...
...
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