[go: up one dir, main page]

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:

Apart from not returning the process name as it should, the function doesn't handle that error.