Commit 976957b0 authored by Colin Walters's avatar Colin Walters

newnet: Improve docs some more

Suggested by Owen Taylor <otaylor@redhat.com>
parent 61b63e3b
......@@ -27,3 +27,16 @@ network namespace is very high - it does mean that e.g. one could make
But most setuid programs *should* be carefully checking errors
anyways.
Building
--------
To enable building this helper, pass --enable-newnet-helper to
configure.
Running
-------
$ linux-user-chroot-newnet curl http://google.com
curl: (6) Could not resolve host: google.com; Unknown error
$ linux-user-chroot-newnet /bin/bash
$ # you're now in a shell without networking
......@@ -81,7 +81,7 @@ main (int argc,
argv++;
if (argc < 1)
fatal ("PROGRAM argument must be specified");
fatal ("PROGRAM [ARGS]... Run PROGRAM in an isolated network namespace");
program = argv[0];
program_argv = argv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment