diff options
author | lns <matzeton@googlemail.com> | 2018-06-08 15:15:51 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2018-06-08 15:15:51 +0200 |
commit | 0e1a9f70b3e720b506d69db6c920ce017834ae94 (patch) | |
tree | 8b6bb2a337af236975f779c2e82ef5d308bb7136 /src/main.c | |
parent | 18914495e90639c12eeec0805bbc74c82700e205 (diff) |
POTD skeleton #98.
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -58,8 +58,7 @@ static void jail_preinit(char jail_hosts[][2][NI_MAXHOST], jail_hosts[i][0], jail_ports[i][0]); jail_init_ctx(&ctx[i], MAX_STACKSIZE); - ctx[i]->newroot = strdup("/home/lns/git/busybox/sysroot"); - //ctx[i]->newroot = strdup("/home/toni/git/busybox/_install"); + ctx[i]->newroot = getopt_str(OPT_ROOT); ABORT_ON_FATAL( jail_setup(ctx[i], jail_hosts[i][0], jail_ports[i][0]), "Jail daemon setup" ); ABORT_ON_FATAL( jail_validate_ctx(ctx[i]), |