Skip to content

Commit

Permalink
move --enable-sandbox out of experimental
Browse files Browse the repository at this point in the history
Fix #177

Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Mar 30, 2020
1 parent cac9a34 commit 3259a5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,9 @@ static void usage(const char *argv0)
"default=%s)\n",
DEFAULT_NETNS_TYPE);
printf("--userns-path=PATH specify user namespace path\n");
printf("--enable-sandbox create a new mount namespace and drop all "
"capabilities except CAP_NET_BIND_SERVICE (experimental)\n");
printf(
"--enable-sandbox create a new mount namespace (and drop all "
"caps except CAP_NET_BIND_SERVICE if running as the root)\n");
printf("--enable-seccomp enable seccomp to limit syscalls "
"(experimental)\n");
/* others */
Expand Down Expand Up @@ -493,7 +494,6 @@ static void parse_args(int argc, char *const argv[], struct options *options)
"--enable-sandbox instead.\n");
/* FALLTHROUGH */
case ENABLE_SANDBOX:
printf("WARNING: Support for sandboxing is experimental\n");
options->enable_sandbox = true;
break;
case ENABLE_SECCOMP:
Expand Down
4 changes: 2 additions & 2 deletions slirp4netns.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.nh
.TH SLIRP4NETNS 1 "August 2019" "Rootless Containers" "User Commands"
.TH SLIRP4NETNS 1 "March 2020" "Rootless Containers" "User Commands"

.SH NAME
.PP
Expand Down Expand Up @@ -87,7 +87,7 @@ specify network namespace type ([path|pid], default=pid)
specify user namespace path

.PP
\fB\-\-enable\-sandbox\fP (since v0.4.0, EXPERIMENTAL)
\fB\-\-enable\-sandbox\fP (since v0.4.0)
enter the user namespace and create a new mount namespace where only /etc and
/run are mounted from the host.

Expand Down
4 changes: 2 additions & 2 deletions slirp4netns.1.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SLIRP4NETNS 1 "August 2019" "Rootless Containers" "User Commands"
SLIRP4NETNS 1 "March 2020" "Rootless Containers" "User Commands"
==================================================

# NAME
Expand Down Expand Up @@ -62,7 +62,7 @@ specify network namespace type ([path|pid], default=pid)
**--userns-path=PATH** (since v0.4.0)
specify user namespace path

**--enable-sandbox** (since v0.4.0, EXPERIMENTAL)
**--enable-sandbox** (since v0.4.0)
enter the user namespace and create a new mount namespace where only /etc and
/run are mounted from the host.

Expand Down

0 comments on commit 3259a5b

Please sign in to comment.