[Bug 292996] multimedia/mpv: update to 0.41.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Feb 2026 16:34:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292996

--- Comment #4 from Evgenii Khramtsov <2khramtsov@gmail.com> ---
(In reply to Max Brazhnikov from comment #3)

So that after mmap(2) with PROT_MAX implied (vm.imply_prot_max=1) and W^X
present (kern.elf64.allow_wx=0) LuaJIT's use of mprotect() would give
executable pages for JIT. Having no opt out results in the following when
running mpv in such environment:

$ mpv
[...]
PANIC: unprotected error in call to Lua API (runtime code generation failed,
restricted kernel?)

This is unrelated to 0.41.0 update and is bandwagon, otherwise it is impossible
for me to land such change (committers in my experience are hesitant to commit
mitigation and opt out related port glue).

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