[Bug 262515] Missing filecaps_free() in many places

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Mar 2022 19:40:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262515

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org,
                   |                            |mjg@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Good find.  I'll attach a program which demonstrates the leak.

I'm not sure how to fix it.  Certainly it's not practical to patch all namei()
users.  But most of them don't inspect caps in the first place, so perhaps they
should be copied on demand...?

-- 
You are receiving this mail because:
You are the assignee for the bug.