[PATCH] Xorg in a jail

Subbsd subbsd at gmail.com
Wed Mar 12 03:19:48 UTC 2014


Hello, maillist


On Sun, Mar 9, 2014 at 5:26 AM, Tom Evans <tevans.uk at googlemail.com> wrote:
> I'm not sure I did the jail allow parameters right, but it works for
> me - I would appreciate someone more competent taking a look! Also,
> dev_io_access should probably be renamed or using it to control access
> to /dev/mem split out from it? Also, is the style right? vim: noet
> sw=8 ts=8 is what I was using.
>
> Cheers
>
> Tom
>
> PS: I haven't tested any input devices yet with this, let me know!

I've tested this patch on FreeBSD 11 + fluxbox jail and it works perfectly.

Nvidia require in devfs.rules next rule:
--
add path 'nvidia*' unhide
--

also i had to add
--
add path sysmouse unhide
--

due to a have
--
Section "ServerFlags"
    Option         "AutoAddDevices" "off"
EndSection
--

in my xorg.conf for independence of hald.

Despite violation of idea of safety of jail, it is very good feature
for private purposes/X-jails.

If it never is in basic system where it is possible to look for the
last actual version of a patch?


More information about the freebsd-hackers mailing list