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
e110ab94
Commit
e110ab94
authored
Feb 01, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix __user annotations in fs/select.c
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
3023b438
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
fs/select.c
fs/select.c
+2
-2
No files found.
fs/select.c
View file @
e110ab94
...
@@ -510,9 +510,9 @@ asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
...
@@ -510,9 +510,9 @@ asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
if
(
sig
)
{
if
(
sig
)
{
if
(
!
access_ok
(
VERIFY_READ
,
sig
,
sizeof
(
void
*
)
+
sizeof
(
size_t
))
if
(
!
access_ok
(
VERIFY_READ
,
sig
,
sizeof
(
void
*
)
+
sizeof
(
size_t
))
||
__get_user
(
up
,
(
sigset_t
*
__user
*
)
sig
)
||
__get_user
(
up
,
(
sigset_t
__user
*
__user
*
)
sig
)
||
__get_user
(
sigsetsize
,
||
__get_user
(
sigsetsize
,
(
size_t
*
__user
)(
sig
+
sizeof
(
void
*
))))
(
size_t
__user
*
)(
sig
+
sizeof
(
void
*
))))
return
-
EFAULT
;
return
-
EFAULT
;
}
}
...
...
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