Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
389cdc5d
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看板
提交
389cdc5d
编写于
12月 17, 2014
作者:
R
Ralf Baechle
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
MIPS: Wire up execveat(2).
Signed-off-by:
N
Ralf Baechle
<
ralf@linux-mips.org
>
上级
b8e7d196
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
13 addition
and
6 deletion
+13
-6
arch/mips/include/uapi/asm/unistd.h
arch/mips/include/uapi/asm/unistd.h
+9
-6
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall32-o32.S
+1
-0
arch/mips/kernel/scall64-64.S
arch/mips/kernel/scall64-64.S
+1
-0
arch/mips/kernel/scall64-n32.S
arch/mips/kernel/scall64-n32.S
+1
-0
arch/mips/kernel/scall64-o32.S
arch/mips/kernel/scall64-o32.S
+1
-0
未找到文件。
arch/mips/include/uapi/asm/unistd.h
浏览文件 @
389cdc5d
...
@@ -376,16 +376,17 @@
...
@@ -376,16 +376,17 @@
#define __NR_getrandom (__NR_Linux + 353)
#define __NR_getrandom (__NR_Linux + 353)
#define __NR_memfd_create (__NR_Linux + 354)
#define __NR_memfd_create (__NR_Linux + 354)
#define __NR_bpf (__NR_Linux + 355)
#define __NR_bpf (__NR_Linux + 355)
#define __NR_execveat (__NR_Linux + 356)
/*
/*
* Offset of the last Linux o32 flavoured syscall
* Offset of the last Linux o32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 35
5
#define __NR_Linux_syscalls 35
6
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI32 */
#define __NR_O32_Linux 4000
#define __NR_O32_Linux 4000
#define __NR_O32_Linux_syscalls 35
5
#define __NR_O32_Linux_syscalls 35
6
#if _MIPS_SIM == _MIPS_SIM_ABI64
#if _MIPS_SIM == _MIPS_SIM_ABI64
...
@@ -709,16 +710,17 @@
...
@@ -709,16 +710,17 @@
#define __NR_getrandom (__NR_Linux + 313)
#define __NR_getrandom (__NR_Linux + 313)
#define __NR_memfd_create (__NR_Linux + 314)
#define __NR_memfd_create (__NR_Linux + 314)
#define __NR_bpf (__NR_Linux + 315)
#define __NR_bpf (__NR_Linux + 315)
#define __NR_execveat (__NR_Linux + 316)
/*
/*
* Offset of the last Linux 64-bit flavoured syscall
* Offset of the last Linux 64-bit flavoured syscall
*/
*/
#define __NR_Linux_syscalls 31
5
#define __NR_Linux_syscalls 31
6
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
#endif
/* _MIPS_SIM == _MIPS_SIM_ABI64 */
#define __NR_64_Linux 5000
#define __NR_64_Linux 5000
#define __NR_64_Linux_syscalls 31
5
#define __NR_64_Linux_syscalls 31
6
#if _MIPS_SIM == _MIPS_SIM_NABI32
#if _MIPS_SIM == _MIPS_SIM_NABI32
...
@@ -1046,15 +1048,16 @@
...
@@ -1046,15 +1048,16 @@
#define __NR_getrandom (__NR_Linux + 317)
#define __NR_getrandom (__NR_Linux + 317)
#define __NR_memfd_create (__NR_Linux + 318)
#define __NR_memfd_create (__NR_Linux + 318)
#define __NR_bpf (__NR_Linux + 319)
#define __NR_bpf (__NR_Linux + 319)
#define __NR_execveat (__NR_Linux + 320)
/*
/*
* Offset of the last N32 flavoured syscall
* Offset of the last N32 flavoured syscall
*/
*/
#define __NR_Linux_syscalls 3
19
#define __NR_Linux_syscalls 3
20
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
#endif
/* _MIPS_SIM == _MIPS_SIM_NABI32 */
#define __NR_N32_Linux 6000
#define __NR_N32_Linux 6000
#define __NR_N32_Linux_syscalls 3
19
#define __NR_N32_Linux_syscalls 3
20
#endif
/* _UAPI_ASM_UNISTD_H */
#endif
/* _UAPI_ASM_UNISTD_H */
arch/mips/kernel/scall32-o32.S
浏览文件 @
389cdc5d
...
@@ -580,3 +580,4 @@ EXPORT(sys_call_table)
...
@@ -580,3 +580,4 @@ EXPORT(sys_call_table)
PTR
sys_getrandom
PTR
sys_getrandom
PTR
sys_memfd_create
PTR
sys_memfd_create
PTR
sys_bpf
/*
4355
*/
PTR
sys_bpf
/*
4355
*/
PTR
sys_execveat
arch/mips/kernel/scall64-64.S
浏览文件 @
389cdc5d
...
@@ -435,4 +435,5 @@ EXPORT(sys_call_table)
...
@@ -435,4 +435,5 @@ EXPORT(sys_call_table)
PTR
sys_getrandom
PTR
sys_getrandom
PTR
sys_memfd_create
PTR
sys_memfd_create
PTR
sys_bpf
/*
5315
*/
PTR
sys_bpf
/*
5315
*/
PTR
sys_execveat
.
size
sys_call_table
,
.
-
sys_call_table
.
size
sys_call_table
,
.
-
sys_call_table
arch/mips/kernel/scall64-n32.S
浏览文件 @
389cdc5d
...
@@ -428,4 +428,5 @@ EXPORT(sysn32_call_table)
...
@@ -428,4 +428,5 @@ EXPORT(sysn32_call_table)
PTR
sys_getrandom
PTR
sys_getrandom
PTR
sys_memfd_create
PTR
sys_memfd_create
PTR
sys_bpf
PTR
sys_bpf
PTR
compat_sys_execveat
/*
6320
*/
.
size
sysn32_call_table
,
.
-
sysn32_call_table
.
size
sysn32_call_table
,
.
-
sysn32_call_table
arch/mips/kernel/scall64-o32.S
浏览文件 @
389cdc5d
...
@@ -565,4 +565,5 @@ EXPORT(sys32_call_table)
...
@@ -565,4 +565,5 @@ EXPORT(sys32_call_table)
PTR
sys_getrandom
PTR
sys_getrandom
PTR
sys_memfd_create
PTR
sys_memfd_create
PTR
sys_bpf
/*
4355
*/
PTR
sys_bpf
/*
4355
*/
PTR
compat_sys_execveat
.
size
sys32_call_table
,
.
-
sys32_call_table
.
size
sys32_call_table
,
.
-
sys32_call_table
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录