capability-util: rename output argument of capability_gain_cap_setpcap()

This commit is contained in:
Yu Watanabe
2025-01-19 14:00:16 +00:00
committed by Luca Boccassi
parent ed8a737e08
commit 2cf9635511
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5567,7 +5567,7 @@ int exec_invoke(
*
* Hence there is no security impact to raise it in the effective set before execve
*/
r = capability_gain_cap_setpcap(/* return_caps= */ NULL);
r = capability_gain_cap_setpcap(/* ret_before_caps = */ NULL);
if (r < 0) {
*exit_status = EXIT_CAPABILITIES;
return log_exec_error_errno(context, params, r, "Failed to gain CAP_SETPCAP for setting secure bits");