aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile-a-l')
-rw-r--r--etc/profile-a-l/7z.profile4
-rw-r--r--etc/profile-a-l/ar.profile2
-rw-r--r--etc/profile-a-l/archiver-common.profile57
-rw-r--r--etc/profile-a-l/atool.profile2
-rw-r--r--etc/profile-a-l/bsdtar.profile2
-rw-r--r--etc/profile-a-l/chromium-common-hardened.profile9
-rw-r--r--etc/profile-a-l/chromium-common.profile2
-rw-r--r--etc/profile-a-l/cpio.profile2
-rw-r--r--etc/profile-a-l/electron.profile2
-rw-r--r--etc/profile-a-l/feh-network.profile8
-rw-r--r--etc/profile-a-l/feh.profile2
-rw-r--r--etc/profile-a-l/gzip.profile2
12 files changed, 84 insertions, 10 deletions
diff --git a/etc/profile-a-l/7z.profile b/etc/profile-a-l/7z.profile
index b2294c070..0d31255ad 100644
--- a/etc/profile-a-l/7z.profile
+++ b/etc/profile-a-l/7z.profile
@@ -7,8 +7,8 @@ include 7z.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10# Included in archiver-common.inc 10# Included in archiver-common.profile
11ignore include disable-shell.inc 11ignore include disable-shell.inc
12 12
13# Redirect 13# Redirect
14include archiver-common.inc 14include archiver-common.profile
diff --git a/etc/profile-a-l/ar.profile b/etc/profile-a-l/ar.profile
index f99934e66..5a20a8181 100644
--- a/etc/profile-a-l/ar.profile
+++ b/etc/profile-a-l/ar.profile
@@ -8,4 +8,4 @@ include ar.local
8include globals.local 8include globals.local
9 9
10# Redirect 10# Redirect
11include archiver-common.inc 11include archiver-common.profile
diff --git a/etc/profile-a-l/archiver-common.profile b/etc/profile-a-l/archiver-common.profile
new file mode 100644
index 000000000..74b0b6ef6
--- /dev/null
+++ b/etc/profile-a-l/archiver-common.profile
@@ -0,0 +1,57 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include archiver-common.local
4
5# common profile for archiver/compression tools
6
7blacklist ${RUNUSER}
8
9# WARNING: Users can (un)restrict file access for **all** archivers by
10# commenting/uncommenting the needed include file(s) here or by putting those
11# into archiver-common.local.
12#
13# Another option is to do this **per archiver** in the relevant
14# <archiver>.local. Just beware that things tend to break when overtightening
15# profiles. For example, because you only need to (un)compress files in
16# ${DOWNLOADS}, other applications may need access to ${HOME}/.local/share.
17
18# Uncomment the next line (or put it into your archiver-common.local) if you
19# don't need to compress files in disable-common.inc.
20#include disable-common.inc
21include disable-devel.inc
22include disable-exec.inc
23include disable-interpreters.inc
24include disable-passwdmgr.inc
25# Uncomment the next line (or put it into your archiver-common.local) if you
26# don't need to compress files in disable-programs.inc.
27#include disable-programs.inc
28include disable-shell.inc
29
30apparmor
31caps.drop all
32hostname archiver
33ipc-namespace
34machine-id
35net none
36no3d
37nodvd
38nogroups
39nonewprivs
40#noroot
41nosound
42notv
43nou2f
44novideo
45protocol unix
46seccomp
47shell none
48tracelog
49x11 none
50
51private-cache
52private-dev
53
54dbus-user none
55dbus-system none
56
57memory-deny-write-execute
diff --git a/etc/profile-a-l/atool.profile b/etc/profile-a-l/atool.profile
index 6e0ecb012..e377de2c8 100644
--- a/etc/profile-a-l/atool.profile
+++ b/etc/profile-a-l/atool.profile
@@ -17,4 +17,4 @@ private-etc alternatives,group,login.defs,passwd
17private-tmp 17private-tmp
18 18
19# Redirect 19# Redirect
20include archiver-common.inc 20include archiver-common.profile
diff --git a/etc/profile-a-l/bsdtar.profile b/etc/profile-a-l/bsdtar.profile
index fb4f643c8..d731a6a6e 100644
--- a/etc/profile-a-l/bsdtar.profile
+++ b/etc/profile-a-l/bsdtar.profile
@@ -9,4 +9,4 @@ include globals.local
9private-etc alternatives,group,localtime,passwd 9private-etc alternatives,group,localtime,passwd
10 10
11# Redirect 11# Redirect
12include archiver-common.inc 12include archiver-common.profile
diff --git a/etc/profile-a-l/chromium-common-hardened.profile b/etc/profile-a-l/chromium-common-hardened.profile
new file mode 100644
index 000000000..d756eec50
--- /dev/null
+++ b/etc/profile-a-l/chromium-common-hardened.profile
@@ -0,0 +1,9 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include chromium-common-hardened.local
4
5caps.drop all
6nonewprivs
7noroot
8protocol unix,inet,inet6,netlink
9seccomp !chroot
diff --git a/etc/profile-a-l/chromium-common.profile b/etc/profile-a-l/chromium-common.profile
index 1afb2c6e1..b81b1cb36 100644
--- a/etc/profile-a-l/chromium-common.profile
+++ b/etc/profile-a-l/chromium-common.profile
@@ -32,7 +32,7 @@ include whitelist-var-common.inc
32 32
33# Uncomment the next line (or add it to your chromium-common.local) 33# Uncomment the next line (or add it to your chromium-common.local)
34# if your kernel allows unprivileged userns clone. 34# if your kernel allows unprivileged userns clone.
35#include chromium-common-hardened.inc 35#include chromium-common-hardened.profile
36 36
37# Uncomment or put in your chromium-common.local to allow screen sharing under 37# Uncomment or put in your chromium-common.local to allow screen sharing under
38# wayland. 38# wayland.
diff --git a/etc/profile-a-l/cpio.profile b/etc/profile-a-l/cpio.profile
index 0e0299655..bdc4f21a6 100644
--- a/etc/profile-a-l/cpio.profile
+++ b/etc/profile-a-l/cpio.profile
@@ -11,4 +11,4 @@ noblacklist /sbin
11noblacklist /usr/sbin 11noblacklist /usr/sbin
12 12
13# Redirect 13# Redirect
14include archiver-common.inc 14include archiver-common.profile
diff --git a/etc/profile-a-l/electron.profile b/etc/profile-a-l/electron.profile
index d3be07c9d..691616393 100644
--- a/etc/profile-a-l/electron.profile
+++ b/etc/profile-a-l/electron.profile
@@ -20,7 +20,7 @@ include whitelist-var-common.inc
20 20
21# Uncomment the next line (or add it to your chromium-common.local) 21# Uncomment the next line (or add it to your chromium-common.local)
22# if your kernel allows unprivileged userns clone. 22# if your kernel allows unprivileged userns clone.
23#include chromium-common-hardened.inc 23#include chromium-common-hardened.profile
24 24
25apparmor 25apparmor
26caps.keep sys_admin,sys_chroot 26caps.keep sys_admin,sys_chroot
diff --git a/etc/profile-a-l/feh-network.profile b/etc/profile-a-l/feh-network.profile
new file mode 100644
index 000000000..f35facd64
--- /dev/null
+++ b/etc/profile-a-l/feh-network.profile
@@ -0,0 +1,8 @@
1# This file is overwritten during software install.
2# Persistent customizations should go in a .local file.
3include feh-network.local
4
5ignore net none
6netfilter
7protocol unix,inet,inet6
8private-etc ca-certificates,crypto-policies,hosts,pki,resolv.conf,ssl
diff --git a/etc/profile-a-l/feh.profile b/etc/profile-a-l/feh.profile
index 8ac7755de..6d6287f7f 100644
--- a/etc/profile-a-l/feh.profile
+++ b/etc/profile-a-l/feh.profile
@@ -18,7 +18,7 @@ include disable-shell.inc
18# This profile disables network access 18# This profile disables network access
19# In order to enable network access, 19# In order to enable network access,
20# uncomment the following or put it in your feh.local: 20# uncomment the following or put it in your feh.local:
21# include feh-network.inc 21# include feh-network.profile
22 22
23caps.drop all 23caps.drop all
24net none 24net none
diff --git a/etc/profile-a-l/gzip.profile b/etc/profile-a-l/gzip.profile
index 035c6459c..b261c16f4 100644
--- a/etc/profile-a-l/gzip.profile
+++ b/etc/profile-a-l/gzip.profile
@@ -12,4 +12,4 @@ include globals.local
12noblacklist /var/lib/pacman 12noblacklist /var/lib/pacman
13 13
14# Redirect 14# Redirect
15include archiver-common.inc 15include archiver-common.profile