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
4efc6555
Commit
4efc6555
authored
Sep 23, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Fix copy_siginfo() to copy all relevant bytes.
parent
464440a4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
arch/ia64/kernel/fw-emu.c
arch/ia64/kernel/fw-emu.c
+1
-1
include/asm-ia64/siginfo.h
include/asm-ia64/siginfo.h
+2
-2
No files found.
arch/ia64/kernel/fw-emu.c
View file @
4efc6555
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* PAL & SAL emulation.
* PAL & SAL emulation.
*
*
* Copyright (C) 1998-2001 Hewlett-Packard Co
* Copyright (C) 1998-2001 Hewlett-Packard Co
*
Copyright (C) 1998-2001
David Mosberger-Tang <davidm@hpl.hp.com>
*
David Mosberger-Tang <davidm@hpl.hp.com>
*
*
* For the HP simulator, this file gets include in boot/bootloader.c.
* For the HP simulator, this file gets include in boot/bootloader.c.
* For SoftSDV, this file gets included in sys_softsdv.c.
* For SoftSDV, this file gets included in sys_softsdv.c.
...
...
include/asm-ia64/siginfo.h
View file @
4efc6555
...
@@ -148,8 +148,8 @@ copy_siginfo (siginfo_t *to, siginfo_t *from)
...
@@ -148,8 +148,8 @@ copy_siginfo (siginfo_t *to, siginfo_t *from)
if
(
from
->
si_code
<
0
)
if
(
from
->
si_code
<
0
)
memcpy
(
to
,
from
,
sizeof
(
siginfo_t
));
memcpy
(
to
,
from
,
sizeof
(
siginfo_t
));
else
else
/* _sig
chld
is currently the largest know union member */
/* _sig
prof
is currently the largest know union member */
memcpy
(
to
,
from
,
4
*
sizeof
(
int
)
+
sizeof
(
from
->
_sifields
.
_sig
chld
));
memcpy
(
to
,
from
,
4
*
sizeof
(
int
)
+
sizeof
(
from
->
_sifields
.
_sig
prof
));
}
}
extern
int
copy_siginfo_from_user
(
siginfo_t
*
to
,
siginfo_t
*
from
);
extern
int
copy_siginfo_from_user
(
siginfo_t
*
to
,
siginfo_t
*
from
);
...
...
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