namei.h (105479) | namei.h (108470) |
---|---|
1/* 2 * Copyright (c) 1985, 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 * @(#)namei.h 8.5 (Berkeley) 1/9/95 | 1/* 2 * Copyright (c) 1985, 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 * @(#)namei.h 8.5 (Berkeley) 1/9/95 |
34 * $FreeBSD: head/sys/sys/namei.h 105479 2002-10-19 21:25:51Z rwatson $ | 34 * $FreeBSD: head/sys/sys/namei.h 108470 2002-12-30 21:18:15Z schweikh $ |
35 */ 36 37#ifndef _SYS_NAMEI_H_ 38#define _SYS_NAMEI_H_ 39 40#include <sys/queue.h> 41#include <sys/uio.h> 42 --- 100 unchanged lines hidden (view full) --- 143#define WILLBEDIR 0x080000 /* new files will be dirs; allow trailing / */ 144#define ISUNICODE 0x100000 /* current component name is unicode*/ 145#define PDIRUNLOCK 0x200000 /* filesystem lookup() unlocked parent dir */ 146#define NOCROSSMOUNT 0x400000 /* do not cross mount points */ 147#define NOMACCHECK 0x800000 /* do not perform MAC checks */ 148#define PARAMASK 0xfffe00 /* mask of parameter descriptors */ 149 150/* | 35 */ 36 37#ifndef _SYS_NAMEI_H_ 38#define _SYS_NAMEI_H_ 39 40#include <sys/queue.h> 41#include <sys/uio.h> 42 --- 100 unchanged lines hidden (view full) --- 143#define WILLBEDIR 0x080000 /* new files will be dirs; allow trailing / */ 144#define ISUNICODE 0x100000 /* current component name is unicode*/ 145#define PDIRUNLOCK 0x200000 /* filesystem lookup() unlocked parent dir */ 146#define NOCROSSMOUNT 0x400000 /* do not cross mount points */ 147#define NOMACCHECK 0x800000 /* do not perform MAC checks */ 148#define PARAMASK 0xfffe00 /* mask of parameter descriptors */ 149 150/* |
151 * Initialization of an nameidata structure. | 151 * Initialization of a nameidata structure. |
152 */ 153static void NDINIT(struct nameidata *, u_long, u_long, enum uio_seg, 154 const char *, struct thread *); 155static __inline void 156#if defined(__STDC__) || defined(__cplusplus) 157NDINIT(struct nameidata *ndp, 158 u_long op, u_long flags, 159 enum uio_seg segflg, --- 53 unchanged lines hidden --- | 152 */ 153static void NDINIT(struct nameidata *, u_long, u_long, enum uio_seg, 154 const char *, struct thread *); 155static __inline void 156#if defined(__STDC__) || defined(__cplusplus) 157NDINIT(struct nameidata *ndp, 158 u_long op, u_long flags, 159 enum uio_seg segflg, --- 53 unchanged lines hidden --- |