git: 64e8a9679ead - stable/14 - mitigations.7: markup functions with Fn macro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Nov 2024 16:16:45 UTC
The branch stable/14 has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=64e8a9679ead6f7e2ab3617b50d5edc99f410e52
commit 64e8a9679ead6f7e2ab3617b50d5edc99f410e52
Author: Alexander Ziaee <concussious@runbox.com>
AuthorDate: 2024-09-21 17:47:53 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-11-04 16:08:38 +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
(cherry picked from commit 22fb46af90d62d8177bfa0f1a8e4d89efa0b1905)
---
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 7156327a7795..0667d58c309b 100644
--- a/share/man/man7/mitigations.7
+++ b/share/man/man7/mitigations.7
@@ -288,11 +288,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