Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
574c4866
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看板
提交
574c4866
编写于
11月 25, 2012
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
consolidate kernel-side struct sigaction declarations
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
92a3ce4a
变更
26
隐藏空白更改
内联
并排
Showing
26 changed file
with
48 addition
and
81 deletion
+48
-81
arch/alpha/include/asm/signal.h
arch/alpha/include/asm/signal.h
+0
-6
arch/arm/include/asm/signal.h
arch/arm/include/asm/signal.h
+1
-6
arch/avr32/include/asm/signal.h
arch/avr32/include/asm/signal.h
+1
-6
arch/cris/include/asm/signal.h
arch/cris/include/asm/signal.h
+1
-6
arch/h8300/include/asm/signal.h
arch/h8300/include/asm/signal.h
+1
-6
arch/ia64/include/asm/signal.h
arch/ia64/include/asm/signal.h
+0
-6
arch/ia64/include/asm/unistd.h
arch/ia64/include/asm/unistd.h
+0
-1
arch/m32r/include/asm/signal.h
arch/m32r/include/asm/signal.h
+1
-7
arch/m68k/include/asm/signal.h
arch/m68k/include/asm/signal.h
+1
-6
arch/mips/include/asm/signal.h
arch/mips/include/asm/signal.h
+2
-0
arch/mips/include/uapi/asm/signal.h
arch/mips/include/uapi/asm/signal.h
+2
-0
arch/mn10300/include/asm/signal.h
arch/mn10300/include/asm/signal.h
+1
-6
arch/parisc/include/asm/signal.h
arch/parisc/include/asm/signal.h
+2
-0
arch/powerpc/include/asm/signal.h
arch/powerpc/include/asm/signal.h
+1
-0
arch/powerpc/include/asm/syscalls.h
arch/powerpc/include/asm/syscalls.h
+0
-1
arch/powerpc/include/uapi/asm/signal.h
arch/powerpc/include/uapi/asm/signal.h
+2
-0
arch/s390/include/asm/signal.h
arch/s390/include/asm/signal.h
+1
-7
arch/sparc/include/asm/signal.h
arch/sparc/include/asm/signal.h
+1
-0
arch/sparc/include/uapi/asm/signal.h
arch/sparc/include/uapi/asm/signal.h
+2
-0
arch/sparc/kernel/systbls.h
arch/sparc/kernel/systbls.h
+1
-1
arch/x86/include/asm/signal.h
arch/x86/include/asm/signal.h
+3
-7
arch/x86/include/uapi/asm/signal.h
arch/x86/include/uapi/asm/signal.h
+2
-2
arch/xtensa/include/asm/signal.h
arch/xtensa/include/asm/signal.h
+1
-6
include/linux/signal.h
include/linux/signal.h
+14
-0
include/linux/syscalls.h
include/linux/syscalls.h
+1
-1
include/uapi/asm-generic/signal.h
include/uapi/asm-generic/signal.h
+6
-0
未找到文件。
arch/alpha/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -22,12 +22,6 @@ struct osf_sigaction {
int
sa_flags
;
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_KA_RESTORER
#include <asm/sigcontext.h>
#endif
arch/arm/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -23,12 +23,7 @@ struct old_sigaction {
__sigrestore_t
sa_restorer
;
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
#endif
arch/avr32/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -23,12 +23,7 @@ typedef struct {
unsigned
long
sig
[
_NSIG_WORDS
];
}
sigset_t
;
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
#undef __HAVE_ARCH_SIG_BITOPS
...
...
arch/cris/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -23,12 +23,7 @@ struct old_sigaction {
void
(
*
sa_restorer
)(
void
);
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
void
(
*
sa_restorer
)(
void
);
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
...
...
arch/h8300/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -23,12 +23,7 @@ struct old_sigaction {
void
(
*
sa_restorer
)(
void
);
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
void
(
*
sa_restorer
)(
void
);
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
#undef __HAVE_ARCH_SIG_BITOPS
...
...
arch/ia64/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -26,12 +26,6 @@ typedef struct {
unsigned
long
sig
[
_NSIG_WORDS
];
}
sigset_t
;
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
# include <asm/sigcontext.h>
# endif
/* !__ASSEMBLY__ */
...
...
arch/ia64/include/asm/unistd.h
浏览文件 @
574c4866
...
...
@@ -47,7 +47,6 @@ asmlinkage unsigned long sys_mmap2(
int
prot
,
int
flags
,
int
fd
,
long
pgoff
);
struct
pt_regs
;
struct
sigaction
;
asmlinkage
long
sys_ia64_pipe
(
void
);
/*
...
...
arch/m32r/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -16,13 +16,7 @@ typedef struct {
unsigned
long
sig
[
_NSIG_WORDS
];
}
sigset_t
;
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
#undef __HAVE_ARCH_SIG_BITOPS
...
...
arch/m68k/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -23,12 +23,7 @@ struct old_sigaction {
__sigrestore_t
sa_restorer
;
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
...
...
arch/mips/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -21,4 +21,6 @@
#include <asm/sigcontext.h>
#include <asm/siginfo.h>
#define __ARCH_HAS_ODD_SIGACTION
#endif
/* _ASM_SIGNAL_H */
arch/mips/include/uapi/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -96,11 +96,13 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */
#include <asm-generic/signal-defs.h>
#ifndef __KERNEL__
struct
sigaction
{
unsigned
int
sa_flags
;
__sighandler_t
sa_handler
;
sigset_t
sa_mask
;
};
#endif
/* IRIX compatible stack_t */
typedef
struct
sigaltstack
{
...
...
arch/mn10300/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -33,12 +33,7 @@ struct old_sigaction {
__sigrestore_t
sa_restorer
;
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
...
...
arch/parisc/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -24,11 +24,13 @@ typedef struct {
unsigned
long
sig
[
_NSIG_WORDS
];
}
sigset_t
;
#ifndef __KERNEL__
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#endif
#include <asm/sigcontext.h>
...
...
arch/powerpc/include/asm/signal.h
浏览文件 @
574c4866
#ifndef _ASM_POWERPC_SIGNAL_H
#define _ASM_POWERPC_SIGNAL_H
#define __ARCH_HAS_SA_RESTORER
#include <uapi/asm/signal.h>
#endif
/* _ASM_POWERPC_SIGNAL_H */
arch/powerpc/include/asm/syscalls.h
浏览文件 @
574c4866
...
...
@@ -9,7 +9,6 @@
struct
pt_regs
;
struct
rtas_args
;
struct
sigaction
;
asmlinkage
unsigned
long
sys_mmap
(
unsigned
long
addr
,
size_t
len
,
unsigned
long
prot
,
unsigned
long
flags
,
...
...
arch/powerpc/include/uapi/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -97,12 +97,14 @@ struct old_sigaction {
__sigrestore_t
sa_restorer
;
};
#ifndef __KERNEL__
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#endif
typedef
struct
sigaltstack
{
void
__user
*
ss_sp
;
...
...
arch/s390/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -28,11 +28,5 @@ struct old_sigaction {
void
(
*
sa_restorer
)(
void
);
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
void
(
*
sa_restorer
)(
void
);
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#endif
arch/sparc/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -22,6 +22,7 @@
#define SA_STATIC_ALLOC 0x8000
#define __ARCH_HAS_KA_RESTORER
#define __ARCH_HAS_SA_RESTORER
#endif
/* !(__ASSEMBLY__) */
#endif
/* !(__SPARC_SIGNAL_H) */
arch/sparc/include/uapi/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -153,12 +153,14 @@ struct sigstack {
#include <asm-generic/signal-defs.h>
#ifndef __KERNEL__
struct
__new_sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
/* not used by Linux/SPARC yet */
__new_sigset_t
sa_mask
;
};
#endif
struct
__old_sigaction
{
__sighandler_t
sa_handler
;
...
...
arch/sparc/kernel/systbls.h
浏览文件 @
574c4866
...
...
@@ -3,8 +3,8 @@
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/signal.h>
#include <asm/utrap.h>
#include <asm/signal.h>
extern
asmlinkage
unsigned
long
sys_getpagesize
(
void
);
extern
asmlinkage
long
sparc_pipe
(
struct
pt_regs
*
regs
);
...
...
arch/x86/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -31,6 +31,9 @@ typedef sigset_t compat_sigset_t;
#include <uapi/asm/signal.h>
#ifndef __ASSEMBLY__
extern
void
do_notify_resume
(
struct
pt_regs
*
,
void
*
,
__u32
);
#define __ARCH_HAS_SA_RESTORER
#ifdef __i386__
struct
old_sigaction
{
__sighandler_t
sa_handler
;
...
...
@@ -39,13 +42,6 @@ struct old_sigaction {
__sigrestore_t
sa_restorer
;
};
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
__sigrestore_t
sa_restorer
;
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#endif
/* !__i386__ */
#include <asm/sigcontext.h>
...
...
arch/x86/include/uapi/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -95,9 +95,9 @@ typedef unsigned long sigset_t;
#ifndef __ASSEMBLY__
#ifdef __i386__
# ifndef __KERNEL__
/* Here we must cater to libcs that poke about in kernel headers. */
#ifdef __i386__
struct
sigaction
{
union
{
...
...
@@ -112,7 +112,6 @@ struct sigaction {
#define sa_handler _u._sa_handler
#define sa_sigaction _u._sa_sigaction
# endif
/* ! __KERNEL__ */
#else
/* __i386__ */
struct
sigaction
{
...
...
@@ -123,6 +122,7 @@ struct sigaction {
};
#endif
/* !__i386__ */
# endif
/* ! __KERNEL__ */
typedef
struct
sigaltstack
{
void
__user
*
ss_sp
;
...
...
arch/xtensa/include/asm/signal.h
浏览文件 @
574c4866
...
...
@@ -15,12 +15,7 @@
#include <uapi/asm/signal.h>
#ifndef __ASSEMBLY__
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
void
(
*
sa_restorer
)(
void
);
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#define __ARCH_HAS_SA_RESTORER
#include <asm/sigcontext.h>
...
...
include/linux/signal.h
浏览文件 @
574c4866
...
...
@@ -249,6 +249,20 @@ extern void __set_current_blocked(const sigset_t *);
extern
int
show_unhandled_signals
;
extern
int
sigsuspend
(
sigset_t
*
);
struct
sigaction
{
#ifndef __ARCH_HAS_ODD_SIGACTION
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
#else
unsigned
long
sa_flags
;
__sighandler_t
sa_handler
;
#endif
#ifdef __ARCH_HAS_SA_RESTORER
__sigrestore_t
sa_restorer
;
#endif
sigset_t
sa_mask
;
/* mask last for extensibility */
};
struct
k_sigaction
{
struct
sigaction
sa
;
#ifdef __ARCH_HAS_KA_RESTORER
...
...
include/linux/syscalls.h
浏览文件 @
574c4866
...
...
@@ -68,11 +68,11 @@ struct sigaltstack;
#include <linux/types.h>
#include <linux/aio_abi.h>
#include <linux/capability.h>
#include <linux/signal.h>
#include <linux/list.h>
#include <linux/bug.h>
#include <linux/sem.h>
#include <asm/siginfo.h>
#include <asm/signal.h>
#include <linux/unistd.h>
#include <linux/quota.h>
#include <linux/key.h>
...
...
include/uapi/asm-generic/signal.h
浏览文件 @
574c4866
...
...
@@ -93,6 +93,11 @@ typedef unsigned long old_sigset_t;
#include <asm-generic/signal-defs.h>
#ifdef SA_RESTORER
#define __ARCH_HAS_SA_RESTORER
#endif
#ifndef __KERNEL__
struct
sigaction
{
__sighandler_t
sa_handler
;
unsigned
long
sa_flags
;
...
...
@@ -101,6 +106,7 @@ struct sigaction {
#endif
sigset_t
sa_mask
;
/* mask last for extensibility */
};
#endif
typedef
struct
sigaltstack
{
void
__user
*
ss_sp
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录