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
441ff959
Commit
441ff959
authored
Dec 25, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: switch to generic compat rt_sigqueueinfo()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
cddc2da1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
19 deletions
+1
-19
arch/parisc/Kconfig
arch/parisc/Kconfig
+1
-0
arch/parisc/kernel/signal32.c
arch/parisc/kernel/signal32.c
+0
-19
No files found.
arch/parisc/Kconfig
View file @
441ff959
...
...
@@ -24,6 +24,7 @@ config PARISC
select MODULES_USE_ELF_RELA
select CLONE_BACKWARDS
select GENERIC_SIGALTSTACK
select GENERIC_COMPAT_RT_SIGQUEUEINFO
select GENERIC_COMPAT_RT_SIGPROCMASK
select GENERIC_COMPAT_RT_SIGPENDING
...
...
arch/parisc/kernel/signal32.c
View file @
441ff959
...
...
@@ -404,22 +404,3 @@ copy_siginfo_to_user32 (compat_siginfo_t __user *to, siginfo_t *from)
}
return
err
;
}
asmlinkage
long
compat_sys_rt_sigqueueinfo
(
int
pid
,
int
sig
,
struct
compat_siginfo
__user
*
uinfo
)
{
siginfo_t
info
;
if
(
copy_siginfo_from_user32
(
&
info
,
uinfo
))
return
-
EFAULT
;
/* Not even root can pretend to send signals from the kernel.
Nor can they impersonate a kill(), which adds source info. */
if
(
info
.
si_code
>=
0
)
return
-
EPERM
;
info
.
si_signo
=
sig
;
/* POSIX.1b doesn't mention process groups. */
return
kill_proc_info
(
sig
,
&
info
,
pid
);
}
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