xref: /linux/arch/arm64/include/uapi/asm/fcntl.h (revision e2be04c7)
1*e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
24262a727SDavid Howells /*
34262a727SDavid Howells  * Copyright (C) 2012 ARM Ltd.
44262a727SDavid Howells  *
54262a727SDavid Howells  * This program is free software; you can redistribute it and/or modify
64262a727SDavid Howells  * it under the terms of the GNU General Public License version 2 as
74262a727SDavid Howells  * published by the Free Software Foundation.
84262a727SDavid Howells  *
94262a727SDavid Howells  * This program is distributed in the hope that it will be useful,
104262a727SDavid Howells  * but WITHOUT ANY WARRANTY; without even the implied warranty of
114262a727SDavid Howells  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
124262a727SDavid Howells  * GNU General Public License for more details.
134262a727SDavid Howells  *
144262a727SDavid Howells  * You should have received a copy of the GNU General Public License
154262a727SDavid Howells  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
164262a727SDavid Howells  */
174262a727SDavid Howells #ifndef __ASM_FCNTL_H
184262a727SDavid Howells #define __ASM_FCNTL_H
194262a727SDavid Howells 
204262a727SDavid Howells /*
214262a727SDavid Howells  * Using our own definitions for AArch32 (compat) support.
224262a727SDavid Howells  */
234262a727SDavid Howells #define O_DIRECTORY	 040000	/* must be a directory */
244262a727SDavid Howells #define O_NOFOLLOW	0100000	/* don't follow links */
254262a727SDavid Howells #define O_DIRECT	0200000	/* direct disk access hint - currently ignored */
264262a727SDavid Howells #define O_LARGEFILE	0400000
274262a727SDavid Howells 
284262a727SDavid Howells #include <asm-generic/fcntl.h>
294262a727SDavid Howells 
304262a727SDavid Howells #endif
31