/*	$NetBSD: rump_namei.h,v 1.48 2021/06/29 22:40:06 dholland Exp $	*/


/*
 * WARNING: GENERATED FILE.  DO NOT EDIT
 * (edit namei.src and run make namei in src/sys/sys)
 *   by:   NetBSD: gennameih.awk,v 1.5 2009/12/23 14:17:19 pooka Exp 
 *   from: NetBSD: namei.src,v 1.60 2021/06/29 22:39:21 dholland Exp 
 */

#ifndef _RUMP_RUMP_NAMEI_H_
#define _RUMP_RUMP_NAMEI_H_

#define RUMP_NAMEI_LOOKUP	0
#define RUMP_NAMEI_CREATE	1
#define RUMP_NAMEI_DELETE	2
#define RUMP_NAMEI_RENAME	3
#define RUMP_NAMEI_OPMASK	3
#define RUMP_NAMEI_LOCKLEAF	0x00000004
#define RUMP_NAMEI_LOCKPARENT	0x00000008
#define RUMP_NAMEI_TRYEMULROOT	0x00000010
#define RUMP_NAMEI_NOCACHE	0x00000020
#define RUMP_NAMEI_FOLLOW	0x00000040
#define RUMP_NAMEI_NOFOLLOW	0x00000000
#define RUMP_NAMEI_EMULROOTSET	0x00000080
#define RUMP_NAMEI_LOCKSHARED	0x00000100
#define RUMP_NAMEI_NOCHROOT	0x01000000
#define RUMP_NAMEI_NONEXCLHACK	0x02000000
#define RUMP_NAMEI_MODMASK	0x030001fc
#define RUMP_NAMEI_NOCROSSMOUNT	0x0000800
#define RUMP_NAMEI_RDONLY	0x0001000
#define RUMP_NAMEI_ISDOTDOT	0x0002000
#define RUMP_NAMEI_MAKEENTRY	0x0004000
#define RUMP_NAMEI_ISLASTCN	0x0008000
#define RUMP_NAMEI_WILLBEDIR	0x0010000
#define RUMP_NAMEI_ISWHITEOUT	0x0020000
#define RUMP_NAMEI_DOWHITEOUT	0x0040000
#define RUMP_NAMEI_REQUIREDIR	0x0080000
#define RUMP_NAMEI_CREATEDIR	0x0200000
#define RUMP_NAMEI_PARAMASK	0x02ff800

#endif /* _RUMP_RUMP_NAMEI_H_ */