diff options
author | kwm <kwm@FreeBSD.org> | 2015-08-11 16:51:44 +0000 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2015-08-11 16:51:44 +0000 |
commit | 6014c8f8dbbf7c3a92b67dc2953ecfc8dff0bf9a (patch) | |
tree | bc08b1a873925399dfb420fd26864802880fb289 /sys/dev/drm | |
parent | 0c4c34019a98c0ccc8125e094cab56f2de6705a4 (diff) | |
download | FreeBSD-src-6014c8f8dbbf7c3a92b67dc2953ecfc8dff0bf9a.zip FreeBSD-src-6014c8f8dbbf7c3a92b67dc2953ecfc8dff0bf9a.tar.gz |
Instead of defining the actualy user and group id in the drmP.h files
define GID_VIDEO in sys/conf.h, and use it together with UID_ROOT
to define DRM_DEV_UID and DRM_DEV_GID in the drmP.h files.
So there is one place where the UID's and GID's are defined.
Submitted by: ed@
Reviewed by: ed@, dumbbell@
Differential Revision: https://reviews.freebsd.org/D3360
Diffstat (limited to 'sys/dev/drm')
-rw-r--r-- | sys/dev/drm/drmP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h index 7ff1495..dc7d804 100644 --- a/sys/dev/drm/drmP.h +++ b/sys/dev/drm/drmP.h @@ -174,8 +174,8 @@ SYSCTL_DECL(_hw_drm); #define __OS_HAS_AGP 1 #define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP) -#define DRM_DEV_UID 0 -#define DRM_DEV_GID 44 /* "video" group */ +#define DRM_DEV_UID UID_ROOT +#define DRM_DEV_GID GID_VIDEO #define wait_queue_head_t atomic_t #define DRM_WAKEUP(w) wakeup((void *)w) |