| /* SPDX-License-Identifier: GPL-2.0 */ |
| #include <uapi/linux/stat.h> |
| #define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO) |
| #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) |
| #define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH) |
| #define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH) |
| #define S_IXUGO (S_IXUSR|S_IXGRP|S_IXOTH) |
| #define UTIME_NOW ((1l << 30) - 1l) |
| #define UTIME_OMIT ((1l << 30) - 2l) |
| #include <linux/uidgid.h> |
| #define KSTAT_QUERY_FLAGS (AT_STATX_SYNC_TYPE) |
| u32 result_mask; /* What fields the user got */ |
| uint32_t blksize; /* Preferred I/O size */ |
| #define KSTAT_ATTR_FS_IOC_FLAGS \ |
| (STATX_ATTR_COMPRESSED | \ |
| )/* Attrs corresponding to FS_*_FL flags */ |
| struct timespec btime; /* File creation time */ |