Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2019 03:26:29 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r352864 - head/sys/sys
Message-ID:  <201909290326.x8T3QT3w001556@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909290326.x8T3QT3w001556>