summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/signal.c b/signal.c
index 4f7daf3..baaac7c 100644
--- a/signal.c
+++ b/signal.c
@@ -40,7 +40,6 @@
#include <sys/user.h>
#include <fcntl.h>
-
#ifdef HAVE_SYS_REG_H
# include <sys/reg.h>
# ifndef PTRACE_PEEKUSR
@@ -62,8 +61,6 @@
# undef pt_all_user_regs
#endif
-
-
#ifdef IA64
# include <asm/ptrace_offsets.h>
#endif
@@ -376,7 +373,6 @@ print_sigset(struct tcb *tcp, long addr, int rt)
printsigmask(&ss, rt);
}
-
#ifndef ILL_ILLOPC
#define ILL_ILLOPC 1 /* illegal opcode */
#define ILL_ILLOPN 2 /* illegal operand */
@@ -509,8 +505,6 @@ typedef struct siginfo
#endif
-
-
static const struct xlat siginfo_codes[] = {
#ifdef SI_KERNEL
{ SI_KERNEL, "SI_KERNEL" },
@@ -770,9 +764,6 @@ printsiginfo(siginfo_t *sip, int verbose)
tprints("}");
}
-
-
-
int
sys_sigsetmask(struct tcb *tcp)
{
@@ -791,8 +782,6 @@ sys_sigsetmask(struct tcb *tcp)
return 0;
}
-
-
#ifdef HAVE_SIGACTION
struct old_sigaction {
@@ -814,7 +803,6 @@ sys_sigaction(struct tcb *tcp)
sigset_t sigset;
struct old_sigaction sa;
-
if (entering(tcp)) {
printsignal(tcp->u_arg[0]);
tprints(", ");
@@ -898,10 +886,8 @@ sys_signal(struct tcb *tcp)
return 0;
}
-
#endif /* HAVE_SIGACTION */
-
int
sys_sigreturn(struct tcb *tcp)
{
@@ -1156,8 +1142,6 @@ static const struct xlat sigaltstack_flags[] = {
{ 0, NULL },
};
-
-
static int
print_stack_t(struct tcb *tcp, unsigned long addr)
{
@@ -1240,7 +1224,6 @@ sys_kill(struct tcb *tcp)
return 0;
}
-
int
sys_tgkill(struct tcb *tcp)
{
@@ -1267,8 +1250,6 @@ sys_sigpending(struct tcb *tcp)
return 0;
}
-
-
int
sys_rt_sigprocmask(struct tcb *tcp)
{
@@ -1301,7 +1282,6 @@ sys_rt_sigprocmask(struct tcb *tcp)
return 0;
}
-
/* Structure describing the action to be taken when a signal arrives. */
struct new_sigaction
{
@@ -1320,7 +1300,6 @@ struct new_sigaction32
uint32_t sa_mask[2 * (NSIG / sizeof(long) ? NSIG / sizeof(long) : 1)];
};
-
int
sys_rt_sigaction(struct tcb *tcp)
{