aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/util.c b/src/firejail/util.c
index e8b35a64b..6cc1bc720 100644
--- a/src/firejail/util.c
+++ b/src/firejail/util.c
@@ -75,10 +75,11 @@ static void clean_supplementary_groups(gid_t gid) {
75 goto clean_all; 75 goto clean_all;
76 76
77 // clean supplementary group list 77 // clean supplementary group list
78 // allow only tty, audio, video, games 78 // allow only firejail, tty, audio, video, games
79 gid_t new_groups[MAX_GROUPS]; 79 gid_t new_groups[MAX_GROUPS];
80 int new_ngroups = 0; 80 int new_ngroups = 0;
81 char *allowed[] = { 81 char *allowed[] = {
82 "firejail",
82 "tty", 83 "tty",
83 "audio", 84 "audio",
84 "video", 85 "video",