To get the changes in: ab3948f58ff8 ("mm/memfd: add an F_SEAL_FUTURE_WRITE seal to memfd") And silence this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/fcntl.h' differs from latest version at 'include/uapi/linux/fcntl.h' diff -u tools/include/uapi/linux/fcntl.h include/uapi/linux/fcntl.h
Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -41,6 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ |
| 42 | 42 | #define F_SEAL_GROW 0x0004 /* prevent file from growing */ |
| 43 | 43 | #define F_SEAL_WRITE 0x0008 /* prevent writes */ |
| 44 | +#define F_SEAL_FUTURE_WRITE 0x0010 /* prevent future writes while mapped */ | |
| 44 | 45 | /* (1U << 31) is reserved for signed error codes */ |
| 45 | 46 | |
| 46 | 47 | /* |