Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
7f6afe87
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看板
提交
7f6afe87
编写于
3月 01, 2014
作者:
H
Heiko Carstens
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
s390/compat: convert system call wrappers to C part 14
Signed-off-by:
N
Heiko Carstens
<
heiko.carstens@de.ibm.com
>
上级
28798abc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
60 deletion
+20
-60
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
-50
arch/s390/kernel/syscalls.S
arch/s390/kernel/syscalls.S
+10
-10
未找到文件。
arch/s390/kernel/compat_wrap.c
浏览文件 @
7f6afe87
...
...
@@ -154,3 +154,13 @@ COMPAT_SYSCALL_WRAP3(faccessat, int, dfd, const char __user *, filename, int, mo
COMPAT_SYSCALL_WRAP1
(
unshare
,
compat_ulong_t
,
unshare_flags
);
COMPAT_SYSCALL_WRAP6
(
splice
,
int
,
fd_in
,
loff_t
__user
*
,
off_in
,
int
,
fd_out
,
loff_t
__user
*
,
off_out
,
compat_size_t
,
len
,
unsigned
int
,
flags
);
COMPAT_SYSCALL_WRAP4
(
tee
,
int
,
fdin
,
int
,
fdout
,
compat_size_t
,
len
,
unsigned
int
,
flags
);
COMPAT_SYSCALL_WRAP3
(
getcpu
,
unsigned
__user
*
,
cpu
,
unsigned
__user
*
,
node
,
struct
getcpu_cache
__user
*
,
cache
);
COMPAT_SYSCALL_WRAP1
(
eventfd
,
unsigned
int
,
count
);
COMPAT_SYSCALL_WRAP2
(
timerfd_create
,
int
,
clockid
,
int
,
flags
);
COMPAT_SYSCALL_WRAP2
(
eventfd2
,
unsigned
int
,
count
,
int
,
flags
);
COMPAT_SYSCALL_WRAP1
(
inotify_init1
,
int
,
flags
);
COMPAT_SYSCALL_WRAP2
(
pipe2
,
int
__user
*
,
fildes
,
int
,
flags
);
COMPAT_SYSCALL_WRAP3
(
dup3
,
unsigned
int
,
oldfd
,
unsigned
int
,
newfd
,
int
,
flags
);
COMPAT_SYSCALL_WRAP1
(
epoll_create1
,
int
,
flags
);
COMPAT_SYSCALL_WRAP2
(
tkill
,
int
,
pid
,
int
,
sig
);
COMPAT_SYSCALL_WRAP3
(
tgkill
,
int
,
tgid
,
int
,
pid
,
int
,
sig
);
arch/s390/kernel/compat_wrapper.S
浏览文件 @
7f6afe87
...
...
@@ -326,12 +326,6 @@ ENTRY(sys_sync_file_range_wrapper)
llgf
%
r5
,
164
(%
r15
)
#
unsigned
int
jg
sys_sync_file_range
ENTRY
(
sys_getcpu_wrapper
)
llgtr
%
r2
,%
r2
#
unsigned
*
llgtr
%
r3
,%
r3
#
unsigned
*
llgtr
%
r4
,%
r4
#
struct
getcpu_cache
*
jg
sys_getcpu
ENTRY
(
compat_sys_utimes_wrapper
)
llgtr
%
r2
,%
r2
#
char
*
llgtr
%
r3
,%
r3
#
struct
compat_timeval
*
...
...
@@ -344,10 +338,6 @@ ENTRY(compat_sys_utimensat_wrapper)
lgfr
%
r5
,%
r5
#
int
jg
compat_sys_utimensat
ENTRY
(
sys_eventfd_wrapper
)
llgfr
%
r2
,%
r2
#
unsigned
int
jg
sys_eventfd
ENTRY
(
sys_fallocate_wrapper
)
lgfr
%
r2
,%
r2
#
int
lgfr
%
r3
,%
r3
#
int
...
...
@@ -357,46 +347,6 @@ ENTRY(sys_fallocate_wrapper)
l
%
r5
,
164
(%
r15
)
#
get
low
word
of
64
bit
loff_t
jg
sys_fallocate
ENTRY
(
sys_timerfd_create_wrapper
)
lgfr
%
r2
,%
r2
#
int
lgfr
%
r3
,%
r3
#
int
jg
sys_timerfd_create
ENTRY
(
sys_eventfd2_wrapper
)
llgfr
%
r2
,%
r2
#
unsigned
int
lgfr
%
r3
,%
r3
#
int
jg
sys_eventfd2
ENTRY
(
sys_inotify_init1_wrapper
)
lgfr
%
r2
,%
r2
#
int
jg
sys_inotify_init1
ENTRY
(
sys_pipe2_wrapper
)
llgtr
%
r2
,%
r2
#
u32
*
lgfr
%
r3
,%
r3
#
int
jg
sys_pipe2
#
branch
to
system
call
ENTRY
(
sys_dup3_wrapper
)
llgfr
%
r2
,%
r2
#
unsigned
int
llgfr
%
r3
,%
r3
#
unsigned
int
lgfr
%
r4
,%
r4
#
int
jg
sys_dup3
#
branch
to
system
call
ENTRY
(
sys_epoll_create1_wrapper
)
lgfr
%
r2
,%
r2
#
int
jg
sys_epoll_create1
#
branch
to
system
call
ENTRY
(
sys_tkill_wrapper
)
lgfr
%
r2
,%
r2
#
pid_t
lgfr
%
r3
,%
r3
#
int
jg
sys_tkill
#
branch
to
system
call
ENTRY
(
sys_tgkill_wrapper
)
lgfr
%
r2
,%
r2
#
pid_t
lgfr
%
r3
,%
r3
#
pid_t
lgfr
%
r4
,%
r4
#
int
jg
sys_tgkill
#
branch
to
system
call
ENTRY
(
compat_sys_keyctl_wrapper
)
llgfr
%
r2
,%
r2
#
u32
llgfr
%
r3
,%
r3
#
u32
...
...
arch/s390/kernel/syscalls.S
浏览文件 @
7f6afe87
...
...
@@ -245,11 +245,11 @@ SYSCALL(sys_removexattr,sys_removexattr,compat_sys_removexattr)
SYSCALL
(
sys_lremovexattr
,
sys_lremovexattr
,
compat_sys_lremovexattr
)
SYSCALL
(
sys_fremovexattr
,
sys_fremovexattr
,
compat_sys_fremovexattr
)
/
*
235
*/
SYSCALL
(
sys_gettid
,
sys_gettid
,
sys_gettid
)
SYSCALL
(
sys_tkill
,
sys_tkill
,
sys_tkill_wrapper
)
SYSCALL
(
sys_tkill
,
sys_tkill
,
compat_sys_tkill
)
SYSCALL
(
sys_futex
,
sys_futex
,
compat_sys_futex
)
SYSCALL
(
sys_sched_setaffinity
,
sys_sched_setaffinity
,
sys32_sched_setaffinity_wrapper
)
SYSCALL
(
sys_sched_getaffinity
,
sys_sched_getaffinity
,
sys32_sched_getaffinity_wrapper
)
/
*
240
*/
SYSCALL
(
sys_tgkill
,
sys_tgkill
,
sys_tgkill_wrapper
)
SYSCALL
(
sys_tgkill
,
sys_tgkill
,
compat_sys_tgkill
)
NI_SYSCALL
/
*
reserved
for
TUX
*/
SYSCALL
(
sys_io_setup
,
sys_io_setup
,
sys32_io_setup_wrapper
)
SYSCALL
(
sys_io_destroy
,
sys_io_destroy
,
compat_sys_io_destroy
)
...
...
@@ -319,23 +319,23 @@ SYSCALL(sys_sync_file_range,sys_sync_file_range,sys_sync_file_range_wrapper)
SYSCALL
(
sys_tee
,
sys_tee
,
compat_sys_tee
)
SYSCALL
(
sys_vmsplice
,
sys_vmsplice
,
compat_sys_vmsplice
)
NI_SYSCALL
/
*
310
sys_move_pages
*/
SYSCALL
(
sys_getcpu
,
sys_getcpu
,
sys_getcpu_wrapper
)
SYSCALL
(
sys_getcpu
,
sys_getcpu
,
compat_sys_getcpu
)
SYSCALL
(
sys_epoll_pwait
,
sys_epoll_pwait
,
compat_sys_epoll_pwait
)
SYSCALL
(
sys_utimes
,
sys_utimes
,
compat_sys_utimes_wrapper
)
SYSCALL
(
sys_s390_fallocate
,
sys_fallocate
,
sys_fallocate_wrapper
)
SYSCALL
(
sys_utimensat
,
sys_utimensat
,
compat_sys_utimensat_wrapper
)
/
*
315
*/
SYSCALL
(
sys_signalfd
,
sys_signalfd
,
compat_sys_signalfd
)
NI_SYSCALL
/
*
317
old
sys_timer_fd
*/
SYSCALL
(
sys_eventfd
,
sys_eventfd
,
sys_eventfd_wrapper
)
SYSCALL
(
sys_timerfd_create
,
sys_timerfd_create
,
sys_timerfd_create_wrapper
)
SYSCALL
(
sys_eventfd
,
sys_eventfd
,
compat_sys_eventfd
)
SYSCALL
(
sys_timerfd_create
,
sys_timerfd_create
,
compat_sys_timerfd_create
)
SYSCALL
(
sys_timerfd_settime
,
sys_timerfd_settime
,
compat_sys_timerfd_settime
)
/
*
320
*/
SYSCALL
(
sys_timerfd_gettime
,
sys_timerfd_gettime
,
compat_sys_timerfd_gettime
)
SYSCALL
(
sys_signalfd4
,
sys_signalfd4
,
compat_sys_signalfd4
)
SYSCALL
(
sys_eventfd2
,
sys_eventfd2
,
sys_eventfd2_wrapper
)
SYSCALL
(
sys_inotify_init1
,
sys_inotify_init1
,
sys_inotify_init1_wrapper
)
SYSCALL
(
sys_pipe2
,
sys_pipe2
,
sys_pipe2_wrapper
)
/
*
325
*/
SYSCALL
(
sys_dup3
,
sys_dup3
,
sys_dup3_wrapper
)
SYSCALL
(
sys_epoll_create1
,
sys_epoll_create1
,
sys_epoll_create1_wrapper
)
SYSCALL
(
sys_eventfd2
,
sys_eventfd2
,
compat_sys_eventfd2
)
SYSCALL
(
sys_inotify_init1
,
sys_inotify_init1
,
compat_sys_inotify_init1
)
SYSCALL
(
sys_pipe2
,
sys_pipe2
,
compat_sys_pipe2
)
/
*
325
*/
SYSCALL
(
sys_dup3
,
sys_dup3
,
compat_sys_dup3
)
SYSCALL
(
sys_epoll_create1
,
sys_epoll_create1
,
compat_sys_epoll_create1
)
SYSCALL
(
sys_preadv
,
sys_preadv
,
compat_sys_preadv
)
SYSCALL
(
sys_pwritev
,
sys_pwritev
,
compat_sys_pwritev
)
SYSCALL
(
sys_rt_tgsigqueueinfo
,
sys_rt_tgsigqueueinfo
,
compat_sys_rt_tgsigqueueinfo
)
/
*
330
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录