ucred.h (72786) | ucred.h (74914) |
---|---|
1/* 2 * Copyright (c) 1989, 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 * @(#)ucred.h 8.4 (Berkeley) 1/9/95 | 1/* 2 * Copyright (c) 1989, 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 * @(#)ucred.h 8.4 (Berkeley) 1/9/95 |
34 * $FreeBSD: head/sys/sys/ucred.h 72786 2001-02-21 06:39:57Z rwatson $ | 34 * $FreeBSD: head/sys/sys/ucred.h 74914 2001-03-28 09:17:56Z jhb $ |
35 */ 36 37#ifndef _SYS_UCRED_H_ 38#define _SYS_UCRED_H_ 39 | 35 */ 36 37#ifndef _SYS_UCRED_H_ 38#define _SYS_UCRED_H_ 39 |
40#include <sys/mutex.h> | 40#include <sys/lock.h> /* XXX */ 41#include <sys/mutex.h> /* XXX */ |
41 42/* 43 * Credentials. 44 * 45 * Please do not inspect cr_uid directly to determine superuserness. 46 * Only the suser()/suser_xxx() function should be used for this. 47 */ 48struct ucred { --- 40 unchanged lines hidden --- | 42 43/* 44 * Credentials. 45 * 46 * Please do not inspect cr_uid directly to determine superuserness. 47 * Only the suser()/suser_xxx() function should be used for this. 48 */ 49struct ucred { --- 40 unchanged lines hidden --- |