mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
61b63c556c
Now that ITIMER_REAL is no longer used, there is no need for any use of SIGALRM whatsoever. This patch removes all mention of it. In addition, real_alarm_handler took a signal argument which is now always SIGVTALRM. So, that is gone. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
24 lines
596 B
C
24 lines
596 B
C
/*
|
|
* Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
|
|
* Licensed under the GPL
|
|
*/
|
|
|
|
#include <signal.h>
|
|
#include "os.h"
|
|
#include "sysdep/ptrace.h"
|
|
|
|
/* Initialized from linux_main() */
|
|
void (*sig_info[NSIG])(int, struct uml_pt_regs *);
|
|
|
|
void os_fill_handlinfo(struct kern_handlers h)
|
|
{
|
|
sig_info[SIGTRAP] = h.relay_signal;
|
|
sig_info[SIGFPE] = h.relay_signal;
|
|
sig_info[SIGILL] = h.relay_signal;
|
|
sig_info[SIGWINCH] = h.winch;
|
|
sig_info[SIGBUS] = h.bus_handler;
|
|
sig_info[SIGSEGV] = h.page_fault;
|
|
sig_info[SIGIO] = h.sigio_handler;
|
|
sig_info[SIGVTALRM] = h.timer_handler;
|
|
}
|