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
df27570f
Commit
df27570f
authored
Oct 22, 2010
by
Andi Kleen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hwpoison-fixes-2.6.37' into hwpoison
parents
d4429f60
f7cb8b5f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
arch/ia64/include/asm/siginfo.h
arch/ia64/include/asm/siginfo.h
+1
-0
fs/signalfd.c
fs/signalfd.c
+10
-0
include/linux/signalfd.h
include/linux/signalfd.h
+2
-1
No files found.
arch/ia64/include/asm/siginfo.h
View file @
df27570f
...
...
@@ -62,6 +62,7 @@ typedef struct siginfo {
int
_imm
;
/* immediate value for "break" */
unsigned
int
_flags
;
/* see below */
unsigned
long
_isr
;
/* isr */
short
_addr_lsb
;
/* lsb of faulting address */
}
_sigfault
;
/* SIGPOLL */
...
...
fs/signalfd.c
View file @
df27570f
...
...
@@ -98,6 +98,16 @@ static int signalfd_copyinfo(struct signalfd_siginfo __user *uinfo,
err
|=
__put_user
((
long
)
kinfo
->
si_addr
,
&
uinfo
->
ssi_addr
);
#ifdef __ARCH_SI_TRAPNO
err
|=
__put_user
(
kinfo
->
si_trapno
,
&
uinfo
->
ssi_trapno
);
#endif
#ifdef BUS_MCEERR_AO
/*
* Other callers might not initialize the si_lsb field,
* so check explicitly for the right codes here.
*/
if
(
kinfo
->
si_code
==
BUS_MCEERR_AR
||
kinfo
->
si_code
==
BUS_MCEERR_AO
)
err
|=
__put_user
((
short
)
kinfo
->
si_addr_lsb
,
&
uinfo
->
ssi_addr_lsb
);
#endif
break
;
case
__SI_CHLD
:
...
...
include/linux/signalfd.h
View file @
df27570f
...
...
@@ -33,6 +33,7 @@ struct signalfd_siginfo {
__u64
ssi_utime
;
__u64
ssi_stime
;
__u64
ssi_addr
;
__u16
ssi_addr_lsb
;
/*
* Pad strcture to 128 bytes. Remember to update the
...
...
@@ -43,7 +44,7 @@ struct signalfd_siginfo {
* comes out of a read(2) and we really don't want to have
* a compat on read(2).
*/
__u8
__pad
[
4
8
];
__u8
__pad
[
4
6
];
};
...
...
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