From owner-dev-commits-src-main@freebsd.org Thu Apr 15 14:04:53 2021 Return-Path: Delivered-To: dev-commits-src-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D14FE5F1A11; Thu, 15 Apr 2021 14:04:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLh1K5cDMz4Qph; Thu, 15 Apr 2021 14:04:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B34AA12D01; Thu, 15 Apr 2021 14:04:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13FE4roh016378; Thu, 15 Apr 2021 14:04:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13FE4rUX016377; Thu, 15 Apr 2021 14:04:53 GMT (envelope-from git) Date: Thu, 15 Apr 2021 14:04:53 GMT Message-Id: <202104151404.13FE4rUX016377@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Edward Tomasz Napierala Subject: git: 1b11173c00d8 - main - linux: extend the LINUX_O_ constants to make room for O_PATH MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: trasz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1b11173c00d84d4a25cc8aa3c6c69cc15696b0ec Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for the main branch of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2021 14:04:53 -0000 The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=1b11173c00d84d4a25cc8aa3c6c69cc15696b0ec commit 1b11173c00d84d4a25cc8aa3c6c69cc15696b0ec Author: Edward Tomasz Napierala AuthorDate: 2021-04-15 13:38:58 +0000 Commit: Edward Tomasz Napierala CommitDate: 2021-04-15 14:04:44 +0000 linux: extend the LINUX_O_ constants to make room for O_PATH No functional changes. Sponsored By: EPSRC --- 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