vnode.h (182371) | vnode.h (182905) |
---|---|
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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)vnode.h 8.7 (Berkeley) 2/4/94 | 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 --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)vnode.h 8.7 (Berkeley) 2/4/94 |
30 * $FreeBSD: head/sys/sys/vnode.h 182371 2008-08-28 15:23:18Z attilio $ | 30 * $FreeBSD: head/sys/sys/vnode.h 182905 2008-09-10 13:16:41Z trasz $ |
31 */ 32 33#ifndef _SYS_VNODE_H_ 34#define _SYS_VNODE_H_ 35 36#include <sys/bufobj.h> 37#include <sys/queue.h> 38#include <sys/lock.h> --- 270 unchanged lines hidden (view full) --- 309#define IO_SEQSHIFT 16 /* seq heuristic in upper 16 bits */ 310 311/* 312 * Modes. Some values same as Ixxx entries from inode.h for now. 313 */ 314#define VEXEC 000100 /* execute/search permission */ 315#define VWRITE 000200 /* write permission */ 316#define VREAD 000400 /* read permission */ | 31 */ 32 33#ifndef _SYS_VNODE_H_ 34#define _SYS_VNODE_H_ 35 36#include <sys/bufobj.h> 37#include <sys/queue.h> 38#include <sys/lock.h> --- 270 unchanged lines hidden (view full) --- 309#define IO_SEQSHIFT 16 /* seq heuristic in upper 16 bits */ 310 311/* 312 * Modes. Some values same as Ixxx entries from inode.h for now. 313 */ 314#define VEXEC 000100 /* execute/search permission */ 315#define VWRITE 000200 /* write permission */ 316#define VREAD 000400 /* read permission */ |
317#define VSVTX 001000 /* save swapped text even after use */ 318#define VSGID 002000 /* set group id on execution */ 319#define VSUID 004000 /* set user id on execution */ | |
320#define VADMIN 010000 /* permission to administer */ 321#define VSTAT 020000 /* permission to retrieve attrs */ 322#define VAPPEND 040000 /* permission to write/append */ 323#define VALLPERM (VEXEC | VWRITE | VREAD | VADMIN | VSTAT | VAPPEND) 324 325/* 326 * Token indicating no attribute value yet assigned. 327 */ --- 421 unchanged lines hidden --- | 317#define VADMIN 010000 /* permission to administer */ 318#define VSTAT 020000 /* permission to retrieve attrs */ 319#define VAPPEND 040000 /* permission to write/append */ 320#define VALLPERM (VEXEC | VWRITE | VREAD | VADMIN | VSTAT | VAPPEND) 321 322/* 323 * Token indicating no attribute value yet assigned. 324 */ --- 421 unchanged lines hidden --- |