Author: kevans
Date: Sun Sep 29 03:26:29 2019
New Revision: 352864
URL: https://svnweb.freebsd.org/changeset/base/352864

Log:
  MFD_*: swap ordering
  
  This API is still young enough that I would expect no one to be dependant on
  this yet... Swap the ordering while it's young to match Linux values to
  potentially ease implementation of linuxolator syscall, being able to reuse
  existing constants.

Modified:
  head/sys/sys/mman.h

Modified: head/sys/sys/mman.h
==============================================================================
--- head/sys/sys/mman.h Sun Sep 29 03:12:35 2019        (r352863)
+++ head/sys/sys/mman.h Sun Sep 29 03:26:29 2019        (r352864)
@@ -193,8 +193,8 @@
 /*
  * Flags for memfd_create().
  */
-#define        MFD_ALLOW_SEALING               0x00000001
-#define        MFD_CLOEXEC                     0x00000002
+#define        MFD_CLOEXEC                     0x00000001
+#define        MFD_ALLOW_SEALING               0x00000002
 
 /* UNSUPPORTED */
 #define        MFD_HUGETLB                     0x00000004
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to