Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
24465a40
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
24465a40
编写于
11月 28, 2012
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
take sys_fork/sys_vfork/sys_clone prototypes to linux/syscalls.h
now it can be done... Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
1ea2a016
变更
12
隐藏空白更改
内联
并排
Showing
12 changed file
with
11 addition
and
63 deletion
+11
-63
arch/arm64/include/asm/syscalls.h
arch/arm64/include/asm/syscalls.h
+0
-8
arch/hexagon/include/asm/syscall.h
arch/hexagon/include/asm/syscall.h
+0
-5
arch/microblaze/include/asm/Kbuild
arch/microblaze/include/asm/Kbuild
+1
-0
arch/microblaze/include/asm/syscalls.h
arch/microblaze/include/asm/syscalls.h
+0
-16
arch/s390/kernel/entry.h
arch/s390/kernel/entry.h
+0
-4
arch/tile/include/asm/syscalls.h
arch/tile/include/asm/syscalls.h
+0
-3
arch/tile/kernel/compat.c
arch/tile/kernel/compat.c
+0
-1
arch/tile/kernel/sys.c
arch/tile/kernel/sys.c
+0
-1
arch/x86/include/asm/syscalls.h
arch/x86/include/asm/syscalls.h
+0
-11
arch/x86/um/shared/sysdep/syscalls.h
arch/x86/um/shared/sysdep/syscalls.h
+0
-2
include/asm-generic/syscalls.h
include/asm-generic/syscalls.h
+0
-12
include/linux/syscalls.h
include/linux/syscalls.h
+10
-0
未找到文件。
arch/arm64/include/asm/syscalls.h
浏览文件 @
24465a40
...
...
@@ -27,14 +27,6 @@ asmlinkage long sys_rt_sigreturn_wrapper(void);
asmlinkage
long
sys_sigaltstack_wrapper
(
const
stack_t
__user
*
uss
,
stack_t
__user
*
uoss
);
/*
* AArch64 sys_clone implementation has a different prototype than the generic
* one (additional TLS value argument).
*/
asmlinkage
long
sys_clone
(
unsigned
long
,
unsigned
long
,
void
__user
*
,
int
,
void
__user
*
);
#define sys_clone sys_clone
#include <asm-generic/syscalls.h>
#endif
/* __ASM_SYSCALLS_H */
arch/hexagon/include/asm/syscall.h
浏览文件 @
24465a40
...
...
@@ -25,11 +25,6 @@ typedef long (*syscall_fn)(unsigned long, unsigned long,
unsigned
long
,
unsigned
long
,
unsigned
long
,
unsigned
long
);
asmlinkage
int
sys_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
unsigned
long
parent_tidp
,
unsigned
long
child_tidp
);
#define sys_clone sys_clone
#include <asm-generic/syscalls.h>
extern
void
*
sys_call_table
[];
...
...
arch/microblaze/include/asm/Kbuild
浏览文件 @
24465a40
...
...
@@ -3,3 +3,4 @@ include include/asm-generic/Kbuild.asm
header-y += elf.h
generic-y += clkdev.h
generic-y += exec.h
generic-y += syscalls.h
arch/microblaze/include/asm/syscalls.h
已删除
100644 → 0
浏览文件 @
1ea2a016
#ifndef __ASM_MICROBLAZE_SYSCALLS_H
asmlinkage
long
microblaze_vfork
(
struct
pt_regs
*
regs
);
asmlinkage
long
microblaze_clone
(
int
flags
,
unsigned
long
stack
,
struct
pt_regs
*
regs
);
asmlinkage
long
microblaze_execve
(
const
char
__user
*
filenamei
,
const
char
__user
*
const
__user
*
argv
,
const
char
__user
*
const
__user
*
envp
,
struct
pt_regs
*
regs
);
asmlinkage
long
sys_clone
(
int
flags
,
unsigned
long
stack
,
struct
pt_regs
*
regs
);
#define sys_clone sys_clone
#include <asm-generic/syscalls.h>
#endif
/* __ASM_MICROBLAZE_SYSCALLS_H */
arch/s390/kernel/entry.h
浏览文件 @
24465a40
...
...
@@ -54,10 +54,6 @@ long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
long
sys_s390_fadvise64_64
(
struct
fadvise64_64_args
__user
*
args
);
long
sys_s390_fallocate
(
int
fd
,
int
mode
,
loff_t
offset
,
u32
len_high
,
u32
len_low
);
long
sys_fork
(
void
);
long
sys_clone
(
unsigned
long
newsp
,
unsigned
long
clone_flags
,
int
__user
*
parent_tidptr
,
int
__user
*
child_tidptr
);
long
sys_vfork
(
void
);
long
sys_sigsuspend
(
int
history0
,
int
history1
,
old_sigset_t
mask
);
long
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
struct
old_sigaction
__user
*
oact
);
...
...
arch/tile/include/asm/syscalls.h
浏览文件 @
24465a40
...
...
@@ -63,11 +63,8 @@ long sys_ftruncate64(unsigned int fd, loff_t length);
#endif
/* Provide versions of standard syscalls that use current_pt_regs(). */
long
sys_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
void
__user
*
parent_tid
,
void
__user
*
child_tid
);
long
sys_rt_sigreturn
(
void
);
long
sys_sigaltstack
(
const
stack_t
__user
*
,
stack_t
__user
*
);
#define sys_clone sys_clone
#define sys_rt_sigreturn sys_rt_sigreturn
#define sys_sigaltstack sys_sigaltstack
...
...
arch/tile/kernel/compat.c
浏览文件 @
24465a40
...
...
@@ -104,7 +104,6 @@ long compat_sys_sched_rr_get_interval(compat_pid_t pid,
/* Call the assembly trampolines where necessary. */
#define compat_sys_rt_sigreturn _compat_sys_rt_sigreturn
#undef sys_clone
#define sys_clone _sys_clone
/*
...
...
arch/tile/kernel/sys.c
浏览文件 @
24465a40
...
...
@@ -109,7 +109,6 @@ SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len,
/* Call the assembly trampolines where necessary. */
#undef sys_rt_sigreturn
#define sys_rt_sigreturn _sys_rt_sigreturn
#undef sys_clone
#define sys_clone _sys_clone
/*
...
...
arch/x86/include/asm/syscalls.h
浏览文件 @
24465a40
...
...
@@ -20,17 +20,6 @@
asmlinkage
long
sys_ioperm
(
unsigned
long
,
unsigned
long
,
int
);
long
sys_iopl
(
unsigned
int
,
struct
pt_regs
*
);
/* kernel/process.c */
asmlinkage
long
sys_fork
(
void
);
asmlinkage
long
sys_vfork
(
void
);
#ifdef CONFIG_CLONE_BACKWARDS
asmlinkage
long
sys_clone
(
unsigned
long
,
unsigned
long
,
void
__user
*
,
int
,
void
__user
*
);
#else
asmlinkage
long
sys_clone
(
unsigned
long
,
unsigned
long
,
void
__user
*
,
void
__user
*
,
int
);
#endif
/* kernel/ldt.c */
asmlinkage
int
sys_modify_ldt
(
int
,
void
__user
*
,
unsigned
long
);
...
...
arch/x86/um/shared/sysdep/syscalls.h
浏览文件 @
24465a40
extern
long
sys_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
void
__user
*
parent_tid
,
void
__user
*
child_tid
);
#ifdef __i386__
#include "syscalls_32.h"
#else
...
...
include/asm-generic/syscalls.h
浏览文件 @
24465a40
...
...
@@ -8,18 +8,6 @@
* Calling conventions for these system calls can differ, so
* it's possible to override them.
*/
#ifndef sys_clone
asmlinkage
long
sys_clone
(
unsigned
long
clone_flags
,
unsigned
long
newsp
,
void
__user
*
parent_tid
,
void
__user
*
child_tid
);
#endif
#ifndef sys_fork
asmlinkage
long
sys_fork
(
void
);
#endif
#ifndef sys_vfork
asmlinkage
long
sys_vfork
(
void
);
#endif
#ifndef sys_mmap2
asmlinkage
long
sys_mmap2
(
unsigned
long
addr
,
unsigned
long
len
,
...
...
include/linux/syscalls.h
浏览文件 @
24465a40
...
...
@@ -836,6 +836,16 @@ int kernel_execve(const char *filename, const char *const argv[], const char *co
(const char __user *const __user *)envp)
#endif
asmlinkage
long
sys_fork
(
void
);
asmlinkage
long
sys_vfork
(
void
);
#ifdef CONFIG_CLONE_BACKWARDS
asmlinkage
long
sys_clone
(
unsigned
long
,
unsigned
long
,
int
__user
*
,
int
,
int
__user
*
);
#else
asmlinkage
long
sys_clone
(
unsigned
long
,
unsigned
long
,
int
__user
*
,
int
__user
*
,
int
);
#endif
asmlinkage
long
sys_execve
(
const
char
__user
*
filename
,
const
char
__user
*
const
__user
*
argv
,
const
char
__user
*
const
__user
*
envp
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录