[PATCH] implement --drop-privileges flag
Submitted by Robert Millan
Assigned to pul..@..op.org
Description
Created attachment 119207 [PATCH] --drop-privileges flag
Hi
I'm writing a PulseAudio module which needs root privileges in order to work. However, currently it can't be used because PulseAudio drops privileges on startup unconditionally.
Please consider the attached patch to implement --drop-privileges flag. This flag can be set to false to disable privilege dropping (marked as "DANGEROUS" for users who know what they're doing).
Attachment 119207, "[PATCH] --drop-privileges flag":
drop-privileges.diff