Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Sep 2019 07:30:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 240413] graphics/drm + x11-drivers/xf86-video-intel + Intel HD 5500 issues on 12.0
Message-ID:  <bug-240413-7141-KeXH5GFVMk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240413-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240413-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240413

Jan Beich <jbeich@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbeich@FreeBSD.org

--- Comment #6 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to rkoberman from comment #5)
> Finally, don't try running X as root!=20

"startx", not "X". xorg-server on FreeBSD uses root via SUID for /dev/ttyvN,
/dev/io, DRM_IOCTL_SET_MASTER, /dev/sysmouse. Priveleges maybe dropped, so
check EUID from "procstat -s $(pgrep Xorg)".

https://gitlab.freedesktop.org/xorg/xserver/blob/xorg-server-1.20.4/hw/xfre=
e86/os-support/bsd/bsd_init.c#L169-171
https://github.com/freebsd/freebsd/blob/releng/12.0/sys/dev/io/iodev.c#L73
https://github.com/FreeBSDDesktop/kms-drm/blob/drm-v5.0/drivers/gpu/drm/drm=
_ioctl.c#L595-L596

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240413-7141-KeXH5GFVMk>