From owner-dev-commits-src-all@freebsd.org Tue Mar 2 18:53:30 2021 Return-Path: Delivered-To: dev-commits-src-all@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 C0DB754CA5B; Tue, 2 Mar 2021 18:53:30 +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 4DqmVf54fjz3Br2; Tue, 2 Mar 2021 18:53:30 +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 9C7AF1BD2F; Tue, 2 Mar 2021 18:53:30 +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 122IrU7x031829; Tue, 2 Mar 2021 18:53:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 122IrUsp031827; Tue, 2 Mar 2021 18:53:30 GMT (envelope-from git) Date: Tue, 2 Mar 2021 18:53:30 GMT Message-Id: <202103021853.122IrUsp031827@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 907023b454f0 - main - security(7): mention new W^X sysctls in the manual page MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 907023b454f06a6af87f21f8a9d6de6c11b2d275 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 18:53:30 -0000 The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=907023b454f06a6af87f21f8a9d6de6c11b2d275 commit 907023b454f06a6af87f21f8a9d6de6c11b2d275 Author: Evgeniy Khramtsov AuthorDate: 2021-03-02 18:52:22 +0000 Commit: Gordon Bergling CommitDate: 2021-03-02 18:52:22 +0000 security(7): mention new W^X sysctls in the manual page Reviewed by: emaste, gbe MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D28986 --- share/man/man7/security.7 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/share/man/man7/security.7 b/share/man/man7/security.7 index 9ff39c74759c..b4aeb5728313 100644 --- a/share/man/man7/security.7 +++ b/share/man/man7/security.7 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 8, 2020 +.Dd February 28, 2021 .Dt SECURITY 7 .Os .Sh NAME @@ -1080,6 +1080,12 @@ Enables non-executable stack for 32bit processes. Enabled by default if supported by hardware and corresponding binary. .It Dv kern.elf64.nxstack Enables non-executable stack for 64bit processes. +.It Dv kern.elf32.allow_wx +Enables mapping of simultaneously writable and executable pages for +32bit processes. +.It Dv kern.elf64.allow_wx +Enables mapping of simultaneously writable and executable pages for +64bit processes. .El .Sh SEE ALSO .Xr chflags 1 ,