[pulseaudio-discuss] [PATCH] caps: Stop warning about missing capabilities

Kamil Rytarowski n54 at gmx.com
Tue Dec 8 19:57:34 PST 2015


This part is system specific, if we request it - we will get them,
otherwise tolerate that it's either unsupported or just disabled.

Caught on NetBSD.
---
 src/daemon/caps.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/daemon/caps.c b/src/daemon/caps.c
index fd135c0..81c4b25 100644
--- a/src/daemon/caps.c
+++ b/src/daemon/caps.c
@@ -91,9 +91,5 @@ void pa_drop_caps(void) {
 #else
 #error "Don't know how to do capabilities on your system.  Please send a patch."
 #endif /* __linux__ */
-#else /* HAVE_SYS_CAPABILITY_H */
-    pa_log_warn("Normally all extra capabilities would be dropped now, but "
-                "that's impossible because PulseAudio was built without "
-                "capabilities support.");
 #endif
 }
-- 
2.6.3



More information about the pulseaudio-discuss mailing list