Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
47b3ae9b
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看板
提交
47b3ae9b
编写于
2月 27, 2014
作者:
H
Heiko Carstens
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
s390/compat: convert system call wrappers to C part 08
Signed-off-by:
N
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
上级
0ebe3eec
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
66 deletion
+20
-66
arch/s390/kernel/compat_wrap.c
arch/s390/kernel/compat_wrap.c
+10
-0
arch/s390/kernel/compat_wrapper.S
arch/s390/kernel/compat_wrapper.S
+0
-56
arch/s390/kernel/syscalls.S
arch/s390/kernel/syscalls.S
+10
-10
未找到文件。
arch/s390/kernel/compat_wrap.c
浏览文件 @
47b3ae9b
...
...
@@ -94,3 +94,13 @@ COMPAT_SYSCALL_WRAP2(getcwd, char __user *, buf, u32, size);
COMPAT_SYSCALL_WRAP2
(
capget
,
cap_user_header_t
,
header
,
cap_user_data_t
,
dataptr
);
COMPAT_SYSCALL_WRAP2
(
capset
,
cap_user_header_t
,
header
,
const
cap_user_data_t
,
data
);
COMPAT_SYSCALL_WRAP3
(
lchown
,
const
char
__user
*
,
filename
,
compat_uid_t
,
user
,
compat_gid_t
,
group
);
COMPAT_SYSCALL_WRAP2
(
setreuid
,
compat_uid_t
,
ruid
,
compat_uid_t
,
euid
);
COMPAT_SYSCALL_WRAP2
(
setregid
,
compat_gid_t
,
rgid
,
compat_gid_t
,
egid
);
COMPAT_SYSCALL_WRAP2
(
getgroups
,
int
,
gidsetsize
,
compat_gid_t
__user
*
,
grouplist
);
COMPAT_SYSCALL_WRAP2
(
setgroups
,
int
,
gidsetsize
,
compat_gid_t
__user
*
,
grouplist
);
COMPAT_SYSCALL_WRAP3
(
fchown
,
unsigned
int
,
fd
,
compat_uid_t
,
user
,
compat_gid_t
,
group
);
COMPAT_SYSCALL_WRAP3
(
setresuid
,
compat_uid_t
,
ruid
,
compat_uid_t
,
euid
,
compat_uid_t
,
suid
);
COMPAT_SYSCALL_WRAP3
(
getresuid
,
compat_uid_t
__user
*
,
ruid
,
compat_uid_t
__user
*
,
euid
,
compat_uid_t
__user
*
,
suid
);
COMPAT_SYSCALL_WRAP3
(
setresgid
,
compat_gid_t
,
rgid
,
compat_gid_t
,
egid
,
compat_gid_t
,
sgid
);
COMPAT_SYSCALL_WRAP3
(
getresgid
,
compat_gid_t
__user
*
,
rgid
,
compat_gid_t
__user
*
,
egid
,
compat_gid_t
__user
*
,
sgid
);
COMPAT_SYSCALL_WRAP3
(
chown
,
const
char
__user
*
,
filename
,
compat_uid_t
,
user
,
compat_gid_t
,
group
);
arch/s390/kernel/compat_wrapper.S
浏览文件 @
47b3ae9b
...
...
@@ -159,62 +159,6 @@ ENTRY(compat_sys_nanosleep_wrapper)
llgtr
%
r3
,%
r3
#
struct
compat_timespec
*
jg
compat_sys_nanosleep
#
branch
to
system
call
ENTRY
(
sys32_setreuid_wrapper
)
llgfr
%
r2
,%
r2
#
uid_t
llgfr
%
r3
,%
r3
#
uid_t
jg
sys_setreuid
#
branch
to
system
call
ENTRY
(
sys32_setregid_wrapper
)
llgfr
%
r2
,%
r2
#
gid_t
llgfr
%
r3
,%
r3
#
gid_t
jg
sys_setregid
#
branch
to
system
call
ENTRY
(
sys32_getgroups_wrapper
)
lgfr
%
r2
,%
r2
#
int
llgtr
%
r3
,%
r3
#
gid_t
*
jg
sys_getgroups
#
branch
to
system
call
ENTRY
(
sys32_setgroups_wrapper
)
lgfr
%
r2
,%
r2
#
int
llgtr
%
r3
,%
r3
#
gid_t
*
jg
sys_setgroups
#
branch
to
system
call
ENTRY
(
sys32_fchown_wrapper
)
llgfr
%
r2
,%
r2
#
unsigned
int
llgfr
%
r3
,%
r3
#
uid_t
llgfr
%
r4
,%
r4
#
gid_t
jg
sys_fchown
#
branch
to
system
call
ENTRY
(
sys32_setresuid_wrapper
)
llgfr
%
r2
,%
r2
#
uid_t
llgfr
%
r3
,%
r3
#
uid_t
llgfr
%
r4
,%
r4
#
uid_t
jg
sys_setresuid
#
branch
to
system
call
ENTRY
(
sys32_getresuid_wrapper
)
llgtr
%
r2
,%
r2
#
uid_t
*
llgtr
%
r3
,%
r3
#
uid_t
*
llgtr
%
r4
,%
r4
#
uid_t
*
jg
sys_getresuid
#
branch
to
system
call
ENTRY
(
sys32_setresgid_wrapper
)
llgfr
%
r2
,%
r2
#
gid_t
llgfr
%
r3
,%
r3
#
gid_t
llgfr
%
r4
,%
r4
#
gid_t
jg
sys_setresgid
#
branch
to
system
call
ENTRY
(
sys32_getresgid_wrapper
)
llgtr
%
r2
,%
r2
#
gid_t
*
llgtr
%
r3
,%
r3
#
gid_t
*
llgtr
%
r4
,%
r4
#
gid_t
*
jg
sys_getresgid
#
branch
to
system
call
ENTRY
(
sys32_chown_wrapper
)
llgtr
%
r2
,%
r2
#
const
char
*
llgfr
%
r3
,%
r3
#
uid_t
llgfr
%
r4
,%
r4
#
gid_t
jg
sys_chown
#
branch
to
system
call
ENTRY
(
sys32_setuid_wrapper
)
llgfr
%
r2
,%
r2
#
uid_t
jg
sys_setuid
#
branch
to
system
call
...
...
arch/s390/kernel/syscalls.S
浏览文件 @
47b3ae9b
...
...
@@ -211,16 +211,16 @@ SYSCALL(sys_getuid,sys_getuid,sys_getuid)
SYSCALL
(
sys_getgid
,
sys_getgid
,
sys_getgid
)
/
*
200
*/
SYSCALL
(
sys_geteuid
,
sys_geteuid
,
sys_geteuid
)
SYSCALL
(
sys_getegid
,
sys_getegid
,
sys_getegid
)
SYSCALL
(
sys_setreuid
,
sys_setreuid
,
sys32_setreuid_wrapper
)
SYSCALL
(
sys_setregid
,
sys_setregid
,
sys32_setregid_wrapper
)
SYSCALL
(
sys_getgroups
,
sys_getgroups
,
sys32_getgroups_wrapper
)
/
*
205
*/
SYSCALL
(
sys_setgroups
,
sys_setgroups
,
sys32_setgroups_wrapper
)
SYSCALL
(
sys_fchown
,
sys_fchown
,
sys32_fchown_wrapper
)
SYSCALL
(
sys_setresuid
,
sys_setresuid
,
sys32_setresuid_wrapper
)
SYSCALL
(
sys_getresuid
,
sys_getresuid
,
sys32_getresuid_wrapper
)
SYSCALL
(
sys_setresgid
,
sys_setresgid
,
sys32_setresgid_wrapper
)
/
*
210
*/
SYSCALL
(
sys_getresgid
,
sys_getresgid
,
sys32_getresgid_wrapper
)
SYSCALL
(
sys_chown
,
sys_chown
,
sys32_chown_wrapper
)
SYSCALL
(
sys_setreuid
,
sys_setreuid
,
compat_sys_setreuid
)
SYSCALL
(
sys_setregid
,
sys_setregid
,
compat_sys_setregid
)
SYSCALL
(
sys_getgroups
,
sys_getgroups
,
compat_sys_getgroups
)
/
*
205
*/
SYSCALL
(
sys_setgroups
,
sys_setgroups
,
compat_sys_setgroups
)
SYSCALL
(
sys_fchown
,
sys_fchown
,
compat_sys_fchown
)
SYSCALL
(
sys_setresuid
,
sys_setresuid
,
compat_sys_setresuid
)
SYSCALL
(
sys_getresuid
,
sys_getresuid
,
compat_sys_getresuid
)
SYSCALL
(
sys_setresgid
,
sys_setresgid
,
compat_sys_setresgid
)
/
*
210
*/
SYSCALL
(
sys_getresgid
,
sys_getresgid
,
compat_sys_getresgid
)
SYSCALL
(
sys_chown
,
sys_chown
,
compat_sys_chown
)
SYSCALL
(
sys_setuid
,
sys_setuid
,
sys32_setuid_wrapper
)
SYSCALL
(
sys_setgid
,
sys_setgid
,
sys32_setgid_wrapper
)
SYSCALL
(
sys_setfsuid
,
sys_setfsuid
,
sys32_setfsuid_wrapper
)
/
*
215
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录