proc.h (180799) | proc.h (181334) |
---|---|
1/*- 2 * Copyright (c) 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. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)proc.h 8.15 (Berkeley) 5/19/95 | 1/*- 2 * Copyright (c) 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. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)proc.h 8.15 (Berkeley) 5/19/95 |
35 * $FreeBSD: head/sys/sys/proc.h 180799 2008-07-25 11:55:32Z kib $ | 35 * $FreeBSD: head/sys/sys/proc.h 181334 2008-08-05 20:02:31Z jhb $ |
36 */ 37 38#ifndef _SYS_PROC_H_ 39#define _SYS_PROC_H_ 40 41#include <sys/callout.h> /* For struct callout. */ 42#include <sys/event.h> /* For struct klist. */ 43#ifndef _KERNEL --- 759 unchanged lines hidden (view full) --- 803void proc_linkup(struct proc *p, struct thread *td); 804void proc_reparent(struct proc *child, struct proc *newparent); 805struct pstats *pstats_alloc(void); 806void pstats_fork(struct pstats *src, struct pstats *dst); 807void pstats_free(struct pstats *ps); 808int securelevel_ge(struct ucred *cr, int level); 809int securelevel_gt(struct ucred *cr, int level); 810void sessrele(struct session *); | 36 */ 37 38#ifndef _SYS_PROC_H_ 39#define _SYS_PROC_H_ 40 41#include <sys/callout.h> /* For struct callout. */ 42#include <sys/event.h> /* For struct klist. */ 43#ifndef _KERNEL --- 759 unchanged lines hidden (view full) --- 803void proc_linkup(struct proc *p, struct thread *td); 804void proc_reparent(struct proc *child, struct proc *newparent); 805struct pstats *pstats_alloc(void); 806void pstats_fork(struct pstats *src, struct pstats *dst); 807void pstats_free(struct pstats *ps); 808int securelevel_ge(struct ucred *cr, int level); 809int securelevel_gt(struct ucred *cr, int level); 810void sessrele(struct session *); |
811void setrunnable(struct thread *); | 811int setrunnable(struct thread *); |
812void setsugid(struct proc *p); 813int sigonstack(size_t sp); 814void sleepinit(void); 815void stopevent(struct proc *, u_int, u_int); 816void threadinit(void); 817void cpu_idle(int); 818int cpu_idle_wakeup(int); 819extern void (*cpu_idle_hook)(void); /* Hook to machdep CPU idler. */ --- 46 unchanged lines hidden --- | 812void setsugid(struct proc *p); 813int sigonstack(size_t sp); 814void sleepinit(void); 815void stopevent(struct proc *, u_int, u_int); 816void threadinit(void); 817void cpu_idle(int); 818int cpu_idle_wakeup(int); 819extern void (*cpu_idle_hook)(void); /* Hook to machdep CPU idler. */ --- 46 unchanged lines hidden --- |