diff options
author | 2021-02-09 10:47:38 -0500 | |
---|---|---|
committer | 2021-02-09 10:47:38 -0500 | |
commit | 9ddd5dbbab3bdd645d4118fd2a3879408edc5d69 (patch) | |
tree | 424fa1303d4461684777de394f583a3e14b3c606 /src | |
parent | Merge pull request #3849 from bbhtt/email (diff) | |
download | firejail-9ddd5dbbab3bdd645d4118fd2a3879408edc5d69.tar.gz firejail-9ddd5dbbab3bdd645d4118fd2a3879408edc5d69.tar.zst firejail-9ddd5dbbab3bdd645d4118fd2a3879408edc5d69.zip |
adding DISPLAY to env_whitelist
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/env.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/env.c b/src/firejail/env.c index 2d5042100..c87bebced 100644 --- a/src/firejail/env.c +++ b/src/firejail/env.c | |||
@@ -274,7 +274,8 @@ static const char * const env_whitelist[] = { | |||
274 | "LANG", | 274 | "LANG", |
275 | "LANGUAGE", | 275 | "LANGUAGE", |
276 | "LC_MESSAGES", | 276 | "LC_MESSAGES", |
277 | "PATH" | 277 | "PATH", |
278 | "DISPLAY" // required by X11 | ||
278 | }; | 279 | }; |
279 | 280 | ||
280 | static const char * const env_whitelist_sbox[] = { | 281 | static const char * const env_whitelist_sbox[] = { |