[PATCH] caps: Stop warning about missing capabilities

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09.12.2015 13:19, Arun Raghavan wrote:
> On 9 December 2015 at 09:27, Kamil Rytarowski <n54 at gmx.com> wrote:
>> 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 } --
> 
> This seems to be legitimate as a warning considering it's emitted 
> when running as a privileged process. Since running in system mode 
> is a special case, it seems okay to leave this in.
> 
> -- Arun _______________________________________________ 
> pulseaudio-discuss mailing list 
> pulseaudio-discuss at lists.freedesktop.org 
> http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
> 


Thanks.

Similar change was in pkgsrc as a local patch. I will try to
discuss it with the author of our pkgsrc diff.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWaJFuAAoJEEuzCOmwLnZsAB8P/j3rIFYlYumnmIGW4kIgiNEk
dHbk99qGMTcQ0v5m93gXMVCiu7yQK34KFyz5O8YaPnd9wmSYmEeFKI/C7GgPtxYX
QP+XtELlWKb83dFHykaukGSYhGA+x8iCsqzb5kv6MVoYpKNSUE3A5IYrIwU9wy+W
05BpWjqcrSlsUq4S9rTMrSLOq3Qb1l/iuOsm0AgVbvKIPt6A8TUFNGmW8kI1rpZ/
WDkmo/SHIF+2WDDCNUAhN6wAYeZIxkLHOdUdO8KyCdLA4VmN2ofeWIUUzIB2Jf4f
JPPM03gwvQN5MmHtDgbk91I2F2oKlcZuEzggWyQxxoSjx9/Y834Ke9xZ7VO0wF05
M/vSxNIPV+iykNvVRcD5Tcvv5FK7w+khChkvSST0SzUaR1ryMrwJ+tTKYiA9bpG3
ULCEv8n94sk5agfvA64MGfcAuHj/2UpiK7Dp1QJNdyyIBCV3PgA+tJfg1sr1dYRU
WzrvQrL4YUk8niJp7zkYWHURVW/Lu/E7/sPuDXg87l7mnnH6kFmMMFWtvQDBbZ1d
q61gUe0G1fihPyHUXum7/u8o/AIYEJixZUEZF/I4vJ+Q4LCI3Oy8CxONMH7rEhWJ
MqmUwSff01GF4/0n8M/7frPu/9uxTyMdgQ8sA3X3jLEigeTXUzLmVLsh4uh0t2T8
y+F9mYGQckBUlt0IRxB9
=9OFF
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux