2014-06-03 16:52:37 +02:00
|
|
|
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).
|
|
|
|
---
|
2015-06-23 14:56:50 +02:00
|
|
|
src/login/logind-acl.c | 2 ++
|
2014-06-03 16:52:37 +02:00
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
2015-06-23 14:56:50 +02:00
|
|
|
Index: systemd-221/src/login/logind-acl.c
|
|
|
|
===================================================================
|
|
|
|
--- systemd-221.orig/src/login/logind-acl.c
|
|
|
|
+++ systemd-221/src/login/logind-acl.c
|
2014-06-03 16:52:37 +02:00
|
|
|
@@ -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;
|