Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame^] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_OPENAT2_H |
| 8 | #define _UAPI_LINUX_OPENAT2_H |
| 9 | #include <linux/types.h> |
| 10 | struct open_how { |
| 11 | __u64 flags; |
| 12 | __u64 mode; |
| 13 | __u64 resolve; |
| 14 | }; |
| 15 | #define RESOLVE_NO_XDEV 0x01 |
| 16 | #define RESOLVE_NO_MAGICLINKS 0x02 |
| 17 | #define RESOLVE_NO_SYMLINKS 0x04 |
| 18 | #define RESOLVE_BENEATH 0x08 |
| 19 | #define RESOLVE_IN_ROOT 0x10 |
Christopher Ferris | a9750ed | 2021-05-03 14:02:49 -0700 | [diff] [blame] | 20 | #define RESOLVE_CACHED 0x20 |
Christopher Ferris | bb9fcb4 | 2020-04-06 11:38:04 -0700 | [diff] [blame] | 21 | #endif |