FS#30445 - [pulseaudio] do not install proximity-helper as setuid root

Attached to Project: Arch Linux
Opened by Peter Wu (Lekensteyn) - Tuesday, 26 June 2012, 09:41 GMT
Last edited by Jan Alexander Steffens (heftig) - Wednesday, 12 December 2012, 05:07 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Currently, /usr/lib/pulse/proximity-helper is installed as setuid root. This program needs elevated privileges for being able to perform a raw socket() call. Would it be possible to get rid of this bit?

This module does not seem to do very much:
"add new fun module that automatically mutes your audio devices when you leave with your bluetooth phone, and unmutes when you come back"
http://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/src/modules/bt-proximity-helper.c?id=5054f3623ff82ab0c263e15c47779b0caa841b29

Ubuntu just sets permissions 755. If this functionality is necessary, consider setting the CAP_NET_RAW capability.

Additional info:
* Version: pulseaudio 2.0-2
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Wednesday, 12 December 2012, 05:07 GMT
Reason for closing:  Implemented
Additional comments about closing:  Implemented in trunk. Will be seen next release.

Loading...