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
793af244
Commit
793af244
authored
Feb 01, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] s390 misc __user annotations
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
6b2b4e5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
arch/s390/kernel/sys_s390.c
arch/s390/kernel/sys_s390.c
+2
-2
arch/s390/kernel/traps.c
arch/s390/kernel/traps.c
+1
-1
include/asm-s390/uaccess.h
include/asm-s390/uaccess.h
+1
-1
No files found.
arch/s390/kernel/sys_s390.c
View file @
793af244
...
...
@@ -122,8 +122,8 @@ asmlinkage long old_mmap(struct mmap_arg_struct __user *arg)
#ifndef CONFIG_64BIT
struct
sel_arg_struct
{
unsigned
long
n
;
fd_set
*
inp
,
*
outp
,
*
exp
;
struct
timeval
*
tvp
;
fd_set
__user
*
inp
,
*
outp
,
*
exp
;
struct
timeval
__user
*
tvp
;
};
asmlinkage
long
old_select
(
struct
sel_arg_struct
__user
*
arg
)
...
...
arch/s390/kernel/traps.c
View file @
793af244
...
...
@@ -486,7 +486,7 @@ asmlinkage void illegal_op(struct pt_regs * regs, long interruption_code)
info
.
si_signo
=
signal
;
info
.
si_errno
=
0
;
info
.
si_code
=
ILL_ILLOPC
;
info
.
si_addr
=
(
void
*
)
location
;
info
.
si_addr
=
(
void
__user
*
)
location
;
do_trap
(
interruption_code
,
signal
,
"illegal operation"
,
regs
,
&
info
);
}
...
...
include/asm-s390/uaccess.h
View file @
793af244
...
...
@@ -61,7 +61,7 @@
#define segment_eq(a,b) ((a).ar4 == (b).ar4)
static
inline
int
__access_ok
(
const
void
*
addr
,
unsigned
long
size
)
static
inline
int
__access_ok
(
const
void
__user
*
addr
,
unsigned
long
size
)
{
return
1
;
}
...
...
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