Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_file.h
Show All 30 Lines | |||||
#ifndef _LINUX_FILE_H_ | #ifndef _LINUX_FILE_H_ | ||||
#define _LINUX_FILE_H_ | #define _LINUX_FILE_H_ | ||||
#define LINUX_AT_FDCWD -100 | #define LINUX_AT_FDCWD -100 | ||||
#define LINUX_AT_SYMLINK_NOFOLLOW 0x100 | #define LINUX_AT_SYMLINK_NOFOLLOW 0x100 | ||||
#define LINUX_AT_EACCESS 0x200 | #define LINUX_AT_EACCESS 0x200 | ||||
#define LINUX_AT_REMOVEDIR 0x200 | #define LINUX_AT_REMOVEDIR 0x200 | ||||
#define LINUX_AT_SYMLINK_FOLLOW 0x400 | #define LINUX_AT_SYMLINK_FOLLOW 0x400 | ||||
#define LINUX_AT_NO_AUTOMOUNT 0x800 | |||||
/* | |||||
* Specific to Linux AT_NO_AUTOMOUNT flag tells the kernel to | |||||
* not automount the terminal component of pathname if it is a | |||||
* directory that is an automount point. As FreeBSD does not | |||||
* have such facility (automount), we can simply ignore this flag. | |||||
*/ | |||||
#define LINUX_AT_EMPTY_PATH 0x1000 | #define LINUX_AT_EMPTY_PATH 0x1000 | ||||
/* | /* | ||||
* posix_fadvise advice | * posix_fadvise advice | ||||
*/ | */ | ||||
#define LINUX_POSIX_FADV_NORMAL 0 | #define LINUX_POSIX_FADV_NORMAL 0 | ||||
#define LINUX_POSIX_FADV_RANDOM 1 | #define LINUX_POSIX_FADV_RANDOM 1 | ||||
#define LINUX_POSIX_FADV_SEQUENTIAL 2 | #define LINUX_POSIX_FADV_SEQUENTIAL 2 | ||||
▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines |