From nobody Thu May 23 19:42:11 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vldq72vSWz5L9fK; Thu, 23 May 2024 19:42:11 +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 4Vldq72LKxz54xj; Thu, 23 May 2024 19:42:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716493331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vzuiyiHsT6KuQ7TJYiT7c/xHQvEoKvCDs/nJ0DFSQG8=; b=PSs/sCE46Vw/lClv6Vs5XLR8rfccpwWd3X5TqptQ2jNhrvUqs1iubiKkN8+Ud+9jK2g8Z0 uMhg0+IZYntNfII9+ZE0BkA6ij3PTAzybGLCEjobLtkS+IWOL6TimudD1QDsiLriyV5OKu sZe10OQyuWbl9Dl0JMoCYHd2sY4ZGGEXW67C0doeA2jGHbsYrmhSqKq/mao3UmLSUf9oa7 xRODK3CFduYVmtj7y8r+V6Xp5SbpqFZ/FkBMTeLOLoVYJJkfrihThTAwu921dGNScGtd2L no9pSuqwbSrBQIAwHPOHtYVIDbESYzoSHq+ZZ4MdDh/QqPaRU0sWsKi1dyrW4Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716493331; a=rsa-sha256; cv=none; b=c1n3LyN5FFKRBLWgYPM7lXvsWaybxliLLjf1nxt+/Ta1+P8a08PoD5cro/jUL2sLHl2c9R BHQZg6yAvmgwC5dOP2lS5OeqSm5HwsGj6VprjD/gZGmUEWgmTBY1wClHQ3rKOLmoXpjAKR wCqJI/GDoqcIknIgaA1Ij8TZkHsu2UNvnbg5hsZpmf9tU+L+Q3XA2j6FCPC07QofVu8EUY B6B5eBaPnNriTYd5fFoVYuTF15HJmWZc3Wy7ytfpJfZDoMXku/LllVWeQYbqz3RkNcW5Hf ISF9H04IwvMaC+FZnQzu1f24RVxjYGAL+tWnnUQ+hYnzrIewAoH3Gls0PR5iEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716493331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vzuiyiHsT6KuQ7TJYiT7c/xHQvEoKvCDs/nJ0DFSQG8=; b=Sl6urNaYIsyryp1xES/rR0g3c0R/WLhYzEQoJLLRESvFGi9YkfNFYZBszrjkBdtwmfFEOF t76i5958pgNK5Im+Ku1+mgzmMqn5VKv5/KOcXI/lTUWBFQGBlYhq9A4L85XrnyDyPZ8H+B twaWrulic1jU+65uWSCDJbqEmxOgsFg/lPlrSTUgjP8el0BGukdy9pXqaN6WIDQGTZPsOy xYM01k3NscJt00wUBIiRGWv1A5R6yCLya8zWjj8fIEoAIEJ1z34ccdslv83jSP8pUoNR4z ez+dAygL2uC2bXVfDOqNbUXt1WgZbPrj5lvCJ9OpCn0SenH1WaFiQKwCZQlH/Q== 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 4Vldq71jv1z13GX; Thu, 23 May 2024 19:42:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44NJgBOk082631; Thu, 23 May 2024 19:42:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44NJgB2W082628; Thu, 23 May 2024 19:42:11 GMT (envelope-from git) Date: Thu, 23 May 2024 19:42:11 GMT Message-Id: <202405231942.44NJgB2W082628@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 9c7b1bf27122 - main - linux: Export linux_common_openflags() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9c7b1bf27122f975ea70c81931d48b751f8a1bfa Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=9c7b1bf27122f975ea70c81931d48b751f8a1bfa commit 9c7b1bf27122f975ea70c81931d48b751f8a1bfa Author: Ricardo Branco AuthorDate: 2024-05-17 20:08:24 +0000 Commit: Warner Losh CommitDate: 2024-05-23 19:40:46 +0000 linux: Export linux_common_openflags() Reviewed by: imp, kib Pull Request: https://github.com/freebsd/freebsd-src/pull/1248 --- sys/compat/linux/linux_file.c | 2 +- sys/compat/linux/linux_file.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 1279490ae8be..5f510004c684 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -104,7 +104,7 @@ linux_creat(struct thread *td, struct linux_creat_args *args) } #endif -static int +int linux_common_openflags(int l_flags) { int bsd_flags; diff --git a/sys/compat/linux/linux_file.h b/sys/compat/linux/linux_file.h index ce9feca154ed..2e56942b0f40 100644 --- a/sys/compat/linux/linux_file.h +++ b/sys/compat/linux/linux_file.h @@ -197,6 +197,7 @@ struct l_file_handle { }; int linux_enobufs2eagain(struct thread *, int, int); +int linux_common_openflags(int); #endif /*