git: 10553107a824 - stable/13 - linux: extend the LINUX_O_ constants to make room for O_PATH

From: Edward Tomasz Napierala <trasz_at_FreeBSD.org>
Date: Thu, 17 Feb 2022 10:55:25 UTC
The branch stable/13 has been updated by trasz:

URL: https://cgit.FreeBSD.org/src/commit/?id=10553107a824d427c0d6b1a003c2dae540813658

commit 10553107a824d427c0d6b1a003c2dae540813658
Author:     Edward Tomasz Napierala <trasz@FreeBSD.org>
AuthorDate: 2021-04-15 13:38:58 +0000
Commit:     Edward Tomasz Napierala <trasz@FreeBSD.org>
CommitDate: 2022-02-13 21:06:37 +0000

    linux: extend the LINUX_O_ constants to make room for O_PATH
    
    No functional changes.
    
    Sponsored By:   EPSRC
    
    (cherry picked from commit 1b11173c00d84d4a25cc8aa3c6c69cc15696b0ec)
---
 sys/compat/linux/linux_file.h | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/sys/compat/linux/linux_file.h b/sys/compat/linux/linux_file.h
index 5a11e999ed59..03450b95f25c 100644
--- a/sys/compat/linux/linux_file.h
+++ b/sys/compat/linux/linux_file.h
@@ -65,25 +65,25 @@
 /*
  * common open/fcntl flags
  */
-#define	LINUX_O_RDONLY		00000000
-#define	LINUX_O_WRONLY		00000001
-#define	LINUX_O_RDWR		00000002
-#define	LINUX_O_ACCMODE		00000003
-#define	LINUX_O_CREAT		00000100
-#define	LINUX_O_EXCL		00000200
-#define	LINUX_O_NOCTTY		00000400
-#define	LINUX_O_TRUNC		00001000
-#define	LINUX_O_APPEND		00002000
-#define	LINUX_O_NONBLOCK	00004000
+#define	LINUX_O_RDONLY		000000000
+#define	LINUX_O_WRONLY		000000001
+#define	LINUX_O_RDWR		000000002
+#define	LINUX_O_ACCMODE		000000003
+#define	LINUX_O_CREAT		000000100
+#define	LINUX_O_EXCL		000000200
+#define	LINUX_O_NOCTTY		000000400
+#define	LINUX_O_TRUNC		000001000
+#define	LINUX_O_APPEND		000002000
+#define	LINUX_O_NONBLOCK	000004000
 #define	LINUX_O_NDELAY		LINUX_O_NONBLOCK
-#define	LINUX_O_SYNC		00010000
-#define	LINUX_O_ASYNC		00020000
-#define	LINUX_O_DIRECT		00040000	/* Direct disk access hint */
-#define	LINUX_O_LARGEFILE	00100000
-#define	LINUX_O_DIRECTORY	00200000	/* Must be a directory */
-#define	LINUX_O_NOFOLLOW	00400000	/* Do not follow links */
-#define	LINUX_O_NOATIME		01000000
-#define	LINUX_O_CLOEXEC		02000000
+#define	LINUX_O_SYNC		000010000
+#define	LINUX_O_ASYNC		000020000
+#define	LINUX_O_DIRECT		000040000	/* Direct disk access hint */
+#define	LINUX_O_LARGEFILE	000100000
+#define	LINUX_O_DIRECTORY	000200000	/* Must be a directory */
+#define	LINUX_O_NOFOLLOW	000400000	/* Do not follow links */
+#define	LINUX_O_NOATIME		001000000
+#define	LINUX_O_CLOEXEC		002000000
 
 #define	LINUX_F_DUPFD		0
 #define	LINUX_F_GETFD		1