diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firecfg/firecfg.config | 2 | ||||
-rw-r--r-- | src/firejail/main.c | 7 | ||||
-rw-r--r-- | src/firejail/util.c | 2 | ||||
-rw-r--r-- | src/fnettrace/main.c | 2 |
4 files changed, 12 insertions, 1 deletions
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index e68c04b4c..29b9b3807 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -687,6 +687,7 @@ quaternion | |||
687 | quiterss | 687 | quiterss |
688 | qupzilla | 688 | qupzilla |
689 | qutebrowser | 689 | qutebrowser |
690 | raincat | ||
690 | rambox | 691 | rambox |
691 | redeclipse | 692 | redeclipse |
692 | rednotebook | 693 | rednotebook |
@@ -874,6 +875,7 @@ weechat | |||
874 | weechat-curses | 875 | weechat-curses |
875 | wesnoth | 876 | wesnoth |
876 | wget | 877 | wget |
878 | wget2 | ||
877 | whalebird | 879 | whalebird |
878 | whois | 880 | whois |
879 | widelands | 881 | widelands |
diff --git a/src/firejail/main.c b/src/firejail/main.c index 0816afe83..21a289efb 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -3159,13 +3159,18 @@ int main(int argc, char **argv, char **envp) { | |||
3159 | } | 3159 | } |
3160 | } | 3160 | } |
3161 | 3161 | ||
3162 | // add render group | 3162 | // add render/vglusers group |
3163 | if (!arg_no3d) { | 3163 | if (!arg_no3d) { |
3164 | g = get_group_id("render"); | 3164 | g = get_group_id("render"); |
3165 | if (g) { | 3165 | if (g) { |
3166 | sprintf(ptr, "%d %d 1\n", g, g); | 3166 | sprintf(ptr, "%d %d 1\n", g, g); |
3167 | ptr += strlen(ptr); | 3167 | ptr += strlen(ptr); |
3168 | } | 3168 | } |
3169 | g = get_group_id("vglusers"); | ||
3170 | if (g) { | ||
3171 | sprintf(ptr, "%d %d 1\n", g, g); | ||
3172 | ptr += strlen(ptr); | ||
3173 | } | ||
3169 | } | 3174 | } |
3170 | 3175 | ||
3171 | // add lp group | 3176 | // add lp group |
diff --git a/src/firejail/util.c b/src/firejail/util.c index 5b8fd0b0f..79ebfa1dd 100644 --- a/src/firejail/util.c +++ b/src/firejail/util.c | |||
@@ -209,6 +209,8 @@ static void clean_supplementary_groups(gid_t gid) { | |||
209 | if (!arg_no3d) { | 209 | if (!arg_no3d) { |
210 | copy_group_ifcont("render", groups, ngroups, | 210 | copy_group_ifcont("render", groups, ngroups, |
211 | new_groups, &new_ngroups, MAX_GROUPS); | 211 | new_groups, &new_ngroups, MAX_GROUPS); |
212 | copy_group_ifcont("vglusers", groups, ngroups, | ||
213 | new_groups, &new_ngroups, MAX_GROUPS); | ||
212 | } | 214 | } |
213 | 215 | ||
214 | if (!arg_noprinters) { | 216 | if (!arg_noprinters) { |
diff --git a/src/fnettrace/main.c b/src/fnettrace/main.c index ab65268fd..352d61bbd 100644 --- a/src/fnettrace/main.c +++ b/src/fnettrace/main.c | |||
@@ -119,6 +119,8 @@ static void hnode_free(HNode *elem) { | |||
119 | htable[h] = elem->hnext; | 119 | htable[h] = elem->hnext; |
120 | else | 120 | else |
121 | prev->hnext = elem->hnext; | 121 | prev->hnext = elem->hnext; |
122 | if (elem->hostname) | ||
123 | free(elem->hostname); | ||
122 | free(elem); | 124 | free(elem); |
123 | } | 125 | } |
124 | 126 | ||