/* IBM_PROLOG_BEGIN_TAG                                                   */
/* This is an automatically generated prolog.                             */
/*                                                                        */
/* bos72L src/bos/kernel/sys/lkup.h 1.12.1.2                              */
/*                                                                        */
/* Licensed Materials - Property of IBM                                   */
/*                                                                        */
/* COPYRIGHT International Business Machines Corp. 1985,2017              */
/* All Rights Reserved                                                    */
/*                                                                        */
/* US Government Users Restricted Rights - Use, duplication or            */
/* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.      */
/*                                                                        */
/* IBM_PROLOG_END_TAG                                                     */
/* @(#)86	1.12.1.2  src/bos/kernel/sys/lkup.h, syslfs, bos72L, l2017_43A7 10/13/17 16:16:13 */
#ifndef _H_LKUP
#define _H_LKUP

/*
 * COMPONENT_NAME: SYSLFS - Logical File System
 *
 * FUNCTIONS:
 *
 * ORIGINS: 27
 *
 * (C) COPYRIGHT International Business Machines Corp. 1985, 1989
 * All Rights Reserved
 * Licensed Materials - Property of IBM
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 */

#define L_NOLOCK	0x1000			/* allow one recursive call to lookuppn */
#define L_NOCHECK	0x0800			/* don't check parent access */
#define L_FDCWD		0x0400			/* curdvp is from a dirfd */
#define L_NOCHROOT      0x0200                  /* stop at real root only */
#define	L_INTSNAP	0x0100			/* for internal snap device */
#define	L_NOFOLLOW	0x0080			/* for symbolic links */
#define	L_NOXLINK	L_NOFOLLOW
#define L_NOXMOUNT	0x0040			/* for mount stubs */
#define L_NOXHIDDEN	0x0020			/* for hidden directories */
#define	L_LOC		0x0010
#define	L_OPEN 		0x0008
#define	L_EROFS		0x0004
#define L_SEARCH	0x0002
#define	L_CRT		0x0001
#define	L_CREATE	(L_CRT | L_EROFS)
#define	L_SEARCHLOC	(L_SEARCH | L_LOC)
#define	L_DEL		(L_SEARCH | L_EROFS)

#endif /* _H_LKUP */