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
4cd2b2fa
Commit
4cd2b2fa
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
arm64: switch to generic compat rt_sigqueueinfo()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
67cf48fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
18 deletions
+1
-18
arch/arm64/Kconfig
arch/arm64/Kconfig
+1
-0
arch/arm64/kernel/signal32.c
arch/arm64/kernel/signal32.c
+0
-18
No files found.
arch/arm64/Kconfig
View file @
4cd2b2fa
...
...
@@ -8,6 +8,7 @@ config ARM64
select GENERIC_CLOCKEVENTS
select GENERIC_COMPAT_RT_SIGPENDING
select GENERIC_COMPAT_RT_SIGPROCMASK
select GENERIC_COMPAT_RT_SIGQUEUEINFO
select GENERIC_HARDIRQS_NO_DEPRECATED
select GENERIC_IOMAP
select GENERIC_IRQ_PROBE
...
...
arch/arm64/kernel/signal32.c
View file @
4cd2b2fa
...
...
@@ -693,24 +693,6 @@ int compat_setup_frame(int usig, struct k_sigaction *ka, sigset_t *set,
return
err
;
}
asmlinkage
int
compat_sys_rt_sigqueueinfo
(
int
pid
,
int
sig
,
compat_siginfo_t
__user
*
uinfo
)
{
siginfo_t
info
;
int
ret
;
mm_segment_t
old_fs
=
get_fs
();
ret
=
copy_siginfo_from_user32
(
&
info
,
uinfo
);
if
(
unlikely
(
ret
))
return
ret
;
set_fs
(
KERNEL_DS
);
/* The __user pointer cast is valid because of the set_fs() */
ret
=
sys_rt_sigqueueinfo
(
pid
,
sig
,
(
siginfo_t
__user
*
)
&
info
);
set_fs
(
old_fs
);
return
ret
;
}
void
compat_setup_restart_syscall
(
struct
pt_regs
*
regs
)
{
regs
->
regs
[
7
]
=
__NR_compat_restart_syscall
;
...
...
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