HomeFreeBSD

Use compat.linux.emul_path instead of hardcoded path in /etc/rc.d/linux

Description

Use compat.linux.emul_path instead of hardcoded path in /etc/rc.d/linux

In /etc/rc.d/linux the mounting paths of procfs, sysfs and devfs
are hardcoded to "/compat/linux". Switching to the content of
compat.linux.emul_path sysctl would allow to switch linuxulator
to different place.

Submitted by: freebsdnewbie_freenet.de
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D27807

(cherry picked from commit e40787f900f3c262d5134d342e5a16757dd2193c)

Details

Provenance
traszAuthored on Feb 2 2021, 2:40 PM
Differential Revision
D27807: Use compat.linux.emul_path instead of hardcoded path in /etc/rc.d/linux
Parents
R10:a3576b620707: libc: fix buffer overrun in getrpcport(3)
Branches
Unknown
Tags
Unknown