[Bug 297426] linuxulator: linprocfs /proc/self/exe host path breaks execve under Linux ABI

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Aug 2026 11:20:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297426

--- Comment #37 from Ricardo Branco <rbranco@suse.com> ---
I'm afraid this issue can't be fully solved for Linux programs outside of a
chroot, because sometimes you want them to access files outside /compat/linux
(like $HOME) and sometimes you don't (the case with /proc/self/exe).  Otherwise
mount linprocfs in /proc.  

Linux programs should run chroot'ed...  If you want them to access $HOME, just
bind-mount $HOME in /compat/linux

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