[PATCH] Xorg in a jail

Tom Evans tevans.uk at googlemail.com
Tue Mar 11 09:42:05 UTC 2014


On Sun, Mar 9, 2014 at 6:08 PM, Alexander Leidinger
<Alexander at leidinger.net> wrote:
> Seems you have an old one. Attached is what I was sending to jamie not
> long ago (but this is not in the FreeBSD tree due to the conclusion that
> such a huge impact on the security part should not be a simple allow.xxx
> switch).

Yes, I can't actually find it from this computer, but it was a patch
on your site. This newer patch you shared (thanks!) is much simpler
and more correct.

> Do NOT use the sysctls in this patch, they allow all jails to access the
> devices, if the devfs rules are appropriate. The attached patch doesn't
> have them anymore.
>
> I had them in in the first implementation, then jamie introduced the
> allow.XXX and I transitioned to this but forgot to remove the sysctls
> after migrating my jail. I removed them recently before sending the
> patch to jamie after his kmem change.

Right! I really wasn't sure what I was doing at that point, cargo cult
programming until it worked.

Thanks to you and Jamie for your hints.

Cheers

Tom


More information about the freebsd-x11 mailing list