Remove usages of ibcs_sigflags.
This commit is contained in:
parent
92e9818c88
commit
7688f4456e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: vm_machdep.c,v 1.43 1995/05/01 04:48:39 mycroft Exp $ */
|
||||
/* $NetBSD: vm_machdep.c,v 1.44 1995/05/01 04:50:28 mycroft Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986 The Regents of the University of California.
|
||||
|
@ -98,7 +98,6 @@ cpu_fork(p1, p2)
|
|||
/* Copy the pcb. */
|
||||
*pcb = p1->p_addr->u_pcb;
|
||||
p2->p_md.md_regs = p1->p_md.md_regs;
|
||||
p2->p_md.ibcs_sigflags = p1->p_md.ibcs_sigflags;
|
||||
|
||||
/* Fix up the TSS, etc. */
|
||||
pcb->pcb_cr0 |= CR0_TS;
|
||||
|
|
|
@ -191,7 +191,7 @@ ibcs2_sigsys(p, uap, retval)
|
|||
switch (IBCS2_SIGCALL(SCARG(uap, sig))) {
|
||||
/*
|
||||
* sigset is identical to signal() except that SIG_HOLD is allowed as
|
||||
* an action and we don't set the bit in the ibcs_sigflags field.
|
||||
* an action.
|
||||
*/
|
||||
case IBCS2_SIGSET_MASK:
|
||||
if (SCARG(uap, fp) == IBCS2_SIG_HOLD) {
|
||||
|
@ -228,8 +228,6 @@ ibcs2_sigsys(p, uap, retval)
|
|||
return error;
|
||||
}
|
||||
*retval = (int)SCARG(&sa_args, osa)->sa_handler;
|
||||
if (IBCS2_SIGCALL(SCARG(uap, sig)) == IBCS2_SIGNAL_MASK)
|
||||
p->p_md.ibcs_sigflags |= sigmask(nsig);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_signal.c,v 1.9 1995/03/31 03:06:26 christos Exp $ */
|
||||
/* $NetBSD: svr4_signal.c,v 1.10 1995/05/01 04:51:51 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Christos Zoulas
|
||||
|
@ -369,8 +369,7 @@ svr4_signal(p, uap, retval)
|
|||
/*
|
||||
* sigset is identical to signal() except
|
||||
* that SIG_HOLD is allowed as
|
||||
* an action and we don't set the bit
|
||||
* in the ibcs_sigflags field.
|
||||
* an action.
|
||||
*/
|
||||
if (SCARG(uap, handler) == SVR4_SIG_HOLD) {
|
||||
struct sigprocmask_args sa;
|
||||
|
@ -416,12 +415,6 @@ svr4_signal(p, uap, retval)
|
|||
return error;
|
||||
|
||||
*retval = (int) sa.sa_handler;
|
||||
#ifdef i386
|
||||
/* XXX: Fix the rest? */
|
||||
if (SVR4_SIGCALL(SCARG(uap, signum)) ==
|
||||
SVR4_SIGNAL_MASK)
|
||||
p->p_md.ibcs_sigflags |= sigmask(nsig);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue