aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/allow-common-devel.inc5
-rw-r--r--etc/inc/disable-programs.inc1
-rw-r--r--etc/profile-a-l/cmake.profile9
-rw-r--r--etc/profile-m-z/ocenaudio.profile33
-rw-r--r--etc/profile-m-z/pip.profile5
5 files changed, 36 insertions, 17 deletions
diff --git a/etc/inc/allow-common-devel.inc b/etc/inc/allow-common-devel.inc
index 4e460fc10..9576239f3 100644
--- a/etc/inc/allow-common-devel.inc
+++ b/etc/inc/allow-common-devel.inc
@@ -8,8 +8,13 @@ noblacklist ${HOME}/.gitconfig
8noblacklist ${HOME}/.git-credentials 8noblacklist ${HOME}/.git-credentials
9 9
10# Java 10# Java
11noblacklist ${HOME}/.ammonite
12noblacklist ${HOME}/.config/jgit
13noblacklist ${HOME}/.g8
11noblacklist ${HOME}/.gradle 14noblacklist ${HOME}/.gradle
15noblacklist ${HOME}/.ivy2
12noblacklist ${HOME}/.java 16noblacklist ${HOME}/.java
17noblacklist ${HOME}/.sbt
13 18
14# Node.js 19# Node.js
15noblacklist ${HOME}/.node-gyp 20noblacklist ${HOME}/.node-gyp
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc
index fcd385cae..efe1b2572 100644
--- a/etc/inc/disable-programs.inc
+++ b/etc/inc/disable-programs.inc
@@ -175,6 +175,7 @@ blacklist ${HOME}/.cache/mypaint
175blacklist ${HOME}/.cache/netsurf 175blacklist ${HOME}/.cache/netsurf
176blacklist ${HOME}/.cache/nheko 176blacklist ${HOME}/.cache/nheko
177blacklist ${HOME}/.cache/nvim 177blacklist ${HOME}/.cache/nvim
178blacklist ${HOME}/.cache/ocenaudio
178blacklist ${HOME}/.cache/okular 179blacklist ${HOME}/.cache/okular
179blacklist ${HOME}/.cache/opera 180blacklist ${HOME}/.cache/opera
180blacklist ${HOME}/.cache/opera-beta 181blacklist ${HOME}/.cache/opera-beta
diff --git a/etc/profile-a-l/cmake.profile b/etc/profile-a-l/cmake.profile
index 26cc2a00a..acc03e93f 100644
--- a/etc/profile-a-l/cmake.profile
+++ b/etc/profile-a-l/cmake.profile
@@ -1,12 +1,15 @@
1# Firejail profile for cargo 1# Firejail profile for cmake
2# Description: The Rust package manager 2# Description: A cross-platform open-source make system
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4quiet 4quiet
5# Persistent local customizations 5# Persistent local customizations
6include cargo.local 6include cmake.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10whitelist /usr/share/cmake
11whitelist /usr/share/cmake-*
12
10memory-deny-write-execute 13memory-deny-write-execute
11 14
12# Redirect 15# Redirect
diff --git a/etc/profile-m-z/ocenaudio.profile b/etc/profile-m-z/ocenaudio.profile
index 0bfb35333..080b4c92b 100644
--- a/etc/profile-m-z/ocenaudio.profile
+++ b/etc/profile-m-z/ocenaudio.profile
@@ -6,8 +6,9 @@ include ocenaudio.local
6# Persistent global definitions 6# Persistent global definitions
7include globals.local 7include globals.local
8 8
9noblacklist ${HOME}/.cache/ocenaudio
9noblacklist ${HOME}/.local/share/ocenaudio 10noblacklist ${HOME}/.local/share/ocenaudio
10noblacklist ${DOCUMENTS} 11
11noblacklist ${MUSIC} 12noblacklist ${MUSIC}
12 13
13include disable-common.inc 14include disable-common.inc
@@ -18,38 +19,44 @@ include disable-programs.inc
18include disable-shell.inc 19include disable-shell.inc
19include disable-xdg.inc 20include disable-xdg.inc
20 21
22mkdir ${HOME}/.cache/ocenaudio
23mkdir ${HOME}/.local/share/ocenaudio
24whitelist ${HOME}/.cache/ocenaudio
25whitelist ${HOME}/.local/share/ocenaudio
26whitelist ${DOWNLOADS}
27whitelist ${MUSIC}
28include whitelist-common.inc
29include whitelist-run-common.inc
30include whitelist-runuser-common.inc
21include whitelist-usr-share-common.inc 31include whitelist-usr-share-common.inc
22include whitelist-var-common.inc 32include whitelist-var-common.inc
23 33
24apparmor 34apparmor
25caps.drop all 35caps.drop all
26ipc-namespace 36#ipc-namespace
27# net none - breaks update functionality and AppArmor on Ubuntu systems
28# Add 'net none' to your ocenaudio.local when you want that functionality.
29#net none
30netfilter 37netfilter
31no3d 38no3d
32nodvd 39nodvd
33nogroups 40nogroups
34noinput 41noinput
35nonewprivs 42nonewprivs
43noprinters
36noroot 44noroot
37notv 45notv
38nou2f 46nou2f
39novideo 47novideo
40protocol unix 48# Add `protocol unix\nignore protocol` to your ocenaudio.local to disable networking.
49protocol unix,inet,inet6
41seccomp 50seccomp
42shell none 51shell none
43tracelog 52tracelog
44 53
45private-bin ocenaudio 54private-bin ocenaudio,ocenvst
46private-cache 55private-cache
47private-dev 56private-dev
48private-etc alternatives,asound.conf,fonts,ld.so.cache,ld.so.preload,pulse 57private-etc alternatives,asound.conf,ca-certificates,crypto-policies,dconf,fonts,group,gtk-2.0,gtk-3.0,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,mime.types,nsswitch.conf,pki,pulse,resolv.conf,ssl,X11,xdg
58private-opt ocenaudio
49private-tmp 59private-tmp
50 60
51# breaks preferences 61dbus-user none
52# dbus-user none 62dbus-system none
53# dbus-system none
54
55#memory-deny-write-execute - breaks on Arch (see issue #1803)
diff --git a/etc/profile-m-z/pip.profile b/etc/profile-m-z/pip.profile
index a0926371f..560957d47 100644
--- a/etc/profile-m-z/pip.profile
+++ b/etc/profile-m-z/pip.profile
@@ -3,7 +3,7 @@
3# This file is overwritten after every install/update 3# This file is overwritten after every install/update
4quiet 4quiet
5# Persistent local customizations 5# Persistent local customizations
6include meson.local 6include pip.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
@@ -12,6 +12,9 @@ ignore read-only ${HOME}/.local/lib
12# Allow python3 (blacklisted by disable-interpreters.inc) 12# Allow python3 (blacklisted by disable-interpreters.inc)
13include allow-python3.inc 13include allow-python3.inc
14 14
15noblacklist ${HOME}/.cache/pip
16
17#whitelist ${HOME}/.cache/pip
15#whitelist ${HOME}/.local/lib/python* 18#whitelist ${HOME}/.local/lib/python*
16 19
17# Redirect 20# Redirect