Replace a deprecated libprivilege-control API