aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-02 08:09:33 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-02 08:09:33 -0400
commit9c958b34c854749a63b3c2774aa125eec5584562 (patch)
tree0b0065f3bd0ea8a887796c1563b2c357703ff77f
parentfixed firecfg man page, update README (diff)
parentMerge pull request #3292 from davidebeatrici/steam-home-directory-privacy (diff)
downloadfirejail-9c958b34c854749a63b3c2774aa125eec5584562.tar.gz
firejail-9c958b34c854749a63b3c2774aa125eec5584562.tar.zst
firejail-9c958b34c854749a63b3c2774aa125eec5584562.zip
Merge branch 'master' of https://github.com/netblue30/firejail
-rw-r--r--etc/steam.profile28
-rw-r--r--etc/thunderbird.profile12
-rw-r--r--src/common.mk.in1
3 files changed, 35 insertions, 6 deletions
diff --git a/etc/steam.profile b/etc/steam.profile
index 499d21e6d..c6f0ca145 100644
--- a/etc/steam.profile
+++ b/etc/steam.profile
@@ -36,6 +36,34 @@ include disable-interpreters.inc
36include disable-passwdmgr.inc 36include disable-passwdmgr.inc
37include disable-programs.inc 37include disable-programs.inc
38 38
39mkdir ${HOME}/.killingfloor
40mkdir ${HOME}/.local/share/3909/PapersPlease
41mkdir ${HOME}/.local/share/aspyr-media
42mkdir ${HOME}/.local/share/cdprojektred
43mkdir ${HOME}/.local/share/feral-interactive
44mkdir ${HOME}/.local/share/Steam
45mkdir ${HOME}/.local/share/SuperHexagon
46mkdir ${HOME}/.local/share/Terraria
47mkdir ${HOME}/.local/share/vpltd
48mkdir ${HOME}/.local/share/vulkan
49mkdir ${HOME}/.steam
50mkfile ${HOME}/.steampath
51mkfile ${HOME}/.steampid
52whitelist ${HOME}/.killingfloor
53whitelist ${HOME}/.local/share/3909/PapersPlease
54whitelist ${HOME}/.local/share/aspyr-media
55whitelist ${HOME}/.local/share/cdprojektred
56whitelist ${HOME}/.local/share/feral-interactive
57whitelist ${HOME}/.local/share/Steam
58whitelist ${HOME}/.local/share/SuperHexagon
59whitelist ${HOME}/.local/share/Terraria
60whitelist ${HOME}/.local/share/vpltd
61whitelist ${HOME}/.local/share/vulkan
62whitelist ${HOME}/.steam
63whitelist ${HOME}/.steampath
64whitelist ${HOME}/.steampid
65whitelist ${HOME}/.steampid
66include whitelist-common.inc
39include whitelist-var-common.inc 67include whitelist-var-common.inc
40 68
41caps.drop all 69caps.drop all
diff --git a/etc/thunderbird.profile b/etc/thunderbird.profile
index f6efcf1a4..4193ef963 100644
--- a/etc/thunderbird.profile
+++ b/etc/thunderbird.profile
@@ -17,12 +17,12 @@ writable-run-user
17#whitelist /var/spool/mail 17#whitelist /var/spool/mail
18#writable-var 18#writable-var
19 19
20# Uncomment the next 4 lines or put them in your thunderbird.local to 20# These lines are needed to allow Firefox to load your profile when clicking a link in an email
21# allow Firefox to load your profile when clicking a link in an email 21noblacklist ${HOME}/.cache/mozilla
22#noblacklist ${HOME}/.cache/mozilla 22noblacklist ${HOME}/.mozilla
23#noblacklist ${HOME}/.mozilla 23whitelist ${HOME}/.cache/mozilla/firefox
24#whitelist ${HOME}/.cache/mozilla/firefox 24whitelist ${HOME}/.mozilla/firefox/profiles.ini
25#whitelist ${HOME}/.mozilla 25read-only ${HOME}/.mozilla/firefox/profiles.ini
26 26
27noblacklist ${HOME}/.cache/thunderbird 27noblacklist ${HOME}/.cache/thunderbird
28noblacklist ${HOME}/.gnupg 28noblacklist ${HOME}/.gnupg
diff --git a/src/common.mk.in b/src/common.mk.in
index 945815a40..8104bc258 100644
--- a/src/common.mk.in
+++ b/src/common.mk.in
@@ -31,6 +31,7 @@ C_FILE_LIST = $(sort $(wildcard *.c))
31OBJS = $(C_FILE_LIST:.c=.o) 31OBJS = $(C_FILE_LIST:.c=.o)
32BINOBJS = $(foreach file, $(OBJS), $file) 32BINOBJS = $(foreach file, $(OBJS), $file)
33 33
34CFLAGS = @CFLAGS@
34CFLAGS += -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' $(HAVE_GCOV) 35CFLAGS += -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' $(HAVE_GCOV)
35CFLAGS += -DPREFIX='"$(prefix)"' -DSYSCONFDIR='"$(sysconfdir)/firejail"' -DLIBDIR='"$(libdir)"' -DBINDIR='"$(bindir)"' 36CFLAGS += -DPREFIX='"$(prefix)"' -DSYSCONFDIR='"$(sysconfdir)/firejail"' -DLIBDIR='"$(libdir)"' -DBINDIR='"$(bindir)"'
36CFLAGS += $(HAVE_X11) $(HAVE_PRIVATE_HOME) $(HAVE_APPARMOR) $(HAVE_OVERLAYFS) $(HAVE_FIRETUNNEL) $(HAVE_SECCOMP) $(HAVE_GLOBALCFG) $(HAVE_SECCOMP_H) $(HAVE_CHROOT) $(HAVE_NETWORK) $(HAVE_USERNS) $(HAVE_FILE_TRANSFER) $(HAVE_WHITELIST) $(HAVE_SELINUX) 37CFLAGS += $(HAVE_X11) $(HAVE_PRIVATE_HOME) $(HAVE_APPARMOR) $(HAVE_OVERLAYFS) $(HAVE_FIRETUNNEL) $(HAVE_SECCOMP) $(HAVE_GLOBALCFG) $(HAVE_SECCOMP_H) $(HAVE_CHROOT) $(HAVE_NETWORK) $(HAVE_USERNS) $(HAVE_FILE_TRANSFER) $(HAVE_WHITELIST) $(HAVE_SELINUX)