From 30e557960ab84b27ba0418125240e310f65ca985 Mon Sep 17 00:00:00 2001 From: Wojciech Zygmunt Porczyk Date: Tue, 20 May 2014 17:47:25 +0200 Subject: [PATCH] qubes-rpc-policy/qubes.GetImageRGBA.policy needed for qubes-app-linux-img-converter --- qubes-rpc-policy/qubes.GetImageRGBA.policy | 7 +++++++ rpm_spec/core-dom0.spec | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 qubes-rpc-policy/qubes.GetImageRGBA.policy diff --git a/qubes-rpc-policy/qubes.GetImageRGBA.policy b/qubes-rpc-policy/qubes.GetImageRGBA.policy new file mode 100644 index 00000000..d295d1f8 --- /dev/null +++ b/qubes-rpc-policy/qubes.GetImageRGBA.policy @@ -0,0 +1,7 @@ +## Note that policy parsing stops at the first match, +## so adding anything below "$anyvm $anyvm action" line will have no effect + +## Please use a single # to start your custom comments + +$anyvm $dispvm allow +$anyvm $anyvm ask diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index f8baeb43..42269bd7 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -141,6 +141,7 @@ cp linux/aux-tools/fix-dir-perms.sh $RPM_BUILD_ROOT/usr/lib/qubes/ mkdir -p $RPM_BUILD_ROOT/etc/qubes-rpc/policy cp qubes-rpc-policy/qubes.Filecopy.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.Filecopy +cp qubes-rpc-policy/qubes.GetImageRGBA.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.GetImageRGBA cp qubes-rpc-policy/qubes.OpenInVM.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.OpenInVM cp qubes-rpc-policy/qubes.VMShell.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.VMShell cp qubes-rpc-policy/qubes.NotifyTools.policy $RPM_BUILD_ROOT/etc/qubes-rpc/policy/qubes.NotifyTools @@ -320,6 +321,7 @@ fi /etc/xen/scripts/block-origin /etc/xen/scripts/vif-route-qubes %attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.Filecopy +%attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.GetImageRGBA %attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.OpenInVM %attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.NotifyTools %attr(0664,root,qubes) %config(noreplace) /etc/qubes-rpc/policy/qubes.NotifyUpdates