162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2012 ARM Ltd. 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * This program is free software; you can redistribute it and/or modify 662306a36Sopenharmony_ci * it under the terms of the GNU General Public License version 2 as 762306a36Sopenharmony_ci * published by the Free Software Foundation. 862306a36Sopenharmony_ci * 962306a36Sopenharmony_ci * This program is distributed in the hope that it will be useful, 1062306a36Sopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of 1162306a36Sopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1262306a36Sopenharmony_ci * GNU General Public License for more details. 1362306a36Sopenharmony_ci * 1462306a36Sopenharmony_ci * You should have received a copy of the GNU General Public License 1562306a36Sopenharmony_ci * along with this program. If not, see <http://www.gnu.org/licenses/>. 1662306a36Sopenharmony_ci */ 1762306a36Sopenharmony_ci#ifndef __ASM_FCNTL_H 1862306a36Sopenharmony_ci#define __ASM_FCNTL_H 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci/* 2162306a36Sopenharmony_ci * Using our own definitions for AArch32 (compat) support. 2262306a36Sopenharmony_ci */ 2362306a36Sopenharmony_ci#define O_DIRECTORY 040000 /* must be a directory */ 2462306a36Sopenharmony_ci#define O_NOFOLLOW 0100000 /* don't follow links */ 2562306a36Sopenharmony_ci#define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ 2662306a36Sopenharmony_ci#define O_LARGEFILE 0400000 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#include <asm-generic/fcntl.h> 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci#endif 31