Ludwig Nussel
e2822388d8
OBS-URL: https://build.opensuse.org/package/show/games:tools/mumble?expand=0&rev=13
27 lines
753 B
Diff
27 lines
753 B
Diff
From 6b365d33f10a9c4376bed058330d243c514b94a1 Mon Sep 17 00:00:00 2001
|
|
From: Ludwig Nussel <ludwig.nussel@suse.de>
|
|
Date: Thu, 24 Mar 2011 14:29:35 +0100
|
|
Subject: [PATCH mumble] remove CAP_NET_ADMIN
|
|
|
|
QoS settings do not need CAP_NET_ADMIN anymore
|
|
---
|
|
src/murmur/UnixMurmur.cpp | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/src/murmur/UnixMurmur.cpp b/src/murmur/UnixMurmur.cpp
|
|
index 9becf63..9e1c81c 100644
|
|
--- a/src/murmur/UnixMurmur.cpp
|
|
+++ b/src/murmur/UnixMurmur.cpp
|
|
@@ -288,7 +288,7 @@ void UnixMurmur::initialcap() {
|
|
|
|
void UnixMurmur::finalcap() {
|
|
#ifdef Q_OS_LINUX
|
|
- cap_value_t caps[] = {CAP_NET_ADMIN, CAP_SYS_RESOURCE};
|
|
+ cap_value_t caps[] = {CAP_SYS_RESOURCE};
|
|
struct rlimit r;
|
|
|
|
if (! bRoot)
|
|
--
|
|
1.7.3.4
|
|
|