mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 00:10:11 +01:00
Allow root to pass magic authentication just like a regular user.
This commit is contained in:
parent
837ea811fd
commit
d7cd954dd6
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue