Add gid to clixon_process_register() for drop privs

This commit is contained in:
Olof hagsand 2023-06-02 13:38:00 +02:00
parent 080eef0278
commit 8598fca688
6 changed files with 28 additions and 14 deletions

View file

@ -314,7 +314,7 @@ restconf_pseudo_process_control(clicon_handle h)
if (clixon_process_register(h, RESTCONF_PROCESS,
"Clixon RESTCONF process",
NULL /* XXX network namespace */,
-1,
-1, -1,
restconf_rpc_wrapper,
argv, nr) < 0)
goto done;