Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
* This is for debugging ONLY and should not be considered secure.
*/
static
-int run_as_noworker(enum run_as_cmd cmd,
- struct run_as_data *data, uid_t uid, gid_t gid)
+int run_as_noworker(enum run_as_cmd cmd, struct run_as_data *data)
{
int ret, saved_errno;
mode_t old_mask;
} else {
DBG("Using run_as without worker");
- ret = run_as_noworker(cmd, data, uid, gid);
+ ret = run_as_noworker(cmd, data);
}
return ret;
}