diff options
author | glitsj16 <glitsj16@users.noreply.github.com> | 2023-02-04 17:25:41 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-04 17:25:41 +0000 |
commit | 3ff6931025f3727431a3c363d0ffac2b5fa614ed (patch) | |
tree | bb2d27d795ac63ee3ef4ac918342c1cf3453b23b /src/include/etc_groups.h | |
parent | etc_groups.h: internally sort groups alphabetically (diff) | |
download | firejail-3ff6931025f3727431a3c363d0ffac2b5fa614ed.tar.gz firejail-3ff6931025f3727431a3c363d0ffac2b5fa614ed.tar.zst firejail-3ff6931025f3727431a3c363d0ffac2b5fa614ed.zip |
etc_groups.h: sort groups alphabetically
Diffstat (limited to 'src/include/etc_groups.h')
-rw-r--r-- | src/include/etc_groups.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/include/etc_groups.h b/src/include/etc_groups.h index 556a73f7d..052b737db 100644 --- a/src/include/etc_groups.h +++ b/src/include/etc_groups.h | |||
@@ -42,12 +42,11 @@ static char *etc_list[ETC_MAX + 1] = { // plus 1 for ending NULL pointer | |||
42 | NULL | 42 | NULL |
43 | }; | 43 | }; |
44 | 44 | ||
45 | // @sound | 45 | // @games |
46 | static char *etc_group_sound[] = { | 46 | static char *etc_group_games[] = { |
47 | "alsa", | 47 | "openal", // 3D sound |
48 | "asound.conf", | 48 | "timidity", // MIDI |
49 | "machine-id", // required by PulseAudio | 49 | "timidity.cfg", |
50 | "pulse", | ||
51 | NULL | 50 | NULL |
52 | }; | 51 | }; |
53 | 52 | ||
@@ -60,6 +59,15 @@ static char*etc_group_network[] = { | |||
60 | NULL | 59 | NULL |
61 | }; | 60 | }; |
62 | 61 | ||
62 | // @sound | ||
63 | static char *etc_group_sound[] = { | ||
64 | "alsa", | ||
65 | "asound.conf", | ||
66 | "machine-id", // required by PulseAudio | ||
67 | "pulse", | ||
68 | NULL | ||
69 | }; | ||
70 | |||
63 | // @tls-ca | 71 | // @tls-ca |
64 | static char *etc_group_tls_ca[] = { | 72 | static char *etc_group_tls_ca[] = { |
65 | "ca-certificates", | 73 | "ca-certificates", |
@@ -85,12 +93,4 @@ static char *etc_group_x11[] = { | |||
85 | NULL | 93 | NULL |
86 | }; | 94 | }; |
87 | 95 | ||
88 | // @games | ||
89 | static char *etc_group_games[] = { | ||
90 | "openal", // 3D sound | ||
91 | "timidity", // MIDI | ||
92 | "timidity.cfg", | ||
93 | NULL | ||
94 | }; | ||
95 | |||
96 | #endif | 96 | #endif |