[Bug 295333] linuxulator: page fault handling SO_PEERCRED
[email protected] Sat, 16 May 2026 17:03:56 +0000
| Newsgroups | gmane.os.freebsd.devel.emulation |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=295333 Alan Somers <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Status|New |Open --- Comment #7 from Alan Somers <[email protected]> --- I was able to reproduce the problem without Java, by running a small Rust binary within a Linux jail. What I did was: 1) Create a Debian Trixie jail according to the instructions at https://iocage.readthedocs.io/en/latest/debian.html 2) Cloned the Nix repository from https://github.com/nix-rust/nix.git 3) Built the Nix tests in a Linux VM. I probably could've used the Linux jail, but I already had the VM setup for this task. - cd /path/to/nix - cargo test --all-features 4) Transferred the test binary into the Linux jail. In this case, the test binary is named /path/to/nix/target/debug/deps/test-5cc4bc3ec691ad64 5) Executed the Linux binary like this: - sudo iocage exec debjail /tmp/test-5cc4bc3ec691ad64 can_get_peercred_on_unix_socket The result was a kernel panic that looked the same as the OP's. I'll work on a fix, using this reproduction method. -- You are receiving this mail because: You are on the CC list for the bug.