Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
22d1a35d
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看板
提交
22d1a35d
编写于
1月 21, 2013
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
make HAVE_SYSCALL_WRAPPERS unconditional
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
e1b5bb6d
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
0 addition
and
30 deletion
+0
-30
arch/Kconfig
arch/Kconfig
+0
-3
arch/alpha/Kconfig
arch/alpha/Kconfig
+0
-1
arch/mips/Kconfig
arch/mips/Kconfig
+0
-1
arch/powerpc/Kconfig
arch/powerpc/Kconfig
+0
-1
arch/s390/Kconfig
arch/s390/Kconfig
+0
-1
arch/sparc/Kconfig
arch/sparc/Kconfig
+0
-1
arch/tile/Kconfig
arch/tile/Kconfig
+0
-1
include/linux/compat.h
include/linux/compat.h
+0
-9
include/linux/syscalls.h
include/linux/syscalls.h
+0
-10
ipc/sem.c
ipc/sem.c
+0
-2
未找到文件。
arch/Kconfig
浏览文件 @
22d1a35d
...
@@ -157,9 +157,6 @@ config ARCH_USE_BUILTIN_BSWAP
...
@@ -157,9 +157,6 @@ config ARCH_USE_BUILTIN_BSWAP
instructions should set this. And it shouldn't hurt to set it
instructions should set this. And it shouldn't hurt to set it
on architectures that don't have such instructions.
on architectures that don't have such instructions.
config HAVE_SYSCALL_WRAPPERS
bool
config KRETPROBES
config KRETPROBES
def_bool y
def_bool y
depends on KPROBES && HAVE_KRETPROBES
depends on KPROBES && HAVE_KRETPROBES
...
...
arch/alpha/Kconfig
浏览文件 @
22d1a35d
...
@@ -4,7 +4,6 @@ config ALPHA
...
@@ -4,7 +4,6 @@ config ALPHA
select HAVE_AOUT
select HAVE_AOUT
select HAVE_IDE
select HAVE_IDE
select HAVE_OPROFILE
select HAVE_OPROFILE
select HAVE_SYSCALL_WRAPPERS
select HAVE_PCSPKR_PLATFORM
select HAVE_PCSPKR_PLATFORM
select HAVE_PERF_EVENTS
select HAVE_PERF_EVENTS
select HAVE_DMA_ATTRS
select HAVE_DMA_ATTRS
...
...
arch/mips/Kconfig
浏览文件 @
22d1a35d
...
@@ -1737,7 +1737,6 @@ config 32BIT
...
@@ -1737,7 +1737,6 @@ config 32BIT
config 64BIT
config 64BIT
bool "64-bit kernel"
bool "64-bit kernel"
depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
select HAVE_SYSCALL_WRAPPERS
help
help
Select this option if you want to build a 64-bit kernel.
Select this option if you want to build a 64-bit kernel.
...
...
arch/powerpc/Kconfig
浏览文件 @
22d1a35d
...
@@ -113,7 +113,6 @@ config PPC
...
@@ -113,7 +113,6 @@ config PPC
select USE_GENERIC_SMP_HELPERS if SMP
select USE_GENERIC_SMP_HELPERS if SMP
select HAVE_OPROFILE
select HAVE_OPROFILE
select HAVE_DEBUG_KMEMLEAK
select HAVE_DEBUG_KMEMLEAK
select HAVE_SYSCALL_WRAPPERS if PPC64
select GENERIC_ATOMIC64 if PPC32
select GENERIC_ATOMIC64 if PPC32
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
select HAVE_PERF_EVENTS
select HAVE_PERF_EVENTS
...
...
arch/s390/Kconfig
浏览文件 @
22d1a35d
...
@@ -131,7 +131,6 @@ config S390
...
@@ -131,7 +131,6 @@ config S390
select HAVE_PERF_EVENTS
select HAVE_PERF_EVENTS
select HAVE_REGS_AND_STACK_ACCESS_API
select HAVE_REGS_AND_STACK_ACCESS_API
select HAVE_SYSCALL_TRACEPOINTS
select HAVE_SYSCALL_TRACEPOINTS
select HAVE_SYSCALL_WRAPPERS
select HAVE_UID16 if 32BIT
select HAVE_UID16 if 32BIT
select HAVE_VIRT_CPU_ACCOUNTING
select HAVE_VIRT_CPU_ACCOUNTING
select HAVE_VIRT_TO_BUS
select HAVE_VIRT_TO_BUS
...
...
arch/sparc/Kconfig
浏览文件 @
22d1a35d
...
@@ -62,7 +62,6 @@ config SPARC64
...
@@ -62,7 +62,6 @@ config SPARC64
select HAVE_RCU_TABLE_FREE if SMP
select HAVE_RCU_TABLE_FREE if SMP
select HAVE_MEMBLOCK
select HAVE_MEMBLOCK
select HAVE_MEMBLOCK_NODE_MAP
select HAVE_MEMBLOCK_NODE_MAP
select HAVE_SYSCALL_WRAPPERS
select HAVE_ARCH_TRANSPARENT_HUGEPAGE
select HAVE_ARCH_TRANSPARENT_HUGEPAGE
select HAVE_DYNAMIC_FTRACE
select HAVE_DYNAMIC_FTRACE
select HAVE_FTRACE_MCOUNT_RECORD
select HAVE_FTRACE_MCOUNT_RECORD
...
...
arch/tile/Kconfig
浏览文件 @
22d1a35d
...
@@ -16,7 +16,6 @@ config TILE
...
@@ -16,7 +16,6 @@ config TILE
select GENERIC_PENDING_IRQ if SMP
select GENERIC_PENDING_IRQ if SMP
select GENERIC_IRQ_SHOW
select GENERIC_IRQ_SHOW
select HAVE_DEBUG_BUGVERBOSE
select HAVE_DEBUG_BUGVERBOSE
select HAVE_SYSCALL_WRAPPERS if TILEGX
select HAVE_VIRT_TO_BUS
select HAVE_VIRT_TO_BUS
select SYS_HYPERVISOR
select SYS_HYPERVISOR
select ARCH_HAVE_NMI_SAFE_CMPXCHG
select ARCH_HAVE_NMI_SAFE_CMPXCHG
...
...
include/linux/compat.h
浏览文件 @
22d1a35d
...
@@ -40,8 +40,6 @@
...
@@ -40,8 +40,6 @@
#define COMPAT_SYSCALL_DEFINE6(name, ...) \
#define COMPAT_SYSCALL_DEFINE6(name, ...) \
COMPAT_SYSCALL_DEFINEx(6, _##name, __VA_ARGS__)
COMPAT_SYSCALL_DEFINEx(6, _##name, __VA_ARGS__)
#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
#define COMPAT_SYSCALL_DEFINEx(x, name, ...) \
#define COMPAT_SYSCALL_DEFINEx(x, name, ...) \
asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
static inline long C_SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
static inline long C_SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
...
@@ -52,13 +50,6 @@
...
@@ -52,13 +50,6 @@
SYSCALL_ALIAS(compat_sys##name, compat_SyS##name); \
SYSCALL_ALIAS(compat_sys##name, compat_SyS##name); \
static inline long C_SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__))
static inline long C_SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__))
#else
/* CONFIG_HAVE_SYSCALL_WRAPPERS */
#define COMPAT_SYSCALL_DEFINEx(x, name, ...) \
asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
#endif
/* CONFIG_HAVE_SYSCALL_WRAPPERS */
#ifndef compat_user_stack_pointer
#ifndef compat_user_stack_pointer
#define compat_user_stack_pointer() current_user_stack_pointer()
#define compat_user_stack_pointer() current_user_stack_pointer()
#endif
#endif
...
...
include/linux/syscalls.h
浏览文件 @
22d1a35d
...
@@ -198,8 +198,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
...
@@ -198,8 +198,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
__SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
#endif
#endif
#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
#define SYSCALL_DEFINE(name) static inline long SYSC_##name
#define SYSCALL_DEFINE(name) static inline long SYSC_##name
#define __SYSCALL_DEFINEx(x, name, ...) \
#define __SYSCALL_DEFINEx(x, name, ...) \
...
@@ -213,14 +211,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
...
@@ -213,14 +211,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
SYSCALL_ALIAS(sys##name, SyS##name); \
SYSCALL_ALIAS(sys##name, SyS##name); \
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__))
static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__))
#else
/* CONFIG_HAVE_SYSCALL_WRAPPERS */
#define SYSCALL_DEFINE(name) asmlinkage long sys_##name
#define __SYSCALL_DEFINEx(x, name, ...) \
asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
#endif
/* CONFIG_HAVE_SYSCALL_WRAPPERS */
asmlinkage
long
sys_time
(
time_t
__user
*
tloc
);
asmlinkage
long
sys_time
(
time_t
__user
*
tloc
);
asmlinkage
long
sys_stime
(
time_t
__user
*
tptr
);
asmlinkage
long
sys_stime
(
time_t
__user
*
tptr
);
asmlinkage
long
sys_gettimeofday
(
struct
timeval
__user
*
tv
,
asmlinkage
long
sys_gettimeofday
(
struct
timeval
__user
*
tv
,
...
...
ipc/sem.c
浏览文件 @
22d1a35d
...
@@ -1156,13 +1156,11 @@ SYSCALL_DEFINE(semctl)(int semid, int semnum, int cmd, union semun arg)
...
@@ -1156,13 +1156,11 @@ SYSCALL_DEFINE(semctl)(int semid, int semnum, int cmd, union semun arg)
return
-
EINVAL
;
return
-
EINVAL
;
}
}
}
}
#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
asmlinkage
long
SyS_semctl
(
int
semid
,
int
semnum
,
int
cmd
,
union
semun
arg
)
asmlinkage
long
SyS_semctl
(
int
semid
,
int
semnum
,
int
cmd
,
union
semun
arg
)
{
{
return
SYSC_semctl
((
int
)
semid
,
(
int
)
semnum
,
(
int
)
cmd
,
arg
);
return
SYSC_semctl
((
int
)
semid
,
(
int
)
semnum
,
(
int
)
cmd
,
arg
);
}
}
SYSCALL_ALIAS
(
sys_semctl
,
SyS_semctl
);
SYSCALL_ALIAS
(
sys_semctl
,
SyS_semctl
);
#endif
/* If the task doesn't already have a undo_list, then allocate one
/* If the task doesn't already have a undo_list, then allocate one
* here. We guarantee there is only one thread using this undo list,
* here. We guarantee there is only one thread using this undo list,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录