54650dd0f4
device (bnc#879767). OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=652
27 lines
916 B
Diff
27 lines
916 B
Diff
From c79437b7967cf5a23faa881bc5da6b88b63a1ada Mon Sep 17 00:00:00 2001
|
|
From: Stefan Dirsch <sndirsch@suse.de>
|
|
Date: Tue, 3 Jun 2014 15:05:55 +0200
|
|
Subject: [PATCH] apply ACL for nvidia-uvm device node
|
|
|
|
set ACL on nvidia-uvm device (bnc#879767).
|
|
---
|
|
src/login/logind-acl.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c
|
|
index 54bc16b..a40af21 100644
|
|
--- a/src/login/logind-acl.c
|
|
+++ b/src/login/logind-acl.c
|
|
@@ -295,6 +295,8 @@ int devnode_acl_all(struct udev *udev,
|
|
if (devnode_acl(devname, flush, del, old_uid, add, new_uid) < 0)
|
|
break;
|
|
}
|
|
+ /* required for additional CUDA support (nvidia-uvm module with appropriate device), bnc#879767 */
|
|
+ devnode_acl("/dev/nvidia-uvm", flush, del, old_uid, add, new_uid);
|
|
}
|
|
|
|
return r;
|
|
--
|
|
1.8.4.5
|
|
|