diff options
author | Christopher Ferris <cferris@google.com> | 2015-01-23 15:34:26 -0800 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-01-23 15:34:26 -0800 |
commit | 7c0b639731767acd9b3788628d81174c641fa6b9 (patch) | |
tree | cd11d1eaab991c76a0dc017a65854d32ae2511ae /original/uapi/linux/fcntl.h | |
parent | fdcbe82d7a1b2b60c30bdea1ef9c0967ab9550c5 (diff) | |
download | kernel-headers-7c0b639731767acd9b3788628d81174c641fa6b9.tar.gz |
Update to kernel header v3.18.3.
Bug: 19127803
Change-Id: I1e00b613153b691fe960b6e080d498f0f65f33b7
Diffstat (limited to 'original/uapi/linux/fcntl.h')
-rw-r--r-- | original/uapi/linux/fcntl.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/original/uapi/linux/fcntl.h b/original/uapi/linux/fcntl.h index 074b886..beed138 100644 --- a/original/uapi/linux/fcntl.h +++ b/original/uapi/linux/fcntl.h @@ -28,6 +28,21 @@ #define F_GETPIPE_SZ (F_LINUX_SPECIFIC_BASE + 8) /* + * Set/Get seals + */ +#define F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9) +#define F_GET_SEALS (F_LINUX_SPECIFIC_BASE + 10) + +/* + * Types of seals + */ +#define F_SEAL_SEAL 0x0001 /* prevent further seals from being set */ +#define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ +#define F_SEAL_GROW 0x0004 /* prevent file from growing */ +#define F_SEAL_WRITE 0x0008 /* prevent writes */ +/* (1U << 31) is reserved for signed error codes */ + +/* * Types of directory notifications that may be requested. */ #define DN_ACCESS 0x00000001 /* File accessed */ |