From 89ce7a2091f469abf89fce88879a8092f5e00ff9 Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sun, 2 Oct 2016 16:04:57 +0200 Subject: Fix typos found by lintian --- README.md | 4 ++-- src/firejail/x11.c | 2 +- src/man/firejail-profile.txt | 4 ++-- src/man/firejail.txt | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 99b78d8ca..b6f80a52f 100644 --- a/README.md +++ b/README.md @@ -49,8 +49,8 @@ If you keep your Firejail profiles in a public repository, please give us a link ````` --x11=block Blacklist /tmp/.X11-unix directory, ${HOME}/.Xauthority and file - specified in ${XAUTHORITY} enviroment variable. Remove DISPLAY and - XAUTHORITY enviroment variables. Stop with error message if X11 + specified in ${XAUTHORITY} environment variable. Remove DISPLAY and + XAUTHORITY environment variables. Stop with error message if X11 abstract socket will be accessible in jail. --put=name|pid src-filename dest-filename diff --git a/src/firejail/x11.c b/src/firejail/x11.c index 2fa7f84d8..36023e067 100644 --- a/src/firejail/x11.c +++ b/src/firejail/x11.c @@ -627,7 +627,7 @@ void x11_block(void) { profile_add(line); } - // clear enviroment + // clear environment env_store("DISPLAY", RMENV); env_store("XAUTHORITY", RMENV); #endif diff --git a/src/man/firejail-profile.txt b/src/man/firejail-profile.txt index 4c5651925..9583ad426 100644 --- a/src/man/firejail-profile.txt +++ b/src/man/firejail-profile.txt @@ -286,8 +286,8 @@ Enable X11 sandboxing with xpra. Enable X11 sandboxing with xephyr. .TP \fBx11 block -Blacklist /tmp/.X11-unix directory, ${HOME}/.Xauthority and file specified in ${XAUTHORITY} enviroment variable. -Remove DISPLAY and XAUTHORITY enviroment variables. +Blacklist /tmp/.X11-unix directory, ${HOME}/.Xauthority and file specified in ${XAUTHORITY} environment variable. +Remove DISPLAY and XAUTHORITY environment variables. Stop with error message if X11 abstract socket will be accessible in jail. .SH Resource limits, CPU affinity, Control Groups diff --git a/src/man/firejail.txt b/src/man/firejail.txt index 2c4944331..3ceb21e78 100644 --- a/src/man/firejail.txt +++ b/src/man/firejail.txt @@ -1714,8 +1714,8 @@ $ firejail \-\-x11=xephyr --net=eth0 openbox .TP \fB\-\-x11=block -Blacklist /tmp/.X11-unix directory, ${HOME}/.Xauthority and file specified in ${XAUTHORITY} enviroment variable. -Remove DISPLAY and XAUTHORITY enviroment variables. +Blacklist /tmp/.X11-unix directory, ${HOME}/.Xauthority and file specified in ${XAUTHORITY} environment variable. +Remove DISPLAY and XAUTHORITY environment variables. Stop with error message if X11 abstract socket will be accessible in jail. .br -- cgit v1.2.3-54-g00ecf