[Bug 276043] md5(1) et al are broken when reading the last argument because of capsicum(4) code
Date: Tue, 02 Jan 2024 22:27:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276043
Mark Johnston <markj@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markj@FreeBSD.org
Status|New |Open
--- Comment #6 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Ricardo Branco from comment #5)
The problem is mostly specific to cpuinfo. The handler calls kernel_sysctl()
to read the HW_MODEL sysctl (I guess because cpu_model[] is static?), and
that's not permitted in capability mode.
Probably the best solution is to simply permit reading HW_MODEL in capability
mode.
--
You are receiving this mail because:
You are the assignee for the bug.