From nobody Wed Feb 16 17:59:18 2022 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 65A9219C9E19; Wed, 16 Feb 2022 17:59:19 +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 4JzQh70z9Mz4kKY; Wed, 16 Feb 2022 17:59:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645034359; 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=MuiIsjvWULpXUzOehEukaPz3IOVRNFgdMyvtZ+cGOFg=; b=B/boUZrPinDG81aooiEXZNwF3iit++ct34OV/c3qQrPdPpj6FMBzsgDu794oUEHFIKpuZR swgrCOTdA2QJIDDHkwlM+abO8tf2XEp7NHKLZiVFYwqRtj6Wpc0z/C5PDsSrVV0fyY4963 oqj2kRyn+Edy/BdAYLBlcJlv6jntR6aWIF2NMtSBcqHia1o14oT3ZAfAJM+YIJw8Xu/2EO xMDiZ06agJz0kDM1k/kalV1LtyjdTt8ISvBNth/Dq3zMdS85j4o+/Br9riOJwMLbrIeoFl Y/ZYa7+k2lF95ZMUKO9NQ3FEhE9HUJgxlDvwChg9Qxz4ve0YQ4BHM/eW65C0sw== 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 E28511AB29; Wed, 16 Feb 2022 17:59:18 +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 21GHxIka050084; Wed, 16 Feb 2022 17:59:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21GHxICA050083; Wed, 16 Feb 2022 17:59:18 GMT (envelope-from git) Date: Wed, 16 Feb 2022 17:59:18 GMT Message-Id: <202202161759.21GHxICA050083@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 3069b3f61dec - stable/13 - security.7: Minor fixes for ASLR sysctl descriptions 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 3069b3f61deca44a1a4fbffa07676dbc852612fd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645034359; 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=MuiIsjvWULpXUzOehEukaPz3IOVRNFgdMyvtZ+cGOFg=; b=BQxDDrBxVnTAE+QhEQUur31BIR1lhL5dCpKUlExNAN2V7XIFPRPqFUDhwgUOpeF/oE8UtT mWyrDtgma4kwvmpZA6a1NKcMC2umf0es+h33rUnfNlaKdkhgD5AzKn2nBqmzqpgjHHqi1K 52MRmJsXMYBv3TndUmeeTbsxsPAtiV3o4hxAZ43fLpnOlvpvmoPQttMkd2gbLjwmCXmsfK l/hpdfRLi4Q7RacSxjgL9xrLA0jQotD/pzhyORGsUnKsecd4p0q18LW3Ggl77nomp13rWW uphWh1nmN56DUGbJPXXN331IB15WptOsz6gGVK1itCIucH6CsgzkoqFIIsvoYw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645034359; a=rsa-sha256; cv=none; b=wnKpgzFwN9KzNwiCcDhhh79TMyiQWMWXJTRvLlPT15glqTmOcL7QdI3VmikQOvpCKs5KgU bNu2lE68XDc78eB4UqFM2rgnpN6kPf4jFk74/Hare3Q/nVUfgda2ixdr2agEjoZyf61lE6 xq3mGPOdFVBLBeaLG+UpCeFie1suShImnrTx/1RR63AM+ixGBLCsKd0VJVjmPG7CEYhlXu iGim6DGl+7vbuTZgCFvG3q0oN2y1zzXFOBHowodtIM4GaLDOlX/Hx9/ORcyoapmepzgm6N f49CIKnZ1M1BAMSV4iBSBqVwmWJ/HWehdJ3wa7nDwo40nbWikVCNqgOEPaCesg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=3069b3f61deca44a1a4fbffa07676dbc852612fd commit 3069b3f61deca44a1a4fbffa07676dbc852612fd Author: Mark Johnston AuthorDate: 2022-01-17 16:44:01 +0000 Commit: Mark Johnston CommitDate: 2022-02-16 16:56:09 +0000 security.7: Minor fixes for ASLR sysctl descriptions Reviewed by: debdrup, danfe, emaste Sponsored by: The FreeBSD Foundation (cherry picked from commit 2188152717376fed1e6016187427666bb06cf33a) --- share/man/man7/security.7 | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/share/man/man7/security.7 b/share/man/man7/security.7 index 1bb5338e54e6..0ebc61cfbd5c 100644 --- a/share/man/man7/security.7 +++ b/share/man/man7/security.7 @@ -1050,15 +1050,14 @@ instructions do not incur serialization overhead for shared buffer accesses, and do not serialize off-core memory accessses. .It Dv kern.elf32.aslr.enable Controls system-global Address Space Layout Randomization (ASLR) for -normal non-PIE (Position Independent Executable) 32bit binaries. -See also +normal non-PIE (Position Independent Executable) 32-bit ELF binaries. +See also the .Xr proccontrol 1 -mode -.Dv aslr , -also affected by the per-image control note flag. +.Dv aslr +mode, also affected by the per-image control note flag. .It Dv kern.elf32.aslr.pie_enable Controls system-global Address Space Layout Randomization for -position-independent (PIE) 32bit binaries. +position-independent (PIE) 32-bit binaries. .It Dv kern.elf32.aslr.honor_sbrk Makes ASLR less aggressive and more compatible with old binaries relying on the sbrk area. @@ -1068,24 +1067,24 @@ of the stack. Otherwise, the stack is mapped at a fixed location determined by the process ABI. .It Dv kern.elf64.aslr.enable -64bit binaries ASLR control. +ASLR control for 64-bit ELF binaries. .It Dv kern.elf64.aslr.pie_enable -64bit PIE binaries ASLR control. +ASLR control for 64-bit ELF PIEs. .It Dv kern.elf64.aslr.honor_sbrk -64bit binaries ASLR sbrk compatibility control. +ASLR sbrk compatibility control for 64-bit binaries. .It Dv kern.elf64.aslr.stack -Controls stack address randomization for 64bit binaries. +Controls stack address randomization for 64-bit binaries. .It Dv kern.elf32.nxstack -Enables non-executable stack for 32bit processes. +Enables non-executable stack for 32-bit processes. Enabled by default if supported by hardware and corresponding binary. .It Dv kern.elf64.nxstack -Enables non-executable stack for 64bit processes. +Enables non-executable stack for 64-bit processes. .It Dv kern.elf32.allow_wx Enables mapping of simultaneously writable and executable pages for -32bit processes. +32-bit processes. .It Dv kern.elf64.allow_wx Enables mapping of simultaneously writable and executable pages for -64bit processes. +64-bit processes. .El .Sh SEE ALSO .Xr chflags 1 ,