mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
linux(4): Plug in aarch64 fcntl flags.
Fixes opendir() libc function. Differential Revision: https://reviews.freebsd.org/D31357 MFC after: 2 weeks
This commit is contained in:
parent
bee191e46f
commit
fc37be2460
2 changed files with 13 additions and 0 deletions
|
|
@ -117,6 +117,11 @@ struct l_timespec {
|
|||
l_long tv_nsec;
|
||||
};
|
||||
|
||||
#define LINUX_O_DIRECTORY 000040000 /* Must be a directory */
|
||||
#define LINUX_O_NOFOLLOW 000100000 /* Do not follow links */
|
||||
#define LINUX_O_DIRECT 000200000 /* Direct disk access hint */
|
||||
#define LINUX_O_LARGEFILE 000400000
|
||||
|
||||
struct l_newstat {
|
||||
l_dev_t st_dev;
|
||||
l_ino_t st_ino;
|
||||
|
|
|
|||
|
|
@ -78,10 +78,18 @@
|
|||
#define LINUX_O_NDELAY LINUX_O_NONBLOCK
|
||||
#define LINUX_O_SYNC 000010000
|
||||
#define LINUX_O_ASYNC 000020000
|
||||
#ifndef LINUX_O_DIRECT
|
||||
#define LINUX_O_DIRECT 000040000 /* Direct disk access hint */
|
||||
#endif
|
||||
#ifndef LINUX_O_LARGEFILE
|
||||
#define LINUX_O_LARGEFILE 000100000
|
||||
#endif
|
||||
#ifndef LINUX_O_DIRECTORY
|
||||
#define LINUX_O_DIRECTORY 000200000 /* Must be a directory */
|
||||
#endif
|
||||
#ifndef LINUX_O_NOFOLLOW
|
||||
#define LINUX_O_NOFOLLOW 000400000 /* Do not follow links */
|
||||
#endif
|
||||
#define LINUX_O_NOATIME 001000000
|
||||
#define LINUX_O_CLOEXEC 002000000
|
||||
#define LINUX_O_PATH 010000000
|
||||
|
|
|
|||
Loading…
Reference in a new issue