···272272typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd,273273 unsigned long arg);274274275275+#define DRM_AUTH 0x1276276+#define DRM_MASTER 0x2277277+#define DRM_ROOT_ONLY 0x4278278+275279typedef struct drm_ioctl_desc {276280 drm_ioctl_t *func;277277- int auth_needed;278278- int root_only;281281+ int flags;279282} drm_ioctl_desc_t;280283281284typedef struct drm_devstate {···373370/** File private data */374371typedef struct drm_file {375372 int authenticated;373373+ int master;376374 int minor;377375 pid_t pid;378376 uid_t uid;