Export bsd_to_linux_sig[], and use it.
This commit is contained in:
parent
0a601c87ba
commit
9b899c17cd
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_machdep.c,v 1.11 1995/08/14 01:38:24 mycroft Exp $ */
|
||||
/* $NetBSD: linux_machdep.c,v 1.12 1995/08/14 02:19:54 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -112,7 +112,7 @@ linux_sendsig(catcher, sig, mask, code)
|
||||
}
|
||||
|
||||
frame.sf_handler = catcher;
|
||||
frame.sf_sig = bsd_to_linux_sig(sig);
|
||||
frame.sf_sig = bsd_to_linux_sig[sig];
|
||||
|
||||
/*
|
||||
* Build the signal context to be used by sigreturn.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_machdep.c,v 1.11 1995/08/14 01:38:24 mycroft Exp $ */
|
||||
/* $NetBSD: linux_machdep.c,v 1.12 1995/08/14 02:19:54 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -112,7 +112,7 @@ linux_sendsig(catcher, sig, mask, code)
|
||||
}
|
||||
|
||||
frame.sf_handler = catcher;
|
||||
frame.sf_sig = bsd_to_linux_sig(sig);
|
||||
frame.sf_sig = bsd_to_linux_sig[sig];
|
||||
|
||||
/*
|
||||
* Build the signal context to be used by sigreturn.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_signal.h,v 1.2 1995/08/14 01:12:16 mycroft Exp $ */
|
||||
/* $NetBSD: linux_signal.h,v 1.3 1995/08/14 02:19:08 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -89,4 +89,6 @@ struct linux_sigaction {
|
||||
#define LINUX_SA_NOMASK 0x40000000
|
||||
#define LINUX_SA_ONESHOT 0x80000000
|
||||
|
||||
extern int bsd_to_linux_sig[];
|
||||
|
||||
#endif /* !_LINUX_SIGNAL_H */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_signal.h,v 1.2 1995/08/14 01:12:16 mycroft Exp $ */
|
||||
/* $NetBSD: linux_signal.h,v 1.3 1995/08/14 02:19:08 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -89,4 +89,6 @@ struct linux_sigaction {
|
||||
#define LINUX_SA_NOMASK 0x40000000
|
||||
#define LINUX_SA_ONESHOT 0x80000000
|
||||
|
||||
extern int bsd_to_linux_sig[];
|
||||
|
||||
#endif /* !_LINUX_SIGNAL_H */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_machdep.c,v 1.11 1995/08/14 01:38:24 mycroft Exp $ */
|
||||
/* $NetBSD: linux_machdep.c,v 1.12 1995/08/14 02:19:54 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -112,7 +112,7 @@ linux_sendsig(catcher, sig, mask, code)
|
||||
}
|
||||
|
||||
frame.sf_handler = catcher;
|
||||
frame.sf_sig = bsd_to_linux_sig(sig);
|
||||
frame.sf_sig = bsd_to_linux_sig[sig];
|
||||
|
||||
/*
|
||||
* Build the signal context to be used by sigreturn.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_signal.h,v 1.2 1995/08/14 01:12:16 mycroft Exp $ */
|
||||
/* $NetBSD: linux_signal.h,v 1.3 1995/08/14 02:19:08 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -89,4 +89,6 @@ struct linux_sigaction {
|
||||
#define LINUX_SA_NOMASK 0x40000000
|
||||
#define LINUX_SA_ONESHOT 0x80000000
|
||||
|
||||
extern int bsd_to_linux_sig[];
|
||||
|
||||
#endif /* !_LINUX_SIGNAL_H */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_signal.h,v 1.2 1995/08/14 01:12:16 mycroft Exp $ */
|
||||
/* $NetBSD: linux_signal.h,v 1.3 1995/08/14 02:19:08 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -89,4 +89,6 @@ struct linux_sigaction {
|
||||
#define LINUX_SA_NOMASK 0x40000000
|
||||
#define LINUX_SA_ONESHOT 0x80000000
|
||||
|
||||
extern int bsd_to_linux_sig[];
|
||||
|
||||
#endif /* !_LINUX_SIGNAL_H */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_signal.h,v 1.2 1995/08/14 01:12:16 mycroft Exp $ */
|
||||
/* $NetBSD: linux_signal.h,v 1.3 1995/08/14 02:19:08 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Frank van der Linden
|
||||
@ -89,4 +89,6 @@ struct linux_sigaction {
|
||||
#define LINUX_SA_NOMASK 0x40000000
|
||||
#define LINUX_SA_ONESHOT 0x80000000
|
||||
|
||||
extern int bsd_to_linux_sig[];
|
||||
|
||||
#endif /* !_LINUX_SIGNAL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user