From nobody Mon Apr 08 06:49: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 4VCfnz5mrHz5GKxg; Mon, 8 Apr 2024 06:49: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 4VCfnz42PGz4mNj; Mon, 8 Apr 2024 06:49:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712558951; 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=QI1UtIFlCpW0EoFAp+rlYtcUsK+E42b3tWyZwUfMLS8=; b=o0s44F7794Z8oNy405MoIzBzB4+rNSOctQdsQs8zBeRftt+3YR2HuXDYYSDM/GHQdnxJ8H FHIjSKL/neSv3CjY15wZHU+3kTERAmZ/0Mece5CvRTgXlNq6D/GJYCSRwncl6HfJBKjVDw wvqspBC4BCLrxjkRuC9t+K4ep4C4zdAii/oOzhLrDAgG39gI2ibdPl5QL46eyY4BmosE7h whzJVHq/BblC3GrQjRitAn131OLFcJ/rLZrz3QTK2RsuxxH5qWRGTJm4QFKhx7NsGs7DBd xCP/2OKUCynG4Xd4CkIaI4irXJGfc8oUNqPhCKA4+KnG+w9QAOPEGsANN/RgLQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712558951; a=rsa-sha256; cv=none; b=mo8HnGJGmDEAAf/MUuKA+RCoZSpIvP3yr+w0c6fT9sdDftgk81f5tVRG3HcrlHaQZJnm1n RJrdhqZuHeD4EivRs3f6aKiumDVnKZQoQXzwYO/FklrRkUJXTULZbSPzbMf9Zn78qWcC6x bgwsRgnbA5MFN8B/fOBv1W13zd0eFW/7nkecDkvSTWgWyG0V0Rm2pW4MUaqhSVjDq6EwtC glsv88YAq5zAwnb4dfiDDK5uHI12dDYJUDIQIR/pb9BH4Ku4z2p3y5dVfPz9uD7L1a91zm ggOkUESo+XeEg2D62kCYH3qDiOnG1b0SBn7fhoN1TdCUxyHq+JIIjsxO5PDJCg== 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=1712558951; 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=QI1UtIFlCpW0EoFAp+rlYtcUsK+E42b3tWyZwUfMLS8=; b=QeSNXeiHPnCguZaUqYgFz0wAeFLgx5XLn1zhctgOCZgUx/babiiv2AygKdiIGycXHwBjxy 5QAG1k3hhSTW/o8XQAVRwF5+NtWqdo5YL+VM3uhomObhI3tDPBnheJkMc2i5DkNtRwtv7y NNAuBiD38yPc8ycsy87n1ZdLTcNumRAcB+L4Iwe+jCuGb7Ry2FNXfXPeJGP0h9Kmgd6KZZ dsTgiA0RmOYfO85EinzG5VoYr1ro+Ou5D9zREeOWHCHBd+6HQWK0FxkW3dZDXLDwTGVwbj OeetdU1V1h9v5Diq6fMAa0Ny+zjt4NH26eXuX4+R/0aD0I1zRwkMBDgv0IjtMw== 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 4VCfnz3cCZz11Vr; Mon, 8 Apr 2024 06:49: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 4386nBUq032762; Mon, 8 Apr 2024 06:49:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4386nB4U032759; Mon, 8 Apr 2024 06:49:11 GMT (envelope-from git) Date: Mon, 8 Apr 2024 06:49:11 GMT Message-Id: <202404080649.4386nB4U032759@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: 38c276a43f2d - main - LinuxKPI: Add VM_ACCESS_FLAGS define to linux/mm.h 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 38c276a43f2d55e19ff6bd15ab5730315d41e3a8 Auto-Submitted: auto-generated The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=38c276a43f2d55e19ff6bd15ab5730315d41e3a8 commit 38c276a43f2d55e19ff6bd15ab5730315d41e3a8 Author: Vladimir Kondratyev AuthorDate: 2024-04-08 06:47:42 +0000 Commit: Vladimir Kondratyev CommitDate: 2024-04-08 06:47:42 +0000 LinuxKPI: Add VM_ACCESS_FLAGS define to linux/mm.h VM_ACCESS_FLAGS is a basic access permission flags. Sponsored by: Serenity CyberSecurity, LLC Reviewed by: emaste MFC after: 1 week --- sys/compat/linuxkpi/common/include/linux/mm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h index 1356d64dde28..1a7bae27fa8b 100644 --- a/sys/compat/linuxkpi/common/include/linux/mm.h +++ b/sys/compat/linuxkpi/common/include/linux/mm.h @@ -56,6 +56,8 @@ CTASSERT((VM_PROT_ALL & -(1 << 8)) == 0); #define VM_WRITE VM_PROT_WRITE #define VM_EXEC VM_PROT_EXECUTE +#define VM_ACCESS_FLAGS (VM_READ | VM_WRITE | VM_EXEC) + #define VM_PFNINTERNAL (1 << 8) /* FreeBSD private flag to vm_insert_pfn() */ #define VM_MIXEDMAP (1 << 9) #define VM_NORESERVE (1 << 10)