linux_file.h revision 227693
1177997Skib/*-
2177997Skib * Copyright (c) 2007 Roman Divacky
3177997Skib * All rights reserved.
4177997Skib *
5177997Skib * Redistribution and use in source and binary forms, with or without
6177997Skib * modification, are permitted provided that the following conditions
7177997Skib * are met:
8177997Skib * 1. Redistributions of source code must retain the above copyright
9177997Skib *    notice, this list of conditions and the following disclaimer.
10177997Skib * 2. Redistributions in binary form must reproduce the above copyright
11177997Skib *    notice, this list of conditions and the following disclaimer in the
12177997Skib *    documentation and/or other materials provided with the distribution.
13177997Skib *
14177997Skib * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15177997Skib * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16177997Skib * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17177997Skib * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18177997Skib * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19177997Skib * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20177997Skib * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21177997Skib * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22177997Skib * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23177997Skib * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24177997Skib * SUCH DAMAGE.
25177997Skib *
26177997Skib * $FreeBSD: head/sys/compat/linux/linux_file.h 227693 2011-11-19 07:19:37Z ed $
27177997Skib */
28177997Skib
29177997Skib#ifndef _LINUX_FILE_H_
30177997Skib#define	_LINUX_FILE_H_
31177997Skib
32177997Skib#define	LINUX_AT_FDCWD			-100
33177997Skib#define	LINUX_AT_SYMLINK_NOFOLLOW	0x100
34227693Sed#define	LINUX_AT_EACCESS		0x200
35177997Skib#define	LINUX_AT_REMOVEDIR		0x200
36227693Sed#define	LINUX_AT_SYMLINK_FOLLOW		0x400
37177997Skib
38177997Skib#endif	/* !_LINUX_FILE_H_ */
39