core: rename and add comment to ExecParameters cleanup functions

This commit is contained in:
Luca Boccassi
2023-11-01 12:43:22 +09:00
committed by Yu Watanabe
parent f70a264cf3
commit fba173ff6a
8 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -1913,7 +1913,7 @@ static int socket_coldplug(Unit *u) {
static int socket_spawn(Socket *s, ExecCommand *c, PidRef *ret_pid) {
_cleanup_(exec_params_clear) ExecParameters exec_params = EXEC_PARAMETERS_INIT(
_cleanup_(exec_params_shallow_clear) ExecParameters exec_params = EXEC_PARAMETERS_INIT(
EXEC_APPLY_SANDBOXING|EXEC_APPLY_CHROOT|EXEC_APPLY_TTY_STDIN);
_cleanup_(pidref_done) PidRef pidref = PIDREF_NULL;
pid_t pid;