From nobody Mon Jan 17 21:13:13 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 E7D711977051; Mon, 17 Jan 2022 21:13:14 +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 4Jd4Pj4TJpz3Fkp; Mon, 17 Jan 2022 21:13:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642453994; 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=x9whLmnyM46248+nD/CUlB7j1EIkzqcwdou5cst49fk=; b=DMKsfCRT31C4HDm7Ba5wSK739FnuS4op+7gLs9oae75+PE4P6toQZw0Y9/oF5OtZHpOPrr kb3Hk4ykBq6Bt9cznhJhOf8HpkYarbE0KKZFbllhbcbVME+jJP+VY6lvIDWDIaQZ99/z/I tMFqgxSsP6fQthcHG3Ghyv3DzTa7i/csKkXetz2M9SQRfawrBMkomn/zpBbWni5AciYNeu cLaIvtToXHs3fBCV9oKjwBOH+IkW2UOIRhmfGti1b2wL+t16wUFCm1Be1QhNsluLifY4O+ erk49QfDYj1QDBt1TWA1Gi+Q77Um15bXkTjLPRm9Pu7f7akUQ+fqLuS+IqmZUA== 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 28D4314FBE; Mon, 17 Jan 2022 21:13:13 +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 20HLDDF4007058; Mon, 17 Jan 2022 21:13:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20HLDDWW007057; Mon, 17 Jan 2022 21:13:13 GMT (envelope-from git) Date: Mon, 17 Jan 2022 21:13:13 GMT Message-Id: <202201172113.20HLDDWW007057@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 218815271737 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 2188152717376fed1e6016187427666bb06cf33a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642453994; 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=x9whLmnyM46248+nD/CUlB7j1EIkzqcwdou5cst49fk=; b=MwzKZZqJpgK5HSTjUg5laUkIHA5xcsNku0zTQklqXdkxHrxlvkCUDaFKhegsX/CWj9k87x 5Ef4UZivxyLiIG+sBNaLRBK2+K72W3uU9L9olws30J9o70BY2nR6sBmQZ1gG66W6yWb6VM j9+sVWsoAJfAJwpxnA/tAhK+uaqHYYP8Klr/Qz1velwkCEv93rO7t571V3YcAPZM1oFEfK AePAfXy/H1m/6DjnkpSxPrq4tvfJ7hk+ccufu/wVE882PsEEHdX0G3kN+QrvtpFSKgUvod vZnjRfm18uqdI49MgttNp1TlXsmHeivpGHOBMc7bfIVYYZlh6dPUtKazw9XAHw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642453994; a=rsa-sha256; cv=none; b=DbNPF4pZTOp8nZmGBXMbgsgqirTZXnxdHy1Pz2udYlozRTsJgp29R7C3aOMYUNiHj4ZG2A sMH62g4WcGA+voaG80JQAVprDQ2Se5Mql6NVmvz20yZXlH4Eu3rphg9GGqP4ISY+JmeQEC rSfcukiHHoQoUPmL86n5m8LFpqRaPgX49fIUO3KHe/nFd4ygYhlNZ9RA3Lckq2QANcsNP2 bJkU69buDHch3LrUipI9Ffc9xx+579GpyfZmy9yTGJt+48anQxn3C/Fy6Atz6/mOaY+RhK Uu9KtTAtelm1TVyMCuxROwdizIsqKlZ8KUTR1By0293kRK58N7fuu9zyAwhUuw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=2188152717376fed1e6016187427666bb06cf33a commit 2188152717376fed1e6016187427666bb06cf33a Author: Mark Johnston AuthorDate: 2022-01-17 16:44:01 +0000 Commit: Mark Johnston CommitDate: 2022-01-17 21:12:43 +0000 security.7: Minor fixes for ASLR sysctl descriptions Reviewed by: debdrup, danfe, emaste MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33908 --- 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 ,