conf.h (179413) | conf.h (179726) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2000 5 * Poul-Henning Kamp. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)conf.h 8.5 (Berkeley) 1/9/95 | 1/*- 2 * Copyright (c) 1990, 1993 3 * The Regents of the University of California. All rights reserved. 4 * Copyright (c) 2000 5 * Poul-Henning Kamp. All rights reserved. 6 * (c) UNIX System Laboratories, Inc. 7 * All or some portions of this file are derived from material licensed 8 * to the University of California by American Telephone and Telegraph --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)conf.h 8.5 (Berkeley) 1/9/95 |
37 * $FreeBSD: head/sys/sys/conf.h 179413 2008-05-29 12:50:46Z ed $ | 37 * $FreeBSD: head/sys/sys/conf.h 179726 2008-06-11 18:55:19Z ed $ |
38 */ 39 40#ifndef _SYS_CONF_H_ 41#define _SYS_CONF_H_ 42 43#ifdef _KERNEL 44#include <sys/eventhandler.h> 45#else --- 20 unchanged lines hidden (view full) --- 66#define SI_CLONELIST 0x0200 /* on a clone list */ 67 struct timespec si_atime; 68 struct timespec si_ctime; 69 struct timespec si_mtime; 70 uid_t si_uid; 71 gid_t si_gid; 72 mode_t si_mode; 73 struct ucred *si_cred; /* cached clone-time credential */ | 38 */ 39 40#ifndef _SYS_CONF_H_ 41#define _SYS_CONF_H_ 42 43#ifdef _KERNEL 44#include <sys/eventhandler.h> 45#else --- 20 unchanged lines hidden (view full) --- 66#define SI_CLONELIST 0x0200 /* on a clone list */ 67 struct timespec si_atime; 68 struct timespec si_ctime; 69 struct timespec si_mtime; 70 uid_t si_uid; 71 gid_t si_gid; 72 mode_t si_mode; 73 struct ucred *si_cred; /* cached clone-time credential */ |
74 u_int si_drv0; | 74 int si_drv0; |
75 int si_refcount; 76 LIST_ENTRY(cdev) si_list; 77 LIST_ENTRY(cdev) si_clone; 78 LIST_HEAD(, cdev) si_children; 79 LIST_ENTRY(cdev) si_siblings; 80 struct cdev *si_parent; 81 char *si_name; 82 void *si_drv1, *si_drv2; --- 83 unchanged lines hidden (view full) --- 166 167/* 168 * Flags for d_flags which the drivers can set. 169 */ 170#define D_TRACKCLOSE 0x00080000 /* track all closes */ 171#define D_MMAP_ANON 0x00100000 /* special treatment in vm_mmap.c */ 172#define D_PSEUDO 0x00200000 /* make_dev() can return NULL */ 173#define D_NEEDGIANT 0x00400000 /* driver want Giant */ | 75 int si_refcount; 76 LIST_ENTRY(cdev) si_list; 77 LIST_ENTRY(cdev) si_clone; 78 LIST_HEAD(, cdev) si_children; 79 LIST_ENTRY(cdev) si_siblings; 80 struct cdev *si_parent; 81 char *si_name; 82 void *si_drv1, *si_drv2; --- 83 unchanged lines hidden (view full) --- 166 167/* 168 * Flags for d_flags which the drivers can set. 169 */ 170#define D_TRACKCLOSE 0x00080000 /* track all closes */ 171#define D_MMAP_ANON 0x00100000 /* special treatment in vm_mmap.c */ 172#define D_PSEUDO 0x00200000 /* make_dev() can return NULL */ 173#define D_NEEDGIANT 0x00400000 /* driver want Giant */ |
174#define D_NEEDMINOR 0x00800000 /* driver uses clone_create() */ |
|
174 175/* 176 * Version numbers. 177 */ 178#define D_VERSION_00 0x20011966 179#define D_VERSION_01 0x17032005 /* Add d_uid,gid,mode & kind */ 180#define D_VERSION D_VERSION_01 181 --- 152 unchanged lines hidden --- | 175 176/* 177 * Version numbers. 178 */ 179#define D_VERSION_00 0x20011966 180#define D_VERSION_01 0x17032005 /* Add d_uid,gid,mode & kind */ 181#define D_VERSION D_VERSION_01 182 --- 152 unchanged lines hidden --- |