[Bug 240413] graphics/drm + x11-drivers/xf86-video-intel + Intel HD 5500 issues on 12.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 9 07:30:45 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240413
Jan Beich <jbeich at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jbeich at FreeBSD.org
--- Comment #6 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to rkoberman from comment #5)
> Finally, don't try running X as root!
"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/xfree86/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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list