Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
473a0657
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看板
提交
473a0657
编写于
2月 27, 2014
作者:
H
Heiko Carstens
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
s390/compat: convert system call wrappers to C part 02
Signed-off-by:
N
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
上级
b07edab2
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
55 deletion
+20
-55
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
-45
arch/s390/kernel/syscalls.S
arch/s390/kernel/syscalls.S
+10
-10
未找到文件。
arch/s390/kernel/compat_wrap.c
浏览文件 @
473a0657
...
...
@@ -33,3 +33,13 @@ COMPAT_SYSCALL_WRAP1(oldumount, char __user *, name);
COMPAT_SYSCALL_WRAP1
(
alarm
,
unsigned
int
,
seconds
);
COMPAT_SYSCALL_WRAP2
(
access
,
const
char
__user
*
,
filename
,
int
,
mode
);
COMPAT_SYSCALL_WRAP1
(
nice
,
int
,
increment
);
COMPAT_SYSCALL_WRAP2
(
kill
,
int
,
pid
,
int
,
sig
);
COMPAT_SYSCALL_WRAP2
(
rename
,
const
char
__user
*
,
oldname
,
const
char
__user
*
,
newname
);
COMPAT_SYSCALL_WRAP2
(
mkdir
,
const
char
__user
*
,
pathname
,
umode_t
,
mode
);
COMPAT_SYSCALL_WRAP1
(
rmdir
,
const
char
__user
*
,
pathname
);
COMPAT_SYSCALL_WRAP1
(
dup
,
unsigned
int
,
fildes
);
COMPAT_SYSCALL_WRAP1
(
pipe
,
int
__user
*
,
fildes
);
COMPAT_SYSCALL_WRAP1
(
brk
,
compat_ulong_t
,
brk
);
COMPAT_SYSCALL_WRAP2
(
signal
,
int
,
sig
,
__sighandler_t
,
handler
);
COMPAT_SYSCALL_WRAP1
(
acct
,
const
char
__user
*
,
name
);
COMPAT_SYSCALL_WRAP2
(
umount
,
char
__user
*
,
name
,
int
,
flags
);
arch/s390/kernel/compat_wrapper.S
浏览文件 @
473a0657
...
...
@@ -34,55 +34,10 @@ ENTRY(compat_sys_utime_wrapper)
llgtr
%
r3
,%
r3
#
struct
compat_utimbuf
*
jg
compat_sys_utime
#
branch
to
system
call
ENTRY
(
sys32_kill_wrapper
)
lgfr
%
r2
,%
r2
#
int
lgfr
%
r3
,%
r3
#
int
jg
sys_kill
#
branch
to
system
call
ENTRY
(
sys32_rename_wrapper
)
llgtr
%
r2
,%
r2
#
const
char
*
llgtr
%
r3
,%
r3
#
const
char
*
jg
sys_rename
#
branch
to
system
call
ENTRY
(
sys32_mkdir_wrapper
)
llgtr
%
r2
,%
r2
#
const
char
*
lgfr
%
r3
,%
r3
#
int
jg
sys_mkdir
#
branch
to
system
call
ENTRY
(
sys32_rmdir_wrapper
)
llgtr
%
r2
,%
r2
#
const
char
*
jg
sys_rmdir
#
branch
to
system
call
ENTRY
(
sys32_dup_wrapper
)
llgfr
%
r2
,%
r2
#
unsigned
int
jg
sys_dup
#
branch
to
system
call
ENTRY
(
sys32_pipe_wrapper
)
llgtr
%
r2
,%
r2
#
u32
*
jg
sys_pipe
#
branch
to
system
call
ENTRY
(
compat_sys_times_wrapper
)
llgtr
%
r2
,%
r2
#
struct
compat_tms
*
jg
compat_sys_times
#
branch
to
system
call
ENTRY
(
sys32_brk_wrapper
)
llgtr
%
r2
,%
r2
#
unsigned
long
jg
sys_brk
#
branch
to
system
call
ENTRY
(
sys32_signal_wrapper
)
lgfr
%
r2
,%
r2
#
int
llgtr
%
r3
,%
r3
#
__sighandler_t
jg
sys_signal
ENTRY
(
sys32_acct_wrapper
)
llgtr
%
r2
,%
r2
#
char
*
jg
sys_acct
#
branch
to
system
call
ENTRY
(
sys32_umount_wrapper
)
llgtr
%
r2
,%
r2
#
char
*
lgfr
%
r3
,%
r3
#
int
jg
sys_umount
#
branch
to
system
call
ENTRY
(
compat_sys_ioctl_wrapper
)
llgfr
%
r2
,%
r2
#
unsigned
int
llgfr
%
r3
,%
r3
#
unsigned
int
...
...
arch/s390/kernel/syscalls.S
浏览文件 @
473a0657
...
...
@@ -45,22 +45,22 @@ SYSCALL(sys_access,sys_access,compat_sys_access)
SYSCALL
(
sys_nice
,
sys_nice
,
compat_sys_nice
)
NI_SYSCALL
/
*
35
old
ftime
syscall
*/
SYSCALL
(
sys_sync
,
sys_sync
,
sys_sync
)
SYSCALL
(
sys_kill
,
sys_kill
,
sys32_kill_wrapper
)
SYSCALL
(
sys_rename
,
sys_rename
,
sys32_rename_wrapper
)
SYSCALL
(
sys_mkdir
,
sys_mkdir
,
sys32_mkdir_wrappe
r
)
SYSCALL
(
sys_rmdir
,
sys_rmdir
,
sys32_rmdir_wrappe
r
)
/
*
40
*/
SYSCALL
(
sys_dup
,
sys_dup
,
sys32_dup_wrapper
)
SYSCALL
(
sys_pipe
,
sys_pipe
,
sys32_pipe_wrapper
)
SYSCALL
(
sys_kill
,
sys_kill
,
compat_sys_kill
)
SYSCALL
(
sys_rename
,
sys_rename
,
compat_sys_rename
)
SYSCALL
(
sys_mkdir
,
sys_mkdir
,
compat_sys_mkdi
r
)
SYSCALL
(
sys_rmdir
,
sys_rmdir
,
compat_sys_rmdi
r
)
/
*
40
*/
SYSCALL
(
sys_dup
,
sys_dup
,
compat_sys_dup
)
SYSCALL
(
sys_pipe
,
sys_pipe
,
compat_sys_pipe
)
SYSCALL
(
sys_times
,
sys_times
,
compat_sys_times_wrapper
)
NI_SYSCALL
/
*
old
prof
syscall
*/
SYSCALL
(
sys_brk
,
sys_brk
,
sys32_brk_wrapper
)
/
*
45
*/
SYSCALL
(
sys_brk
,
sys_brk
,
compat_sys_brk
)
/
*
45
*/
SYSCALL
(
sys_setgid16
,
sys_ni_syscall
,
compat_sys_s390_setgid16
)
/
*
old
setgid16
syscall
*/
SYSCALL
(
sys_getgid16
,
sys_ni_syscall
,
compat_sys_s390_getgid16
)
/
*
old
getgid16
syscall
*/
SYSCALL
(
sys_signal
,
sys_signal
,
sys32_signal_wrapper
)
SYSCALL
(
sys_signal
,
sys_signal
,
compat_sys_signal
)
SYSCALL
(
sys_geteuid16
,
sys_ni_syscall
,
compat_sys_s390_geteuid16
)
/
*
old
geteuid16
syscall
*/
SYSCALL
(
sys_getegid16
,
sys_ni_syscall
,
compat_sys_s390_getegid16
)
/
*
50
old
getegid16
syscall
*/
SYSCALL
(
sys_acct
,
sys_acct
,
sys32_acct_wrapper
)
SYSCALL
(
sys_umount
,
sys_umount
,
sys32_umount_wrapper
)
SYSCALL
(
sys_acct
,
sys_acct
,
compat_sys_acct
)
SYSCALL
(
sys_umount
,
sys_umount
,
compat_sys_umount
)
NI_SYSCALL
/
*
old
lock
syscall
*/
SYSCALL
(
sys_ioctl
,
sys_ioctl
,
compat_sys_ioctl_wrapper
)
SYSCALL
(
sys_fcntl
,
sys_fcntl
,
compat_sys_fcntl_wrapper
)
/
*
55
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录