alsa-capabilities: ps -q argument (to determine process name of owner_pid) throws error on procps-ng versions <3.3.11: "unsupported SysV option"
Created by: ronalde
When trying to get the name of the (parent)process of the PID indicated with owner_pid in /proc/asound/card${alsa_card_nr}/pcm${alsa_if_nr}p/sub0/status in the function get_locking_process, the -q argument is used with ps.
This feature was introduced in 3.3.10.
procps versions in distros:
- Arch:
procps-ng>= 2014-11-10 - Debian:
procps>= stretch (testing) - Ubuntu:
procps>= xenial (16.04)
Apart from not returning the process name as it should, the function doesn't handle that error.