diff options
author | 2023-02-04 17:19:44 +0000 | |
---|---|---|
committer | 2023-02-04 17:19:44 +0000 | |
commit | de82aef79a151708fbee113ccc523dbde5fc1113 (patch) | |
tree | 93b47519600255ecbe5cec6e2ac8c32dec2ffb15 /src/include | |
parent | testing (diff) | |
download | firejail-de82aef79a151708fbee113ccc523dbde5fc1113.tar.gz firejail-de82aef79a151708fbee113ccc523dbde5fc1113.tar.zst firejail-de82aef79a151708fbee113ccc523dbde5fc1113.zip |
etc_groups.h: internally sort groups alphabetically
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/etc_groups.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/etc_groups.h b/src/include/etc_groups.h index fcb824778..556a73f7d 100644 --- a/src/include/etc_groups.h +++ b/src/include/etc_groups.h | |||
@@ -27,6 +27,7 @@ | |||
27 | static char *etc_list[ETC_MAX + 1] = { // plus 1 for ending NULL pointer | 27 | static char *etc_list[ETC_MAX + 1] = { // plus 1 for ending NULL pointer |
28 | "alternatives", | 28 | "alternatives", |
29 | "fonts", | 29 | "fonts", |
30 | "group", | ||
30 | "ld.so.cache", | 31 | "ld.so.cache", |
31 | "ld.so.conf", | 32 | "ld.so.conf", |
32 | "ld.so.conf.d", | 33 | "ld.so.conf.d", |
@@ -38,7 +39,6 @@ static char *etc_list[ETC_MAX + 1] = { // plus 1 for ending NULL pointer | |||
38 | "login.defs", // firejail reading UID/GID MIN and MAX at startup | 39 | "login.defs", // firejail reading UID/GID MIN and MAX at startup |
39 | "nsswitch.conf", | 40 | "nsswitch.conf", |
40 | "passwd", | 41 | "passwd", |
41 | "group", | ||
42 | NULL | 42 | NULL |
43 | }; | 43 | }; |
44 | 44 | ||
@@ -55,8 +55,8 @@ static char *etc_group_sound[] = { | |||
55 | static char*etc_group_network[] = { | 55 | static char*etc_group_network[] = { |
56 | "hostname", | 56 | "hostname", |
57 | "hosts", | 57 | "hosts", |
58 | "resolv.conf", | ||
59 | "protocols", | 58 | "protocols", |
59 | "resolv.conf", | ||
60 | NULL | 60 | NULL |
61 | }; | 61 | }; |
62 | 62 | ||
@@ -72,24 +72,24 @@ static char *etc_group_tls_ca[] = { | |||
72 | 72 | ||
73 | // @x11 | 73 | // @x11 |
74 | static char *etc_group_x11[] = { | 74 | static char *etc_group_x11[] = { |
75 | "xdg", | ||
76 | "drirc", | ||
77 | "dconf", | 75 | "dconf", |
76 | "drirc", | ||
78 | "gtk-2.0", | 77 | "gtk-2.0", |
79 | "gtk-3.0", | 78 | "gtk-3.0", |
80 | "kde4rc", | 79 | "kde4rc", |
81 | "kde5rc", | 80 | "kde5rc", |
82 | "pango", // text rendering/internationalization | ||
83 | "nvidia", | 81 | "nvidia", |
82 | "pango", // text rendering/internationalization | ||
84 | "X11", | 83 | "X11", |
84 | "xdg", | ||
85 | NULL | 85 | NULL |
86 | }; | 86 | }; |
87 | 87 | ||
88 | // @games | 88 | // @games |
89 | static char *etc_group_games[] = { | 89 | static char *etc_group_games[] = { |
90 | "openal", // 3D sound | ||
90 | "timidity", // MIDI | 91 | "timidity", // MIDI |
91 | "timidity.cfg", | 92 | "timidity.cfg", |
92 | "openal", // 3D sound | ||
93 | NULL | 93 | NULL |
94 | }; | 94 | }; |
95 | 95 | ||