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
e6a7ad51
Commit
e6a7ad51
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: switch to generic compat rt_sigprocmask()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
6e26aab9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
36 deletions
+2
-36
arch/parisc/Kconfig
arch/parisc/Kconfig
+1
-0
arch/parisc/kernel/signal32.c
arch/parisc/kernel/signal32.c
+0
-35
arch/parisc/kernel/syscall_table.S
arch/parisc/kernel/syscall_table.S
+1
-1
No files found.
arch/parisc/Kconfig
View file @
e6a7ad51
...
...
@@ -24,6 +24,7 @@ config PARISC
select MODULES_USE_ELF_RELA
select CLONE_BACKWARDS
select GENERIC_SIGALTSTACK
select GENERIC_COMPAT_RT_SIGPROCMASK
help
The PA-RISC microprocessor is designed by Hewlett-Packard and used
...
...
arch/parisc/kernel/signal32.c
View file @
e6a7ad51
...
...
@@ -72,41 +72,6 @@ put_sigset32(compat_sigset_t __user *up, sigset_t *set, size_t sz)
return
copy_to_user
(
up
,
&
s
,
sizeof
s
);
}
static
int
get_sigset32
(
compat_sigset_t
__user
*
up
,
sigset_t
*
set
,
size_t
sz
)
{
compat_sigset_t
s
;
int
r
;
if
(
sz
!=
sizeof
*
set
)
return
-
EINVAL
;
if
((
r
=
copy_from_user
(
&
s
,
up
,
sz
))
==
0
)
{
sigset_32to64
(
set
,
&
s
);
}
return
r
;
}
int
sys32_rt_sigprocmask
(
int
how
,
compat_sigset_t
__user
*
set
,
compat_sigset_t
__user
*
oset
,
unsigned
int
sigsetsize
)
{
sigset_t
old_set
,
new_set
;
int
ret
;
if
(
set
&&
get_sigset32
(
set
,
&
new_set
,
sigsetsize
))
return
-
EFAULT
;
KERNEL_SYSCALL
(
ret
,
sys_rt_sigprocmask
,
how
,
set
?
(
sigset_t
__user
*
)
&
new_set
:
NULL
,
oset
?
(
sigset_t
__user
*
)
&
old_set
:
NULL
,
sigsetsize
);
if
(
!
ret
&&
oset
&&
put_sigset32
(
oset
,
&
old_set
,
sigsetsize
))
return
-
EFAULT
;
return
ret
;
}
int
sys32_rt_sigpending
(
compat_sigset_t
__user
*
uset
,
unsigned
int
sigsetsize
)
{
int
ret
;
...
...
arch/parisc/kernel/syscall_table.S
View file @
e6a7ad51
...
...
@@ -266,7 +266,7 @@
/
*
signals
need
a
careful
review
*/
ENTRY_SAME
(
rt_sigreturn_wrapper
)
ENTRY_DIFF
(
rt_sigaction
)
ENTRY_
DIFF
(
rt_sigprocmask
)
/*
175
*/
ENTRY_
COMP
(
rt_sigprocmask
)
/*
175
*/
ENTRY_DIFF
(
rt_sigpending
)
ENTRY_COMP
(
rt_sigtimedwait
)
/
*
even
though
the
struct
siginfo_t
is
different
,
it
appears
like
...
...
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