Page MenuHomeFreeBSD

Don't do linuxulator path translation when chrooted
Needs ReviewPublic

Authored by trasz on Jun 18 2019, 4:55 PM.

Details

Reviewers
dchagin
kib
Group Reviewers
Linux Emulation
Summary

Don't do linuxulator path translation when chrooted. The reason
is obvious: the /compat/linux is only applicable to the real host
rootfs.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 24917
Build 23643: arc lint + arc unit

Event Timeline

trasz created this revision.Jun 18 2019, 4:55 PM
emaste added a subscriber: emaste.Jun 18 2019, 5:12 PM

Well, someone could chroot into a *FreeBSD* installation with the compat/linux packages installed in it..

trasz added a comment.Jun 19 2019, 1:29 PM

Hm, true. Add a sysctl perhaps, to turn it on and off?