From ea2c7a895d6456c83ee8489e1db7ae5a800f0abf Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 4 Aug 2005 13:15:27 +0000 Subject: Split the control of master vs root priv. Everything is still marked as needing root. --- linux-core/drmP.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux-core/drmP.h') diff --git a/linux-core/drmP.h b/linux-core/drmP.h index 53048ebf..ca415b8f 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -280,6 +280,7 @@ typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd, typedef struct drm_ioctl_desc { drm_ioctl_t *func; int auth_needed; + int master; int root_only; } drm_ioctl_desc_t; @@ -375,6 +376,7 @@ typedef struct drm_buf_entry { /** File private data */ typedef struct drm_file { int authenticated; + int master; int minor; pid_t pid; uid_t uid; -- cgit v1.2.3