Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
3480b257
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
3480b257
编写于
1月 14, 2009
作者:
H
Heiko Carstens
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CVE-2009-0029] System call wrappers part 14
Signed-off-by:
N
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
上级
6a6160a7
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
12 addition
and
12 deletion
+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
未找到文件。
fs/namei.c
浏览文件 @
3480b257
...
...
@@ -2017,7 +2017,7 @@ asmlinkage long sys_mknodat(int dfd, const char __user *filename, int mode,
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 @@ asmlinkage long sys_symlinkat(const char __user *oldname,
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 @@ asmlinkage long sys_linkat(int olddfd, const char __user *oldname,
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
浏览文件 @
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
浏览文件 @
3480b257
...
...
@@ -569,7 +569,7 @@ asmlinkage long sys_fchdir(unsigned int fd)
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
浏览文件 @
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
浏览文件 @
3480b257
...
...
@@ -177,8 +177,8 @@ static long do_mincore(unsigned long addr, unsigned char *vec, unsigned long pag
* 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
浏览文件 @
3480b257
...
...
@@ -595,7 +595,7 @@ static int do_mlockall(int flags)
return
0
;
}
asmlinkage
long
sys_mlockall
(
int
flags
)
SYSCALL_DEFINE1
(
mlockall
,
int
,
flags
)
{
unsigned
long
lock_limit
;
int
ret
=
-
EINVAL
;
...
...
@@ -623,7 +623,7 @@ asmlinkage long sys_mlockall(int flags)
return
ret
;
}
asmlinkage
long
sys_munlockall
(
void
)
SYSCALL_DEFINE0
(
munlockall
)
{
int
ret
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录