Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * Copyright (C) 2012 ARM Ltd.
0004  *
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License version 2 as
0007  * published by the Free Software Foundation.
0008  *
0009  * This program is distributed in the hope that it will be useful,
0010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0012  * GNU General Public License for more details.
0013  *
0014  * You should have received a copy of the GNU General Public License
0015  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
0016  */
0017 #ifndef __ASM_FCNTL_H
0018 #define __ASM_FCNTL_H
0019 
0020 /*
0021  * Using our own definitions for AArch32 (compat) support.
0022  */
0023 #define O_DIRECTORY  040000 /* must be a directory */
0024 #define O_NOFOLLOW  0100000 /* don't follow links */
0025 #define O_DIRECT    0200000 /* direct disk access hint - currently ignored */
0026 #define O_LARGEFILE 0400000
0027 
0028 #include <asm-generic/fcntl.h>
0029 
0030 #endif