diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-06-13 01:18:53 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-06-13 01:18:53 +0200 |
commit | 436983fe412b9e764f6bec422317b8588d175a86 (patch) | |
tree | e4f3b954887d8cdf7fa107e215f339ba7e600bd3 /src/jail.c | |
parent | aa8fb9511c8efb70952ef6b01fcd803847d6704c (diff) |
POTD skeleton #103.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/jail.c')
-rw-r--r-- | src/jail.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -340,6 +340,7 @@ static int jail_childfn(prisoner_process *ctx) case 0: if (mount_proc(path_proc)) exit(EXIT_FAILURE); + socket_set_ifaddr(&ctx->client_psock, "lo", "127.0.0.1", "255.0.0.0"); /* if (update_setgroups_self(0)) exit(EXIT_FAILURE); |