Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2026 04:10:20 +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-Yxs14fAZec@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

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=b5b3bf57e9fb35f8445b92e638a9fe351490825c

commit b5b3bf57e9fb35f8445b92e638a9fe351490825c
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-10-26 15:10:34 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2026-01-20 04:04:08 +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>

    (cherry picked from commit 081218b7a2006e5b6783e51f66fd751871ac1272)

 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-Yxs14fAZec>