Date: Sun, 26 Oct 2025 15:15:12 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 179832] manual page of mac_from_text suggests incorrect freeing of mac_t type Message-ID: <bug-179832-9-6l2gWAZ7KJ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-179832-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=179832 Kyle Evans <kevans@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Latest |CURRENT Component|Manual Pages |misc Product|Documentation |Base System --- Comment #4 from Kyle Evans <kevans@freebsd.org> --- Moving to a base system component so that I can set mfc flags (?) --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=081218b7a2006e5b6783e51f66fd751871ac1272 commit 081218b7a2006e5b6783e51f66fd751871ac1272 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2025-10-26 15:10:34 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2025-10-26 15:13:21 +0000 libc: fix description issues in mac_text(3)/mac_free(3) mac_text(3) as-written would seem to indicate that a `mac_t` should be freed with free(3), but this isn't the case. One can derive from context from when the change was introduced and COMPATIBILITY that this was intended to talk about *text in `mac_to_text`, so move the comment there. PR: 179832 Co-authored-by: Priit Järv <priit cc ttu ee> MFC after: 3 days lib/libc/posix1e/mac_free.3 | 4 ++-- lib/libc/posix1e/mac_text.3 | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-179832-9-6l2gWAZ7KJ>
