From d7cd954dd66edd305b50944b09447435adbed0fe Mon Sep 17 00:00:00 2001 From: Rik Faith Date: Fri, 26 May 2000 16:21:29 +0000 Subject: [PATCH] Allow root to pass magic authentication just like a regular user. --- linux/auth.c | 1 - 1 file changed, 1 deletion(-) diff --git a/linux/auth.c b/linux/auth.c index a1f4d206..b133bc50 100644 --- a/linux/auth.c +++ b/linux/auth.c @@ -45,7 +45,6 @@ static drm_file_t *drm_find_file(drm_device_t *dev, drm_magic_t magic) down(&dev->struct_sem); for (pt = dev->magiclist[hash].head; pt; pt = pt->next) { - if (pt->priv->authenticated) continue; if (pt->magic == magic) { retval = pt->priv; break;