kern_proc.c (107137) | kern_proc.c (108470) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)kern_proc.c 8.7 (Berkeley) 2/14/95 |
34 * $FreeBSD: head/sys/kern/kern_proc.c 107137 2002-11-21 09:30:55Z jeff $ | 34 * $FreeBSD: head/sys/kern/kern_proc.c 108470 2002-12-30 21:18:15Z schweikh $ |
35 */ 36 37#include "opt_ktrace.h" 38#include "opt_kstack_pages.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/kernel.h> --- 567 unchanged lines hidden (view full) --- 610 } 611 } 612 } 613 } 614} 615#endif /* DDB */ 616 617/* | 35 */ 36 37#include "opt_ktrace.h" 38#include "opt_kstack_pages.h" 39 40#include <sys/param.h> 41#include <sys/systm.h> 42#include <sys/kernel.h> --- 567 unchanged lines hidden (view full) --- 610 } 611 } 612 } 613 } 614} 615#endif /* DDB */ 616 617/* |
618 * Fill in an kinfo_proc structure for the specified process. | 618 * Fill in a kinfo_proc structure for the specified process. |
619 * Must be called with the target process locked. 620 */ 621void 622fill_kinfo_proc(p, kp) 623 struct proc *p; 624 struct kinfo_proc *kp; 625{ 626 struct thread *td; --- 488 unchanged lines hidden --- | 619 * Must be called with the target process locked. 620 */ 621void 622fill_kinfo_proc(p, kp) 623 struct proc *p; 624 struct kinfo_proc *kp; 625{ 626 struct thread *td; --- 488 unchanged lines hidden --- |