Add a new group named 'video' with the id of 44. And make drm create
devices in /dev/dri/ with this new group. This will allow ports and users to more easily access to these devices for OpenGL and OpenCL support. Reviewed by: dumbbell@ Approved by: dumbbell@ Differential Revision: https://reviews.freebsd.org/D1260
This commit is contained in:
parent
a0c1575d2f
commit
34c7eb57ed
8
UPDATING
8
UPDATING
@ -31,6 +31,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW:
|
||||
disable the most expensive debugging functionality run
|
||||
"ln -s 'abort:false,junk:false' /etc/malloc.conf".)
|
||||
|
||||
20150809:
|
||||
The default group assigned to /dev/dri entries has been changed
|
||||
from 'wheel' to 'video' with the id of '44'. If you want to have
|
||||
access to the dri devices please add yourself to the video group
|
||||
with:
|
||||
|
||||
# pw groupmod video -m $USER
|
||||
|
||||
20150806:
|
||||
The menu.rc and loader.rc files will now be replaced during
|
||||
upgrades. Please migrate local changes to menu.rc.local and
|
||||
|
@ -17,6 +17,7 @@ sshd:*:22:
|
||||
smmsp:*:25:
|
||||
mailnull:*:26:
|
||||
guest:*:31:
|
||||
video:*:44:
|
||||
bind:*:53:
|
||||
unbound:*:59:
|
||||
proxy:*:62:
|
||||
|
@ -175,7 +175,7 @@ SYSCTL_DECL(_hw_drm);
|
||||
|
||||
#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP)
|
||||
#define DRM_DEV_UID 0
|
||||
#define DRM_DEV_GID 0
|
||||
#define DRM_DEV_GID 44 /* "video" group */
|
||||
|
||||
#define wait_queue_head_t atomic_t
|
||||
#define DRM_WAKEUP(w) wakeup((void *)w)
|
||||
|
@ -1593,7 +1593,7 @@ SYSCTL_DECL(_hw_drm);
|
||||
|
||||
#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP)
|
||||
#define DRM_DEV_UID 0
|
||||
#define DRM_DEV_GID 0
|
||||
#define DRM_DEV_GID 44 /* "video" group */
|
||||
|
||||
#define DRM_WAKEUP(w) wakeup((void *)w)
|
||||
#define DRM_WAKEUP_INT(w) wakeup(w)
|
||||
|
Loading…
Reference in New Issue
Block a user