From 2a552f4d3af4a5c4aaef7ad9a0e500d6c6d462ed Mon Sep 17 00:00:00 2001 From: netblue30 Date: Fri, 26 Feb 2016 20:13:22 -0500 Subject: x11 support --- README | 2 +- RELNOTES | 1 + src/firejail/usage.c | 1 + src/man/firejail.txt | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index 6da1775f0..efc39d730 100644 --- a/README +++ b/README @@ -100,7 +100,7 @@ Duncan Overbruck (https://github.com/Duncaen) - musl libc fix - utmp fix andrew160 (https://github.com/andrew160) - - profile fixes + - profile and man pages fixes Loïc Damien (https://github.com/dzamlo) - small fixes Matthew Gyurgyik (https://github.com/pyther) diff --git a/RELNOTES b/RELNOTES index 41edfa0f1..42e2f14d7 100644 --- a/RELNOTES +++ b/RELNOTES @@ -3,6 +3,7 @@ firejail (0.9.39) baseline; urgency=low * default seccomp filter update * disable STUN/WebRTC in default netfilter configuration * added --nice option + * added --x11 option * addded mkdir profile command * --version also prints compile options * added compile-time option to restrict --net= to root only diff --git a/src/firejail/usage.c b/src/firejail/usage.c index 33724c80f..b538f136b 100644 --- a/src/firejail/usage.c +++ b/src/firejail/usage.c @@ -292,6 +292,7 @@ void usage(void) { printf("\t--user=new_user - switch the user before starting the sandbox.\n\n"); printf("\t--version - print program version and exit.\n\n"); printf("\t--whitelist=dirname_or_filename - whitelist directory or file.\n\n"); + printf("\t--x11 - enable x11 server.\n\n"); printf("\t--zsh - use /usr/bin/zsh as default shell.\n\n"); printf("\n"); printf("\n"); diff --git a/src/man/firejail.txt b/src/man/firejail.txt index c6931af12..eff2c5750 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -1517,7 +1517,7 @@ applications started in the sandbox from accessing display 0. .br Example: .br -$ firejail \-\-x11 firefox +$ firejail \-\-x11 --net=eth0 firefox .TP \fB\-\-zsh -- cgit v1.2.3-70-g09d2