Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
3480b257
Commit
3480b257
authored
Jan 14, 2009
by
Heiko Carstens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
CVE-2009
-0029] System call wrappers part 14
Signed-off-by:
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
parent
6a6160a7
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
fs/namei.c
fs/namei.c
+4
-4
fs/namespace.c
fs/namespace.c
+2
-2
fs/open.c
fs/open.c
+1
-1
mm/madvise.c
mm/madvise.c
+1
-1
mm/mincore.c
mm/mincore.c
+2
-2
mm/mlock.c
mm/mlock.c
+2
-2
No files found.
fs/namei.c
View file @
3480b257
...
...
@@ -2017,7 +2017,7 @@ out_unlock:
return
error
;
}
asmlinkage
long
sys_mknod
(
const
char
__user
*
filename
,
int
mode
,
unsigned
dev
)
SYSCALL_DEFINE3
(
mknod
,
const
char
__user
*
,
filename
,
int
,
mode
,
unsigned
,
dev
)
{
return
sys_mknodat
(
AT_FDCWD
,
filename
,
mode
,
dev
);
}
...
...
@@ -2302,7 +2302,7 @@ asmlinkage long sys_unlinkat(int dfd, const char __user *pathname, int flag)
return
do_unlinkat
(
dfd
,
pathname
);
}
asmlinkage
long
sys_unlink
(
const
char
__user
*
pathname
)
SYSCALL_DEFINE1
(
unlink
,
const
char
__user
*
,
pathname
)
{
return
do_unlinkat
(
AT_FDCWD
,
pathname
);
}
...
...
@@ -2370,7 +2370,7 @@ out_putname:
return
error
;
}
asmlinkage
long
sys_symlink
(
const
char
__user
*
oldname
,
const
char
__user
*
newname
)
SYSCALL_DEFINE2
(
symlink
,
const
char
__user
*
,
oldname
,
const
char
__user
*
,
newname
)
{
return
sys_symlinkat
(
oldname
,
AT_FDCWD
,
newname
);
}
...
...
@@ -2473,7 +2473,7 @@ out:
return
error
;
}
asmlinkage
long
sys_link
(
const
char
__user
*
oldname
,
const
char
__user
*
newname
)
SYSCALL_DEFINE2
(
link
,
const
char
__user
*
,
oldname
,
const
char
__user
*
,
newname
)
{
return
sys_linkat
(
AT_FDCWD
,
oldname
,
AT_FDCWD
,
newname
,
0
);
}
...
...
fs/namespace.c
View file @
3480b257
...
...
@@ -2171,8 +2171,8 @@ static void chroot_fs_refs(struct path *old_root, struct path *new_root)
* though, so you may need to say mount --bind /nfs/my_root /nfs/my_root
* first.
*/
asmlinkage
long
sys_pivot_root
(
const
char
__user
*
new_root
,
const
char
__user
*
put_old
)
SYSCALL_DEFINE2
(
pivot_root
,
const
char
__user
*
,
new_root
,
const
char
__user
*
,
put_old
)
{
struct
vfsmount
*
tmp
;
struct
path
new
,
old
,
parent_path
,
root_parent
,
root
;
...
...
fs/open.c
View file @
3480b257
...
...
@@ -569,7 +569,7 @@ out:
return
error
;
}
asmlinkage
long
sys_chroot
(
const
char
__user
*
filename
)
SYSCALL_DEFINE1
(
chroot
,
const
char
__user
*
,
filename
)
{
struct
path
path
;
int
error
;
...
...
mm/madvise.c
View file @
3480b257
...
...
@@ -281,7 +281,7 @@ madvise_vma(struct vm_area_struct *vma, struct vm_area_struct **prev,
* -EBADF - map exists, but area maps something that isn't a file.
* -EAGAIN - a kernel resource was temporarily unavailable.
*/
asmlinkage
long
sys_madvise
(
unsigned
long
start
,
size_t
len_in
,
int
behavior
)
SYSCALL_DEFINE3
(
madvise
,
unsigned
long
,
start
,
size_t
,
len_in
,
int
,
behavior
)
{
unsigned
long
end
,
tmp
;
struct
vm_area_struct
*
vma
,
*
prev
;
...
...
mm/mincore.c
View file @
3480b257
...
...
@@ -177,8 +177,8 @@ none_mapped:
* mapped
* -EAGAIN - A kernel resource was temporarily unavailable.
*/
asmlinkage
long
sys_mincore
(
unsigned
long
start
,
size_t
len
,
unsigned
char
__user
*
vec
)
SYSCALL_DEFINE3
(
mincore
,
unsigned
long
,
start
,
size_t
,
len
,
unsigned
char
__user
*
,
vec
)
{
long
retval
;
unsigned
long
pages
;
...
...
mm/mlock.c
View file @
3480b257
...
...
@@ -595,7 +595,7 @@ out:
return
0
;
}
asmlinkage
long
sys_mlockall
(
int
flags
)
SYSCALL_DEFINE1
(
mlockall
,
int
,
flags
)
{
unsigned
long
lock_limit
;
int
ret
=
-
EINVAL
;
...
...
@@ -623,7 +623,7 @@ out:
return
ret
;
}
asmlinkage
long
sys_munlockall
(
void
)
SYSCALL_DEFINE0
(
munlockall
)
{
int
ret
;
...
...
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