Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 889
b: refs/heads/master
c: b1ecb4c
h: refs/heads/master
i:
  887: f14bad2
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed May 4, 2005
1 parent 797f38e commit 21c2bf9
Show file tree
Hide file tree
Showing 23 changed files with 47 additions and 243 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0555985d046348b39e44ff1da2719d73409d7981
refs/heads/master: b1ecb4c3a9e33cc8b93ac9cb046b535b72a15f68
11 changes: 1 addition & 10 deletions trunk/include/asm-alpha/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,7 @@ typedef unsigned long sigset_t;
#define SIG_UNBLOCK 2 /* for unblocking signals */
#define SIG_SETMASK 3 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void __signalfn_t(int);
typedef __signalfn_t __user *__sighandler_t;

typedef void __restorefn_t(void);
typedef __restorefn_t __user *__sigrestore_t;

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct osf_sigaction {
Expand Down
15 changes: 1 addition & 14 deletions trunk/include/asm-arm/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,20 +117,7 @@ typedef unsigned long sigset_t;
#define SA_IRQNOMASK 0x08000000
#endif

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void __signalfn_t(int);
typedef __signalfn_t __user *__sighandler_t;

typedef void __restorefn_t(void);
typedef __restorefn_t __user *__sigrestore_t;

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-arm26/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,7 @@ typedef unsigned long sigset_t;
#define SA_IRQNOMASK 0x08000000
#endif

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-cris/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-frv/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
21 changes: 21 additions & 0 deletions trunk/include/asm-generic/signal.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#ifndef SIG_BLOCK
#define SIG_BLOCK 0 /* for blocking signals */
#endif
#ifndef SIG_UNBLOCK
#define SIG_UNBLOCK 1 /* for unblocking signals */
#endif
#ifndef SIG_SETMASK
#define SIG_SETMASK 2 /* for setting the signal mask */
#endif

#ifndef __ASSEMBLY__
typedef void __signalfn_t(int);
typedef __signalfn_t __user *__sighandler_t;

typedef void __restorefn_t(void);
typedef __restorefn_t __user *__sigrestore_t;

#define SIG_DFL ((__force __sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__force __sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__force __sighandler_t)-1) /* error return from signal */
#endif
11 changes: 1 addition & 10 deletions trunk/include/asm-h8300/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
15 changes: 1 addition & 14 deletions trunk/include/asm-i386/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,20 +110,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void __signalfn_t(int);
typedef __signalfn_t __user *__sighandler_t;

typedef void __restorefn_t(void);
typedef __restorefn_t __user *__sigrestore_t;

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-ia64/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,7 @@

#endif /* __KERNEL__ */

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

# ifndef __ASSEMBLY__

Expand All @@ -133,9 +127,6 @@
/* Avoid too many header ordering problems. */
struct siginfo;

/* Type of a signal handler. */
typedef void __user (*__sighandler_t)(int);

typedef struct sigaltstack {
void __user *ss_sp;
int ss_flags;
Expand Down
15 changes: 1 addition & 14 deletions trunk/include/asm-m32r/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void __signalfn_t(int);
typedef __signalfn_t __user *__sighandler_t;

typedef void __restorefn_t(void);
typedef __restorefn_t __user *__sigrestore_t;

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
15 changes: 3 additions & 12 deletions trunk/include/asm-m68k/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,29 +105,20 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
__sighandler_t sa_handler;
old_sigset_t sa_mask;
unsigned long sa_flags;
void (*sa_restorer)(void);
__sigrestore_t sa_restorer;
};

struct sigaction {
__sighandler_t sa_handler;
unsigned long sa_flags;
void (*sa_restorer)(void);
__sigrestore_t sa_restorer;
sigset_t sa_mask; /* mask last for extensibility */
};

Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-m68knommu/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
9 changes: 1 addition & 8 deletions trunk/include/asm-mips/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,7 @@ typedef unsigned long old_sigset_t; /* at least 32 bits */
#define SIG_SETMASK 3 /* for setting the signal mask */
#define SIG_SETMASK32 256 /* Goodie from SGI for BSD compatibility:
set only the low 32 bit of the sigset. */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

/* Fake signal functions */
#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

struct sigaction {
unsigned int sa_flags;
Expand Down
15 changes: 1 addition & 14 deletions trunk/include/asm-ppc/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,7 @@ typedef struct {
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void __signalfn_t(int);
typedef __signalfn_t __user *__sighandler_t;

typedef void __restorefn_t(void);
typedef __restorefn_t __user *__sigrestore_t;

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

struct old_sigaction {
__sighandler_t sa_handler;
Expand Down
20 changes: 3 additions & 17 deletions trunk/include/asm-ppc64/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,33 +97,19 @@ typedef struct {
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void __sigfunction(int);
typedef __sigfunction __user * __sighandler_t;

/* Type of the restorer function */
typedef void __sigrestorer(void);
typedef __sigrestorer __user * __sigrestorer_t;

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

struct old_sigaction {
__sighandler_t sa_handler;
old_sigset_t sa_mask;
unsigned long sa_flags;
__sigrestorer_t sa_restorer;
__sigrestore_t sa_restorer;
};

struct sigaction {
__sighandler_t sa_handler;
unsigned long sa_flags;
__sigrestorer_t sa_restorer;
__sigrestore_t sa_restorer;
sigset_t sa_mask; /* mask last for extensibility */
};

Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-s390/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-sh/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,7 @@ typedef unsigned long sigset_t;
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
11 changes: 1 addition & 10 deletions trunk/include/asm-sh64/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,7 @@ typedef struct {
#define MINSIGSTKSZ 2048
#define SIGSTKSZ THREAD_SIZE

#define SIG_BLOCK 0 /* for blocking signals */
#define SIG_UNBLOCK 1 /* for unblocking signals */
#define SIG_SETMASK 2 /* for setting the signal mask */

/* Type of a signal handler. */
typedef void (*__sighandler_t)(int);

#define SIG_DFL ((__sighandler_t)0) /* default signal handling */
#define SIG_IGN ((__sighandler_t)1) /* ignore signal */
#define SIG_ERR ((__sighandler_t)-1) /* error return from signal */
#include <asm-generic/signal.h>

#ifdef __KERNEL__
struct old_sigaction {
Expand Down
Loading

0 comments on commit 21c2bf9

Please sign in to comment.