[Bug 240413] graphics/drm + x11-drivers/xf86-video-intel + Intel HD 5500 issues on 12.0

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240413

Jan Beich <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Jan Beich <[email protected]> ---
(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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.