提交 5069496e 编写于 作者: H Heiko Carstens 提交者: Martin Schwidefsky

[S390] wire up sys_open_by_handle_at

Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
上级 737fd5f1
...@@ -273,7 +273,8 @@ ...@@ -273,7 +273,8 @@
#define __NR_fanotify_mark 333 #define __NR_fanotify_mark 333
#define __NR_prlimit64 334 #define __NR_prlimit64 334
#define __NR_name_to_handle_at 335 #define __NR_name_to_handle_at 335
#define NR_syscalls 336 #define __NR_open_by_handle_at 336
#define NR_syscalls 337
/* /*
* There are some system calls that are not present on 64 bit, some * There are some system calls that are not present on 64 bit, some
......
...@@ -1886,3 +1886,10 @@ sys_name_to_handle_at_wrapper: ...@@ -1886,3 +1886,10 @@ sys_name_to_handle_at_wrapper:
llgtr %r5,%r5 # int __user * llgtr %r5,%r5 # int __user *
lgfr %r6,%r6 # int lgfr %r6,%r6 # int
jg sys_name_to_handle_at jg sys_name_to_handle_at
.globl compat_sys_open_by_handle_at_wrapper
compat_sys_open_by_handle_at_wrapper:
lgfr %r2,%r2 # int
llgtr %r3,%r3 # struct file_handle __user *
lgfr %r4,%r4 # int
jg compat_sys_open_by_handle_at
...@@ -344,3 +344,4 @@ SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper) ...@@ -344,3 +344,4 @@ SYSCALL(sys_fanotify_init,sys_fanotify_init,sys_fanotify_init_wrapper)
SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper) SYSCALL(sys_fanotify_mark,sys_fanotify_mark,sys_fanotify_mark_wrapper)
SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper) SYSCALL(sys_prlimit64,sys_prlimit64,sys_prlimit64_wrapper)
SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */ SYSCALL(sys_name_to_handle_at,sys_name_to_handle_at,sys_name_to_handle_at_wrapper) /* 335 */
SYSCALL(sys_open_by_handle_at,sys_open_by_handle_at,compat_sys_open_by_handle_at_wrapper)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册