aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/etc_groups.h
blob: 421837fbb977f40c6035677ba80b9a0a00912a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
/*
 * Copyright (C) 2014-2022 Firejail Authors
 *
 * This file is part of firejail project
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along
 * with this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef ETC_GROUPS_H
#define ETC_GROUPS_H

#define ETC_MAX 256

// DEFAULT
static char *etc_list[ETC_MAX + 1] = { // plus 1 for ending NULL pointer
	"alternatives",
	"fonts",
	"ld.so.cache",
	"ld.so.conf",
	"ld.so.conf.d",
	"ld.so.preload",
	"locale",
	"locale.alias",
	"locale.conf",
	"localtime",
	"login.defs", // firejail reading UID/GID MIN and MAX at startup
	"nsswitch.conf",
	"passwd",
	"group",
	NULL
};

// SOUND
static char *etc_group_sound[] = {
	"alsa",
	"asound.conf",
	"machine-id", // required by PulseAudio
	"pulse",
	NULL
};

// NETWORK
static char*etc_group_network[] = {
	"hostname",
	"hosts",
	"resolv.conf",
	"protocols",
	NULL
};

// TLS-CA
static char *etc_group_tls_ca[] = {
	"ca-certificates",
	"crypto-policies",
	"gcrypt",
	"pki",
	"ssl",
	NULL
};

// GUI
static char *etc_group_gui[] = {
	"xdg",
	"drirc",
	"dconf",
	"gtk-2.0",
	"gtk-3.0",
	"kde4rc",
	"kde5rc",
	"pango", // text rendering/internationalization
	NULL
};

// GAMES
static char *etc_group_games[] = {
	"timidity", // MIDI
	"timidity.cfg",
	"openal", // 3D sound
	NULL
};

#endif