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

[email protected]
Newsgroups gmane.os.freebsd.bugs
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297426

--- Comment #16 from Alex S <[email protected]> ---
(In reply to Gleb Popov from comment #15)

> Which I don't quite get. All path lookups done by Linuxulator are first performed against / and then against emul_path. So everything works as it should to me.

I don't pretend to know this code, but it's likely the other way around:

% ls -lh /compat/linux/etc/hosts
-rw-r--r--  1 root wheel  158B 23 июня   2020 /compat/linux/etc/hosts
% ls -lh /etc/hosts
-rw-r--r--  1 root wheel  2,3K  9 июля  13:28 /etc/hosts
% /compat/linux/bin/ls -lh /etc/hosts
-rw-r--r-- 1 root wheel 158 июн 23  2020 /etc/hosts

The main issue is that we might have a bug here, but the LLM dignosis
doesn't look correct to me. I have no opinion on the linprofs change.
However, we already past pretending it will help the browser in any
way (since it's not installed in /compat/linux) with the pivot point
somewhere in the middle of this thread. Now it's two separate issues
and both don't look correctly diagnosed to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.