[Devel] [PATCH RHEL7 COMMIT] ms/shm: add memfd_create() syscall: lost hunk

Konstantin Khorenko khorenko at virtuozzo.com
Thu Oct 15 08:42:26 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.8.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.8.7
------>
commit efd8ed12768cc7bee733d35a2c35393626707143
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Thu Oct 15 19:39:42 2015 +0400

    ms/shm: add memfd_create() syscall: lost hunk
    
    Fixes 9e421edd0c467fb8d3a230520421a58f55e2a46e
    
    This is a lost hunk from ms commit:
    9183df25fe7b194563db3fec6dc3202a5855839c
    
    ms/shm: add memfd_create() syscall
    
    https://jira.sw.ru/browse/PSBM-39834
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 include/uapi/linux/memfd.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/uapi/linux/memfd.h b/include/uapi/linux/memfd.h
new file mode 100644
index 0000000..534e364
--- /dev/null
+++ b/include/uapi/linux/memfd.h
@@ -0,0 +1,8 @@
+#ifndef _UAPI_LINUX_MEMFD_H
+#define _UAPI_LINUX_MEMFD_H
+
+/* flags for memfd_create(2) (unsigned int) */
+#define MFD_CLOEXEC		0x0001U
+#define MFD_ALLOW_SEALING	0x0002U
+
+#endif /* _UAPI_LINUX_MEMFD_H */



More information about the Devel mailing list