Deleted Added
full compact
kern_sig.c (58717) kern_sig.c (58755)
1/*
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)kern_sig.c 8.7 (Berkeley) 4/18/94
1/*
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * (c) UNIX System Laboratories, Inc.
5 * All or some portions of this file are derived from material licensed
6 * to the University of California by American Telephone and Telegraph
7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with
8 * the permission of UNIX System Laboratories, Inc.

--- 22 unchanged lines hidden (view full) ---

31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * SUCH DAMAGE.
37 *
38 * @(#)kern_sig.c 8.7 (Berkeley) 4/18/94
39 * $FreeBSD: head/sys/kern/kern_sig.c 58717 2000-03-28 07:16:37Z dillon $
39 * $FreeBSD: head/sys/kern/kern_sig.c 58755 2000-03-28 18:06:49Z dillon $
40 */
41
42#include "opt_compat.h"
43#include "opt_ktrace.h"
44
45#include <sys/param.h>
46#include <sys/kernel.h>
47#include <sys/sysproto.h>

--- 13 unchanged lines hidden (view full) ---

61#include <sys/sysent.h>
62#include <sys/sysctl.h>
63#include <sys/malloc.h>
64
65#include <vm/vm_zone.h>
66
67#include <machine/ipl.h>
68#include <machine/cpu.h>
40 */
41
42#include "opt_compat.h"
43#include "opt_ktrace.h"
44
45#include <sys/param.h>
46#include <sys/kernel.h>
47#include <sys/sysproto.h>

--- 13 unchanged lines hidden (view full) ---

61#include <sys/sysent.h>
62#include <sys/sysctl.h>
63#include <sys/malloc.h>
64
65#include <vm/vm_zone.h>
66
67#include <machine/ipl.h>
68#include <machine/cpu.h>
69#ifdef SMP
70#include <machine/smp.h>
69#include <machine/smp.h>
71#endif
72
73#define ONSIG 32 /* NSIG for osig* syscalls. XXX. */
74
75static int coredump __P((struct proc *));
76static int do_sigaction __P((struct proc *p, int sig, struct sigaction *act,
77 struct sigaction *oact, int old));
78static int do_sigprocmask __P((struct proc *p, int how, sigset_t *set,
79 sigset_t *oset, int old));

--- 1606 unchanged lines hidden ---
70
71#define ONSIG 32 /* NSIG for osig* syscalls. XXX. */
72
73static int coredump __P((struct proc *));
74static int do_sigaction __P((struct proc *p, int sig, struct sigaction *act,
75 struct sigaction *oact, int old));
76static int do_sigprocmask __P((struct proc *p, int how, sigset_t *set,
77 sigset_t *oset, int old));

--- 1606 unchanged lines hidden ---