summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2005-08-04 13:15:27 +0000
committerJon Smirl <jonsmirl@yahoo.com>2005-08-04 13:15:27 +0000
commitea2c7a895d6456c83ee8489e1db7ae5a800f0abf (patch)
treeeec12bb1d1eae45a612ac82ae2bd0e7454ecfd65 /linux-core/drmP.h
parent3ffd0c188bc35263f0b53345a0a4a261f4ae1b71 (diff)
Split the control of master vs root priv. Everything is still marked as
needing root.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h2
1 files changed, 2 insertions, 0 deletions
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;