Commit Graph

5 Commits (master)

Author SHA1 Message Date
lawl 6ea788a0c0 Refactor: Remove old method of removing rlimit for pulseaudio
Previously we had the capability to remove the rlimit on pulseaudio
by calling ourselves via pkexec to elevate privileges.
A while ago we switched to fully using capabilities.
We now remove the old legacy codepath.
3 years ago
lawl cd2b2c843d Implement using CAP_SYS_RESOURCE
Instead of pkexecing everytime we check if we have CAP_SYS_RESOURCE and then just do it directly.
If we don't have it, we try to set it with pkexec.
4 years ago
lawl 9bcb2a0c8d Respect PULSE_RUNTME_PATH and PULSE_COOKIE 4 years ago
lawl 23e32356c6 Use fallback if RUNTIME_DIR not set 4 years ago
lawl 26a4977831 remove rttime-rlimit as root during loading 4 years ago