aboutsummaryrefslogtreecommitdiffstats
path: root/src/firecfg/firecfg.h
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2017-09-25 07:38:01 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2017-09-25 07:38:01 -0400
commita6341b904c08b1feb51e264ab487d1f125222a10 (patch)
tree35ea50b8c8e561b710272a0e8ae9418541a32925 /src/firecfg/firecfg.h
parentRemove whitelist from pinta (diff)
downloadfirejail-a6341b904c08b1feb51e264ab487d1f125222a10.tar.gz
firejail-a6341b904c08b1feb51e264ab487d1f125222a10.tar.zst
firejail-a6341b904c08b1feb51e264ab487d1f125222a10.zip
disable DBus activation in firecfg
Diffstat (limited to 'src/firecfg/firecfg.h')
-rw-r--r--src/firecfg/firecfg.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/firecfg/firecfg.h b/src/firecfg/firecfg.h
new file mode 100644
index 000000000..c4640feb8
--- /dev/null
+++ b/src/firecfg/firecfg.h
@@ -0,0 +1,51 @@
1/*
2 * Copyright (C) 2014-2017 Firejail Authors
3 *
4 * This file is part of firejail project
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19*/
20#define _GNU_SOURCE
21#include <stdio.h>
22#include <sys/types.h>
23#include <dirent.h>
24#include <sys/types.h>
25#include <sys/stat.h>
26#include <fcntl.h>
27#include <unistd.h>
28#include <grp.h>
29#include <string.h>
30#include <errno.h>
31#include <sys/mman.h>
32#include <pwd.h>
33#include <dirent.h>
34
35#include "../include/common.h"
36#define MAX_BUF 4096
37
38
39// main.c
40extern int arg_debug;
41
42// util.c
43int which(const char *program);
44int is_link(const char *fname);
45
46// sound.c
47void sound(void);
48
49// desktop_files.c
50void fix_desktop_files(char *homedir);
51