Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
6a6160a7
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6a6160a7
编写于
1月 14, 2009
作者:
H
Heiko Carstens
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CVE-2009-0029] System call wrappers part 13
Signed-off-by:
N
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
上级
64fd1de3
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
20 addition
and
22 deletion
+20
-22
fs/xattr.c
fs/xattr.c
+3
-4
mm/fremap.c
mm/fremap.c
+2
-2
mm/mlock.c
mm/mlock.c
+2
-2
mm/mmap.c
mm/mmap.c
+2
-2
mm/mprotect.c
mm/mprotect.c
+2
-2
mm/mremap.c
mm/mremap.c
+3
-3
mm/msync.c
mm/msync.c
+1
-1
mm/nommu.c
mm/nommu.c
+5
-6
未找到文件。
fs/xattr.c
浏览文件 @
6a6160a7
...
...
@@ -499,8 +499,8 @@ SYSCALL_DEFINE2(removexattr, const char __user *, pathname,
return
error
;
}
asmlinkage
long
sys_lremovexattr
(
const
char
__user
*
pathname
,
const
char
__user
*
name
)
SYSCALL_DEFINE2
(
lremovexattr
,
const
char
__user
*
,
pathname
,
const
char
__user
*
,
name
)
{
struct
path
path
;
int
error
;
...
...
@@ -517,8 +517,7 @@ sys_lremovexattr(const char __user *pathname, const char __user *name)
return
error
;
}
asmlinkage
long
sys_fremovexattr
(
int
fd
,
const
char
__user
*
name
)
SYSCALL_DEFINE2
(
fremovexattr
,
int
,
fd
,
const
char
__user
*
,
name
)
{
struct
file
*
f
;
struct
dentry
*
dentry
;
...
...
mm/fremap.c
浏览文件 @
6a6160a7
...
...
@@ -120,8 +120,8 @@ static int populate_range(struct mm_struct *mm, struct vm_area_struct *vma,
* and the vma's default protection is used. Arbitrary protections
* might be implemented in the future.
*/
asmlinkage
long
sys_remap_file_pages
(
unsigned
long
start
,
unsigned
long
size
,
unsigned
long
prot
,
unsigned
long
pgoff
,
unsigned
long
flags
)
SYSCALL_DEFINE5
(
remap_file_pages
,
unsigned
long
,
start
,
unsigned
long
,
size
,
unsigned
long
,
prot
,
unsigned
long
,
pgoff
,
unsigned
long
,
flags
)
{
struct
mm_struct
*
mm
=
current
->
mm
;
struct
address_space
*
mapping
;
...
...
mm/mlock.c
浏览文件 @
6a6160a7
...
...
@@ -530,7 +530,7 @@ static int do_mlock(unsigned long start, size_t len, int on)
return
error
;
}
asmlinkage
long
sys_mlock
(
unsigned
long
start
,
size_t
len
)
SYSCALL_DEFINE2
(
mlock
,
unsigned
long
,
start
,
size_t
,
len
)
{
unsigned
long
locked
;
unsigned
long
lock_limit
;
...
...
@@ -558,7 +558,7 @@ asmlinkage long sys_mlock(unsigned long start, size_t len)
return
error
;
}
asmlinkage
long
sys_munlock
(
unsigned
long
start
,
size_t
len
)
SYSCALL_DEFINE2
(
munlock
,
unsigned
long
,
start
,
size_t
,
len
)
{
int
ret
;
...
...
mm/mmap.c
浏览文件 @
6a6160a7
...
...
@@ -245,7 +245,7 @@ static struct vm_area_struct *remove_vma(struct vm_area_struct *vma)
return
next
;
}
asmlinkage
long
sys_brk
(
unsigned
long
brk
)
SYSCALL_DEFINE1
(
brk
,
unsigned
long
,
brk
)
{
unsigned
long
rlim
,
retval
;
unsigned
long
newbrk
,
oldbrk
;
...
...
@@ -1948,7 +1948,7 @@ int do_munmap(struct mm_struct *mm, unsigned long start, size_t len)
EXPORT_SYMBOL
(
do_munmap
);
asmlinkage
long
sys_munmap
(
unsigned
long
addr
,
size_t
len
)
SYSCALL_DEFINE2
(
munmap
,
unsigned
long
,
addr
,
size_t
,
len
)
{
int
ret
;
struct
mm_struct
*
mm
=
current
->
mm
;
...
...
mm/mprotect.c
浏览文件 @
6a6160a7
...
...
@@ -217,8 +217,8 @@ mprotect_fixup(struct vm_area_struct *vma, struct vm_area_struct **pprev,
return
error
;
}
asmlinkage
long
sys_mprotect
(
unsigned
long
start
,
size_t
len
,
unsigned
long
prot
)
SYSCALL_DEFINE3
(
mprotect
,
unsigned
long
,
start
,
size_t
,
len
,
unsigned
long
,
prot
)
{
unsigned
long
vm_flags
,
nstart
,
end
,
tmp
,
reqprot
;
struct
vm_area_struct
*
vma
,
*
prev
;
...
...
mm/mremap.c
浏览文件 @
6a6160a7
...
...
@@ -420,9 +420,9 @@ unsigned long do_mremap(unsigned long addr,
return
ret
;
}
asmlinkage
long
sys_mremap
(
unsigned
long
addr
,
unsigned
long
old_len
,
unsigned
long
new_len
,
unsigned
long
flags
,
unsigned
long
new_addr
)
SYSCALL_DEFINE5
(
mremap
,
unsigned
long
,
addr
,
unsigned
long
,
old_len
,
unsigned
long
,
new_len
,
unsigned
long
,
flags
,
unsigned
long
,
new_addr
)
{
unsigned
long
ret
;
...
...
mm/msync.c
浏览文件 @
6a6160a7
...
...
@@ -28,7 +28,7 @@
* So by _not_ starting I/O in MS_ASYNC we provide complete flexibility to
* applications.
*/
asmlinkage
long
sys_msync
(
unsigned
long
start
,
size_t
len
,
int
flags
)
SYSCALL_DEFINE3
(
msync
,
unsigned
long
,
start
,
size_t
,
len
,
int
,
flags
)
{
unsigned
long
end
;
struct
mm_struct
*
mm
=
current
->
mm
;
...
...
mm/nommu.c
浏览文件 @
6a6160a7
...
...
@@ -416,7 +416,7 @@ EXPORT_SYMBOL(vm_insert_page);
* to a regular file. in this case, the unmapping will need
* to invoke file system routines that need the global lock.
*/
asmlinkage
long
sys_brk
(
unsigned
long
brk
)
SYSCALL_DEFINE1
(
brk
,
unsigned
long
,
brk
)
{
struct
mm_struct
*
mm
=
current
->
mm
;
...
...
@@ -1573,7 +1573,7 @@ int do_munmap(struct mm_struct *mm, unsigned long start, size_t len)
}
EXPORT_SYMBOL
(
do_munmap
);
asmlinkage
long
sys_munmap
(
unsigned
long
addr
,
size_t
len
)
SYSCALL_DEFINE2
(
munmap
,
unsigned
long
,
addr
,
size_t
,
len
)
{
int
ret
;
struct
mm_struct
*
mm
=
current
->
mm
;
...
...
@@ -1657,10 +1657,9 @@ unsigned long do_mremap(unsigned long addr,
}
EXPORT_SYMBOL
(
do_mremap
);
asmlinkage
unsigned
long
sys_mremap
(
unsigned
long
addr
,
unsigned
long
old_len
,
unsigned
long
new_len
,
unsigned
long
flags
,
unsigned
long
new_addr
)
SYSCALL_DEFINE5
(
mremap
,
unsigned
long
,
addr
,
unsigned
long
,
old_len
,
unsigned
long
,
new_len
,
unsigned
long
,
flags
,
unsigned
long
,
new_addr
)
{
unsigned
long
ret
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录