- apply-ACL-for-nvidia-uvm-device-node.patch: set ACL on nvidia-uvm
device (bnc#879767). OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=652
This commit is contained in:
parent
6dee85e780
commit
54650dd0f4
26
apply-ACL-for-nvidia-uvm-device-node.patch
Normal file
26
apply-ACL-for-nvidia-uvm-device-node.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 3 16:31:44 UTC 2014 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- apply-ACL-for-nvidia-uvm-device-node.patch: set ACL on nvidia-uvm
|
||||||
|
device (bnc#879767).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 30 07:35:07 UTC 2014 - rmilasan@suse.com
|
Fri May 30 07:35:07 UTC 2014 - rmilasan@suse.com
|
||||||
|
|
||||||
|
@ -189,6 +189,8 @@ Patch21: allow-multiple-sulogin-to-be-started.patch
|
|||||||
Patch22: handle-SYSTEMCTL_OPTIONS-environment-variable.patch
|
Patch22: handle-SYSTEMCTL_OPTIONS-environment-variable.patch
|
||||||
# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-device-nodes.patch bnc#808319 -- set ACL on nvidia devices
|
# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-device-nodes.patch bnc#808319 -- set ACL on nvidia devices
|
||||||
Patch27: apply-ACL-for-nvidia-device-nodes.patch
|
Patch27: apply-ACL-for-nvidia-device-nodes.patch
|
||||||
|
# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-uvm-device-node.patch bnc#879767 -- set ACL on nvidia-uvm device
|
||||||
|
Patch28: apply-ACL-for-nvidia-uvm-device-node.patch
|
||||||
# PATCH-FIX-OPENSUSE Revert-service-drop-support-for-SysV-scripts-for-the-early.patch fcrozat@suse.com -- handle boot.* initscripts
|
# PATCH-FIX-OPENSUSE Revert-service-drop-support-for-SysV-scripts-for-the-early.patch fcrozat@suse.com -- handle boot.* initscripts
|
||||||
Patch37: Revert-service-drop-support-for-SysV-scripts-for-the-early.patch
|
Patch37: Revert-service-drop-support-for-SysV-scripts-for-the-early.patch
|
||||||
# PATCH-FIX-OPENSUSE systemd-tmp-safe-defaults.patch FATE#314974 max@suse.de -- Return to SUSE's "safe defaults" policy on deleting files from tmp direcorie.
|
# PATCH-FIX-OPENSUSE systemd-tmp-safe-defaults.patch FATE#314974 max@suse.de -- Return to SUSE's "safe defaults" policy on deleting files from tmp direcorie.
|
||||||
@ -810,6 +812,7 @@ cp %{SOURCE7} m4/
|
|||||||
# check if this is still needed, or can be derived from fbdev uaccess rule
|
# check if this is still needed, or can be derived from fbdev uaccess rule
|
||||||
# http://lists.freedesktop.org/archives/systemd-devel/2012-November/007561.html
|
# http://lists.freedesktop.org/archives/systemd-devel/2012-November/007561.html
|
||||||
%patch27 -p1
|
%patch27 -p1
|
||||||
|
%patch28 -p1
|
||||||
%patch37 -p1
|
%patch37 -p1
|
||||||
%ifarch %arm
|
%ifarch %arm
|
||||||
%patch38 -p1
|
%patch38 -p1
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 3 16:31:44 UTC 2014 - sndirsch@suse.com
|
||||||
|
|
||||||
|
- apply-ACL-for-nvidia-uvm-device-node.patch: set ACL on nvidia-uvm
|
||||||
|
device (bnc#879767).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jun 3 14:23:40 UTC 2014 - werner@suse.de
|
Tue Jun 3 14:23:40 UTC 2014 - werner@suse.de
|
||||||
|
|
||||||
|
@ -185,6 +185,8 @@ Patch21: allow-multiple-sulogin-to-be-started.patch
|
|||||||
Patch22: handle-SYSTEMCTL_OPTIONS-environment-variable.patch
|
Patch22: handle-SYSTEMCTL_OPTIONS-environment-variable.patch
|
||||||
# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-device-nodes.patch bnc#808319 -- set ACL on nvidia devices
|
# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-device-nodes.patch bnc#808319 -- set ACL on nvidia devices
|
||||||
Patch27: apply-ACL-for-nvidia-device-nodes.patch
|
Patch27: apply-ACL-for-nvidia-device-nodes.patch
|
||||||
|
# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-uvm-device-node.patch bnc#879767 -- set ACL on nvidia-uvm device
|
||||||
|
Patch28: apply-ACL-for-nvidia-uvm-device-node.patch
|
||||||
# PATCH-FIX-OPENSUSE Revert-service-drop-support-for-SysV-scripts-for-the-early.patch fcrozat@suse.com -- handle boot.* initscripts
|
# PATCH-FIX-OPENSUSE Revert-service-drop-support-for-SysV-scripts-for-the-early.patch fcrozat@suse.com -- handle boot.* initscripts
|
||||||
Patch37: Revert-service-drop-support-for-SysV-scripts-for-the-early.patch
|
Patch37: Revert-service-drop-support-for-SysV-scripts-for-the-early.patch
|
||||||
# PATCH-FIX-OPENSUSE systemd-tmp-safe-defaults.patch FATE#314974 max@suse.de -- Return to SUSE's "safe defaults" policy on deleting files from tmp direcorie.
|
# PATCH-FIX-OPENSUSE systemd-tmp-safe-defaults.patch FATE#314974 max@suse.de -- Return to SUSE's "safe defaults" policy on deleting files from tmp direcorie.
|
||||||
@ -822,6 +824,7 @@ cp %{SOURCE7} m4/
|
|||||||
# check if this is still needed, or can be derived from fbdev uaccess rule
|
# check if this is still needed, or can be derived from fbdev uaccess rule
|
||||||
# http://lists.freedesktop.org/archives/systemd-devel/2012-November/007561.html
|
# http://lists.freedesktop.org/archives/systemd-devel/2012-November/007561.html
|
||||||
%patch27 -p1
|
%patch27 -p1
|
||||||
|
%patch28 -p1
|
||||||
%patch37 -p1
|
%patch37 -p1
|
||||||
%ifarch %arm
|
%ifarch %arm
|
||||||
%patch38 -p1
|
%patch38 -p1
|
||||||
|
Loading…
Reference in New Issue
Block a user