[systemd/f18] allow detect-virt to be run by unprivileged code
Lennart Poettering
lennart at fedoraproject.org
Tue Oct 9 20:25:36 UTC 2012
commit 343debbc1307e04f97a2af5e18daa3a19c270302
Author: Lennart Poettering <lennart at poettering.net>
Date: Tue Oct 9 22:19:36 2012 +0200
allow detect-virt to be run by unprivileged code
systemd.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index d94b3b9..6e524ef 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -464,7 +464,7 @@ fi
%{_bindir}/systemd-cgls
%{_bindir}/systemd-cgtop
%{_bindir}/systemd-delta
-%{_bindir}/systemd-detect-virt
+%caps(cap_dac_override,cap_sys_ptrace=pe) %{_bindir}/systemd-detect-virt
%{_bindir}/systemd-inhibit
%{_bindir}/udevadm
%{_prefix}/lib/systemd/systemd
More information about the scm-commits
mailing list