From nobody Tue Oct 15 20:21:24 2024 X-Original-To: dev-commits-src-main@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 4XSlqT0gTcz5Yx4N; Tue, 15 Oct 2024 20:21:25 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XSlqS6Y6Qz4vbR; Tue, 15 Oct 2024 20:21:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729023684; 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=uFRWv1r+6rbPkR6d6+TExAnxcMkKqObETyW8NxpH7cE=; b=rPUac4phm9XXfVcPUgyfnjoyCdl2ZFUnsDXsOheEWywECTZtoP5JwNucsUG9nvLbbwvjLL nIfzOH/fZKOUhwm1MkG8/AJ76Rt/DII03m3WsYjuZ5dELwWWsE8EcTCE8EAcStyUWixygu mV/erdhZ9x93E+s61BymIpqH6moKvVV5cbrvcsj7hCJkAM4TaFHJnWJSl1wfUzIEcukG2j lt4Ul0cPz5hSJGCO3D6/aP1S0Na6QsXg3rvnxHcU3lUPkn6d/X2wPOuZ6wEikm0E67DqPG BVl2xRCJoqEYcaIrfdllUYghL9hzrH6gxLXGjWyTnzKPne21o/5Q1zXLXkl/HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729023684; 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=uFRWv1r+6rbPkR6d6+TExAnxcMkKqObETyW8NxpH7cE=; b=fK+TGZAQ12YmFQtgdTck711gZrY4OgsjiDw97EwVhtxP1lzV34x3DEhbnroyljciraukcT qifsh/5IVUFZ+jbO9S56faUGIYwTlErwlgqZV9s60GeMVRfvMjMggj+Kz8/wbkxs+dPjZU ReVhKHgda6HW6crEl3gOF8ti77hS3mWZEwV9LNLkwuKxNki2oWeDiNWf75LlF8KwjTsa/z 06l3c1b+Y6blSOUb18Z+ur3Xr8StxIB2aIhEvOX/lAg9ihf+2l0n7XONZQmGJwZ4kWXbli 0D0pAVLFISr7noJlr3an0PNbFIxZfe9tyFklEt2jp0WsQmg95C3al7Xwq4acgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729023684; a=rsa-sha256; cv=none; b=VLN2Q/OrvI6a+yywwBZyVZGDb3n8+SRQH6Ayftxbyd1gO/DKfGPtwrWFT0OghgS+m3ONOV V/tuhJFJe5RbHM0GeTbsENx/hNVvkW4h9pjffoi+Fv7y8I7JLo2kaq56OE2DOAsKZsoV/e Hk5A+PPIfhxoGhAeXE4wU3du/qJ9zQzB4HT3lGvESS/OpC1Eg1I3PdURm2RPddXPOwBdrw jc2TuaGpNtwabUjXRzysDcS1u2sjZtSR995cs5Yu8mZeTfjh7s89en5meiPVDAEC64G2qL 4az2IXXuWx9vnpgyDtq+8eZ8eLxdOH1SKMELSkbTkrHcpbEji/859U+yJ8MCIA== 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 4XSlqS696Xzc3d; Tue, 15 Oct 2024 20:21:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49FKLO52028194; Tue, 15 Oct 2024 20:21:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FKLOd1028191; Tue, 15 Oct 2024 20:21:24 GMT (envelope-from git) Date: Tue, 15 Oct 2024 20:21:24 GMT Message-Id: <202410152021.49FKLOd1028191@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 22fb46af90d6 - main - mitigations.7: markup functions with Fn macro List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 22fb46af90d62d8177bfa0f1a8e4d89efa0b1905 Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=22fb46af90d62d8177bfa0f1a8e4d89efa0b1905 commit 22fb46af90d62d8177bfa0f1a8e4d89efa0b1905 Author: Alexander Ziaee AuthorDate: 2024-09-21 17:47:53 +0000 Commit: Mitchell Horne CommitDate: 2024-10-15 20:18:13 +0000 mitigations.7: markup functions with Fn macro + include this page in `apropos Fn=memcpy` Reviewed by: emaste MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/1428 --- share/man/man7/mitigations.7 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/share/man/man7/mitigations.7 b/share/man/man7/mitigations.7 index fceaa21a67ea..61fd8641cf4e 100644 --- a/share/man/man7/mitigations.7 +++ b/share/man/man7/mitigations.7 @@ -290,11 +290,11 @@ When enabled, enables extra bounds checking in various functions that accept buffers to be written into. These functions currently have extra bounds checking support: -.Bl -column -offset indent "snprintf" "memmove" "strncpy" "vsnprintf" "readlink" -.It bcopy Ta bzero Ta fgets Ta getcwd Ta gets -.It memcpy Ta memmove Ta memset Ta read Ta readlink -.It snprintf Ta sprintf Ta stpcpy Ta stpncpy Ta strcat -.It strcpy Ta strncat Ta strncpy Ta vsnprintf Ta vsprintf +.Bl -column -offset indent "snprintf()" "memmove()" "strncpy()" "vsnprintf()" "readlink()" +.It Fn bcopy Ta Fn bzero Ta Fn fgets Ta Fn getcwd Ta Fn gets +.It Fn memcpy Ta Fn memmove Ta Fn memset Ta Fn read Ta Fn readlink +.It Fn snprintf Ta Fn sprintf Ta Fn stpcpy Ta Fn stpncpy Ta Fn strcat +.It Fn strcpy Ta Fn strncat Ta Fn strncpy Ta Fn vsnprintf Ta Fn vsprintf .El .Pp .Dq FORTIFY_SOURCE