1a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham/**************************************************************************** 2a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham **************************************************************************** 3a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** 4a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** This header was automatically generated from a Linux kernel header 5a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** of the same name, to make information necessary for userspace to 6a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** call into the kernel available to libc. It contains only constants, 7a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** structures, and macros generated from the original header, and thus, 8a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** contains no copyrightable information. 9a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** 10a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** To edit the content of this header, modify the corresponding 11a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** source file (e.g. under external/kernel-headers/original/) then 12a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** run bionic/libc/kernel/tools/update_all.py 13a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** 14a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** Any manual change here will be lost the next time this script will 15a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** be run. You've been warned! 16a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham *** 17a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham **************************************************************************** 18a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham ****************************************************************************/ 19a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#ifndef _ASM_FCNTL_H 20a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define _ASM_FCNTL_H 21a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_APPEND 0x0008 22a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_SYNC 0x0010 23a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_NONBLOCK 0x0080 25a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_CREAT 0x0100 26a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_TRUNC 0x0200 27a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_EXCL 0x0400 28a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_NOCTTY 0x0800 30a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define FASYNC 0x1000 31a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_LARGEFILE 0x2000 32a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define O_DIRECT 0x8000 33a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_GETLK 14 35a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_SETLK 6 36a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_SETLKW 7 37a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_SETOWN 24 38a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_GETOWN 23 40a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#ifndef __mips64 41a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_GETLK64 33 42a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_SETLK64 34 43a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#define F_SETLKW64 35 45a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#endif 46a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#include <asm-generic/fcntl.h> 47a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham#endif 48a8a0638b9ecf4b4676934fd216859d4d7ecac791Raghu Gandham/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49