Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
1e7bfb21
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看板
提交
1e7bfb21
编写于
1月 14, 2009
作者:
H
Heiko Carstens
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CVE-2009-0029] System call wrappers part 27
Signed-off-by:
N
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
上级
c4ea37c2
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
18 addition
and
18 deletion
+18
-18
fs/exec.c
fs/exec.c
+1
-1
fs/filesystems.c
fs/filesystems.c
+1
-1
fs/nfsctl.c
fs/nfsctl.c
+2
-2
kernel/printk.c
kernel/printk.c
+1
-1
kernel/ptrace.c
kernel/ptrace.c
+1
-1
kernel/sysctl.c
kernel/sysctl.c
+2
-2
kernel/timer.c
kernel/timer.c
+1
-1
security/keys/keyctl.c
security/keys/keyctl.c
+9
-9
未找到文件。
fs/exec.c
浏览文件 @
1e7bfb21
...
...
@@ -99,7 +99,7 @@ static inline void put_binfmt(struct linux_binfmt * fmt)
*
* Also note that we take the address to load from from the file itself.
*/
asmlinkage
long
sys_uselib
(
const
char
__user
*
library
)
SYSCALL_DEFINE1
(
uselib
,
const
char
__user
*
,
library
)
{
struct
file
*
file
;
struct
nameidata
nd
;
...
...
fs/filesystems.c
浏览文件 @
1e7bfb21
...
...
@@ -179,7 +179,7 @@ static int fs_maxindex(void)
/*
* Whee.. Weird sysv syscall.
*/
asmlinkage
long
sys_sysfs
(
int
option
,
unsigned
long
arg1
,
unsigned
long
arg2
)
SYSCALL_DEFINE3
(
sysfs
,
int
,
option
,
unsigned
long
,
arg1
,
unsigned
long
,
arg2
)
{
int
retval
=
-
EINVAL
;
...
...
fs/nfsctl.c
浏览文件 @
1e7bfb21
...
...
@@ -86,8 +86,8 @@ static struct {
},
};
long
asmlinkage
sys_nfsservctl
(
int
cmd
,
struct
nfsctl_arg
__user
*
arg
,
void
__user
*
res
)
SYSCALL_DEFINE3
(
nfsservctl
,
int
,
cmd
,
struct
nfsctl_arg
__user
*
,
arg
,
void
__user
*
,
res
)
{
struct
file
*
file
;
void
__user
*
p
=
&
arg
->
u
;
...
...
kernel/printk.c
浏览文件 @
1e7bfb21
...
...
@@ -382,7 +382,7 @@ int do_syslog(int type, char __user *buf, int len)
return
error
;
}
asmlinkage
long
sys_syslog
(
int
type
,
char
__user
*
buf
,
int
len
)
SYSCALL_DEFINE3
(
syslog
,
int
,
type
,
char
__user
*
,
buf
,
int
,
len
)
{
return
do_syslog
(
type
,
buf
,
len
);
}
...
...
kernel/ptrace.c
浏览文件 @
1e7bfb21
...
...
@@ -574,7 +574,7 @@ struct task_struct *ptrace_get_task_struct(pid_t pid)
#define arch_ptrace_attach(child) do { } while (0)
#endif
asmlinkage
long
sys_ptrace
(
long
request
,
long
pid
,
long
addr
,
long
data
)
SYSCALL_DEFINE4
(
ptrace
,
long
,
request
,
long
,
pid
,
long
,
addr
,
long
,
data
)
{
struct
task_struct
*
child
;
long
ret
;
...
...
kernel/sysctl.c
浏览文件 @
1e7bfb21
...
...
@@ -1688,7 +1688,7 @@ int do_sysctl(int __user *name, int nlen, void __user *oldval, size_t __user *ol
return
error
;
}
asmlinkage
long
sys_sysctl
(
struct
__sysctl_args
__user
*
args
)
SYSCALL_DEFINE1
(
sysctl
,
struct
__sysctl_args
__user
*
,
args
)
{
struct
__sysctl_args
tmp
;
int
error
;
...
...
@@ -2989,7 +2989,7 @@ int sysctl_ms_jiffies(struct ctl_table *table,
#else
/* CONFIG_SYSCTL_SYSCALL */
asmlinkage
long
sys_sysctl
(
struct
__sysctl_args
__user
*
args
)
SYSCALL_DEFINE1
(
sysctl
,
struct
__sysctl_args
__user
*
,
args
)
{
struct
__sysctl_args
tmp
;
int
error
;
...
...
kernel/timer.c
浏览文件 @
1e7bfb21
...
...
@@ -1400,7 +1400,7 @@ int do_sysinfo(struct sysinfo *info)
return
0
;
}
asmlinkage
long
sys_sysinfo
(
struct
sysinfo
__user
*
info
)
SYSCALL_DEFINE1
(
sysinfo
,
struct
sysinfo
__user
*
,
info
)
{
struct
sysinfo
val
;
...
...
security/keys/keyctl.c
浏览文件 @
1e7bfb21
...
...
@@ -54,11 +54,11 @@ static int key_get_type_from_user(char *type,
* - returns the new key's serial number
* - implements add_key()
*/
asmlinkage
long
sys_add_key
(
const
char
__user
*
_type
,
const
char
__user
*
_description
,
const
void
__user
*
_payload
,
size_t
plen
,
key_serial_t
ringid
)
SYSCALL_DEFINE5
(
add_key
,
const
char
__user
*
,
_type
,
const
char
__user
*
,
_description
,
const
void
__user
*
,
_payload
,
size_t
,
plen
,
key_serial_t
,
ringid
)
{
key_ref_t
keyring_ref
,
key_ref
;
char
type
[
32
],
*
description
;
...
...
@@ -146,10 +146,10 @@ asmlinkage long sys_add_key(const char __user *_type,
* - if the _callout_info string is empty, it will be rendered as "-"
* - implements request_key()
*/
asmlinkage
long
sys_request_key
(
const
char
__user
*
_type
,
const
char
__user
*
_description
,
const
char
__user
*
_callout_info
,
key_serial_t
destringid
)
SYSCALL_DEFINE4
(
request_key
,
const
char
__user
*
,
_type
,
const
char
__user
*
,
_description
,
const
char
__user
*
,
_callout_info
,
key_serial_t
,
destringid
)
{
struct
key_type
*
ktype
;
struct
key
*
key
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录