Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
15ce1f71
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
15ce1f71
编写于
12月 25, 2012
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
x86,um: switch to generic old sigsuspend()
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
7b83d1a2
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
3 addition
and
31 deletion
+3
-31
arch/um/kernel/signal.c
arch/um/kernel/signal.c
+0
-10
arch/x86/Kconfig
arch/x86/Kconfig
+1
-0
arch/x86/ia32/ia32_signal.c
arch/x86/ia32/ia32_signal.c
+0
-7
arch/x86/include/asm/sys_ia32.h
arch/x86/include/asm/sys_ia32.h
+0
-1
arch/x86/include/asm/syscalls.h
arch/x86/include/asm/syscalls.h
+0
-1
arch/x86/kernel/signal.c
arch/x86/kernel/signal.c
+0
-11
arch/x86/syscalls/syscall_32.tbl
arch/x86/syscalls/syscall_32.tbl
+1
-1
arch/x86/um/Kconfig
arch/x86/um/Kconfig
+1
-0
未找到文件。
arch/um/kernel/signal.c
浏览文件 @
15ce1f71
...
...
@@ -122,13 +122,3 @@ int do_signal(void)
{
return
kern_do_signal
(
&
current
->
thread
.
regs
);
}
/*
* Atomically swap in the new signal mask, and wait for a signal.
*/
long
sys_sigsuspend
(
int
history0
,
int
history1
,
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
arch/x86/Kconfig
浏览文件 @
15ce1f71
...
...
@@ -116,6 +116,7 @@ config X86
select GENERIC_SIGALTSTACK
select GENERIC_COMPAT_RT_SIGQUEUEINFO
select GENERIC_COMPAT_RT_SIGPENDING
select OLD_SIGSUSPEND3 if X86_32 || IA32_EMULATION
config INSTRUCTION_DECODER
def_bool y
...
...
arch/x86/ia32/ia32_signal.c
浏览文件 @
15ce1f71
...
...
@@ -129,13 +129,6 @@ int copy_siginfo_from_user32(siginfo_t *to, compat_siginfo_t __user *from)
return
err
;
}
asmlinkage
long
sys32_sigsuspend
(
int
history0
,
int
history1
,
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
/*
* Do a signal return; undo the signal stack.
*/
...
...
arch/x86/include/asm/sys_ia32.h
浏览文件 @
15ce1f71
...
...
@@ -66,7 +66,6 @@ asmlinkage long sys32_fallocate(int, int, unsigned,
unsigned
,
unsigned
,
unsigned
);
/* ia32/ia32_signal.c */
asmlinkage
long
sys32_sigsuspend
(
int
,
int
,
old_sigset_t
);
asmlinkage
long
sys32_sigreturn
(
void
);
asmlinkage
long
sys32_rt_sigreturn
(
void
);
...
...
arch/x86/include/asm/syscalls.h
浏览文件 @
15ce1f71
...
...
@@ -34,7 +34,6 @@ asmlinkage int sys_get_thread_area(struct user_desc __user *);
#ifdef CONFIG_X86_32
/* kernel/signal.c */
asmlinkage
int
sys_sigsuspend
(
int
,
int
,
old_sigset_t
);
asmlinkage
int
sys_sigaction
(
int
,
const
struct
old_sigaction
__user
*
,
struct
old_sigaction
__user
*
);
unsigned
long
sys_sigreturn
(
void
);
...
...
arch/x86/kernel/signal.c
浏览文件 @
15ce1f71
...
...
@@ -536,17 +536,6 @@ static int x32_setup_rt_frame(int sig, struct k_sigaction *ka,
}
#ifdef CONFIG_X86_32
/*
* Atomically swap in the new signal mask, and wait for a signal.
*/
asmlinkage
int
sys_sigsuspend
(
int
history0
,
int
history1
,
old_sigset_t
mask
)
{
sigset_t
blocked
;
siginitset
(
&
blocked
,
mask
);
return
sigsuspend
(
&
blocked
);
}
asmlinkage
int
sys_sigaction
(
int
sig
,
const
struct
old_sigaction
__user
*
act
,
struct
old_sigaction
__user
*
oact
)
...
...
arch/x86/syscalls/syscall_32.tbl
浏览文件 @
15ce1f71
...
...
@@ -78,7 +78,7 @@
69 i386 ssetmask sys_ssetmask
70 i386 setreuid sys_setreuid16
71 i386 setregid sys_setregid16
72 i386 sigsuspend sys_sigsuspend sys
32
_sigsuspend
72 i386 sigsuspend sys_sigsuspend sys_sigsuspend
73 i386 sigpending sys_sigpending compat_sys_sigpending
74 i386 sethostname sys_sethostname
75 i386 setrlimit sys_setrlimit compat_sys_setrlimit
...
...
arch/x86/um/Kconfig
浏览文件 @
15ce1f71
...
...
@@ -25,6 +25,7 @@ config X86_32
select ARCH_WANT_IPC_PARSE_VERSION
select MODULES_USE_ELF_REL
select CLONE_BACKWARDS
select OLD_SIGSUSPEND3
config X86_64
def_bool 64BIT
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录