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
ea5d83db
Commit
ea5d83db
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mips: switch to generic compat rt_sigqueueinfo()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
45cb66f7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
18 deletions
+3
-18
arch/mips/Kconfig
arch/mips/Kconfig
+1
-0
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+1
-1
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+1
-1
arch/mips/kernel/signal32.c
arch/mips/kernel/signal32.c
+0
-16
No files found.
arch/mips/Kconfig
View file @
ea5d83db
...
...
@@ -42,6 +42,7 @@ config MIPS
select MODULES_USE_ELF_REL if MODULES
select MODULES_USE_ELF_RELA if MODULES && 64BIT
select GENERIC_SIGALTSTACK
select GENERIC_COMPAT_RT_SIGQUEUEINFO
select GENERIC_COMPAT_RT_SIGPROCMASK
select GENERIC_COMPAT_RT_SIGPENDING
...
...
arch/mips/kernel/scall64-n32.S
View file @
ea5d83db
...
...
@@ -231,7 +231,7 @@ EXPORT(sysn32_call_table)
PTR
sys_capset
PTR
compat_sys_rt_sigpending
/*
6125
*/
PTR
compat_sys_rt_sigtimedwait
PTR
sys_32
_rt_sigqueueinfo
PTR
compat_sys
_rt_sigqueueinfo
PTR
compat_sys_rt_sigsuspend
PTR
compat_sys_sigaltstack
PTR
compat_sys_utime
/*
6130
*/
...
...
arch/mips/kernel/scall64-o32.S
View file @
ea5d83db
...
...
@@ -390,7 +390,7 @@ sys_call_table:
PTR
compat_sys_rt_sigprocmask
/*
4195
*/
PTR
compat_sys_rt_sigpending
PTR
compat_sys_rt_sigtimedwait
PTR
sys_32
_rt_sigqueueinfo
PTR
compat_sys
_rt_sigqueueinfo
PTR
compat_sys_rt_sigsuspend
PTR
sys_32_pread
/*
4200
*/
PTR
sys_32_pwrite
...
...
arch/mips/kernel/signal32.c
View file @
ea5d83db
...
...
@@ -614,22 +614,6 @@ SYSCALL_DEFINE4(32_rt_sigaction, int, sig,
return
ret
;
}
SYSCALL_DEFINE3
(
32
_rt_sigqueueinfo
,
int
,
pid
,
int
,
sig
,
compat_siginfo_t
__user
*
,
uinfo
)
{
siginfo_t
info
;
int
ret
;
mm_segment_t
old_fs
=
get_fs
();
if
(
copy_from_user
(
&
info
,
uinfo
,
3
*
sizeof
(
int
))
||
copy_from_user
(
info
.
_sifields
.
_pad
,
uinfo
->
_sifields
.
_pad
,
SI_PAD_SIZE
))
return
-
EFAULT
;
set_fs
(
KERNEL_DS
);
ret
=
sys_rt_sigqueueinfo
(
pid
,
sig
,
(
siginfo_t
__user
*
)
&
info
);
set_fs
(
old_fs
);
return
ret
;
}
static
int
signal32_init
(
void
)
{
if
(
cpu_has_fpu
)
{
...
...
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