aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-10-25 22:37:31 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-10-27 16:40:39 -0300
commit98e34c444bcf5f826aa7bea9a50acbb475b88f8c (patch)
tree2cd861e0fe923723c57ae3387d6b3d7a3894e3a4 /etc/profile-m-z
parentsort.py: fix missing/duplicated commands in usage (diff)
downloadfirejail-98e34c444bcf5f826aa7bea9a50acbb475b88f8c.tar.gz
firejail-98e34c444bcf5f826aa7bea9a50acbb475b88f8c.tar.zst
firejail-98e34c444bcf5f826aa7bea9a50acbb475b88f8c.zip
build: sort.py: use case-sensitive sorting
To match how things are sorted elsewhere, such as with `noblacklist` / `whitelist` lines (vertically) in profiles and in ci/check/profiles/sort-disable-programs.sh and src/etc-cleanup/main.c. This makes the order in `private-etc` always be groups (`@group`), then uppercase paths, then lowercase paths. Example from etc/profile-m-z/softmaker-common.profile: private-etc @tls-ca,SoftMaker,fstab Note that this does not affect a significant amount of profiles; most changes are in `private-bin` / `private-lib` lines and in `private-etc` lines for newer profiles that do not use groups. This is partly due to commit 5d0822c52 ("private-etc: big profile changes", 2023-02-05) replacing `X11` with `@x11` in `private-etc` lines and then commit 0f996ea4d ("private-etc: groups modified", 2023-02-05) removing `Trolltech.conf` from `private-etc` lines and using case-sensitive sorting in them. Relates to #5610.
Diffstat (limited to 'etc/profile-m-z')
-rw-r--r--etc/profile-m-z/QMediathekView.profile2
-rw-r--r--etc/profile-m-z/QOwnNotes.profile2
-rw-r--r--etc/profile-m-z/Viber.profile2
-rw-r--r--etc/profile-m-z/XMind.profile2
-rw-r--r--etc/profile-m-z/mov-cli.profile2
-rw-r--r--etc/profile-m-z/mutt.profile2
-rw-r--r--etc/profile-m-z/natron.profile2
-rw-r--r--etc/profile-m-z/neomutt.profile2
-rw-r--r--etc/profile-m-z/postman.profile2
-rw-r--r--etc/profile-m-z/ppsspp.profile2
-rw-r--r--etc/profile-m-z/softmaker-common.profile2
-rw-r--r--etc/profile-m-z/telegram.profile2
-rw-r--r--etc/profile-m-z/transgui.profile2
13 files changed, 13 insertions, 13 deletions
diff --git a/etc/profile-m-z/QMediathekView.profile b/etc/profile-m-z/QMediathekView.profile
index dd5639268..853b6ae52 100644
--- a/etc/profile-m-z/QMediathekView.profile
+++ b/etc/profile-m-z/QMediathekView.profile
@@ -72,7 +72,7 @@ seccomp
72tracelog 72tracelog
73 73
74disable-mnt 74disable-mnt
75private-bin mplayer,mpv,QMediathekView,smplayer,totem,vlc,xplayer 75private-bin QMediathekView,mplayer,mpv,smplayer,totem,vlc,xplayer
76private-cache 76private-cache
77private-dev 77private-dev
78private-etc @tls-ca 78private-etc @tls-ca
diff --git a/etc/profile-m-z/QOwnNotes.profile b/etc/profile-m-z/QOwnNotes.profile
index eed839041..e7dba9cd5 100644
--- a/etc/profile-m-z/QOwnNotes.profile
+++ b/etc/profile-m-z/QOwnNotes.profile
@@ -47,7 +47,7 @@ seccomp
47tracelog 47tracelog
48 48
49disable-mnt 49disable-mnt
50private-bin gio,QOwnNotes 50private-bin QOwnNotes,gio
51private-dev 51private-dev
52private-etc @tls-ca,host.conf 52private-etc @tls-ca,host.conf
53private-tmp 53private-tmp
diff --git a/etc/profile-m-z/Viber.profile b/etc/profile-m-z/Viber.profile
index fe1f9b877..ea7d8bfa7 100644
--- a/etc/profile-m-z/Viber.profile
+++ b/etc/profile-m-z/Viber.profile
@@ -31,7 +31,7 @@ protocol unix,inet,inet6
31seccomp !chroot 31seccomp !chroot
32 32
33disable-mnt 33disable-mnt
34private-bin awk,bash,dig,sh,Viber 34private-bin Viber,awk,bash,dig,sh
35private-etc @tls-ca,@x11,mailcap,proxychains.conf 35private-etc @tls-ca,@x11,mailcap,proxychains.conf
36private-tmp 36private-tmp
37 37
diff --git a/etc/profile-m-z/XMind.profile b/etc/profile-m-z/XMind.profile
index 97b9d2898..5b8747825 100644
--- a/etc/profile-m-z/XMind.profile
+++ b/etc/profile-m-z/XMind.profile
@@ -31,7 +31,7 @@ protocol unix,inet,inet6
31seccomp 31seccomp
32 32
33disable-mnt 33disable-mnt
34private-bin cp,sh,XMind 34private-bin XMind,cp,sh
35private-tmp 35private-tmp
36private-dev 36private-dev
37 37
diff --git a/etc/profile-m-z/mov-cli.profile b/etc/profile-m-z/mov-cli.profile
index 8007b887a..1efd1e8f9 100644
--- a/etc/profile-m-z/mov-cli.profile
+++ b/etc/profile-m-z/mov-cli.profile
@@ -26,7 +26,7 @@ notv
26disable-mnt 26disable-mnt
27private-bin ffmpeg,fzf,mov-cli 27private-bin ffmpeg,fzf,mov-cli
28#private-cache 28#private-cache
29private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,magic,magic.mgc,mime.types,nsswitch.conf,pango,passwd,pki,protocols,pulse,resolv.conf,rpc,services,ssl,X11,xdg 29private-etc X11,alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,group,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,localtime,machine-id,magic,magic.mgc,mime.types,nsswitch.conf,pango,passwd,pki,protocols,pulse,resolv.conf,rpc,services,ssl,xdg
30private-tmp 30private-tmp
31 31
32# Redirect 32# Redirect
diff --git a/etc/profile-m-z/mutt.profile b/etc/profile-m-z/mutt.profile
index ab1e0ab02..097ce6e83 100644
--- a/etc/profile-m-z/mutt.profile
+++ b/etc/profile-m-z/mutt.profile
@@ -127,7 +127,7 @@ tracelog
127#disable-mnt 127#disable-mnt
128private-cache 128private-cache
129private-dev 129private-dev
130private-etc @tls-ca,@x11,msmtprc,Mutt,Muttrc,Muttrc.d,gai.conf,gnupg,gnutls,hosts.conf,mail,mailname,nntpserver,terminfo 130private-etc @tls-ca,@x11,Mutt,Muttrc,Muttrc.d,gai.conf,gnupg,gnutls,hosts.conf,mail,mailname,msmtprc,nntpserver,terminfo
131private-tmp 131private-tmp
132writable-run-user 132writable-run-user
133writable-var 133writable-var
diff --git a/etc/profile-m-z/natron.profile b/etc/profile-m-z/natron.profile
index b979e1aee..30dd164b6 100644
--- a/etc/profile-m-z/natron.profile
+++ b/etc/profile-m-z/natron.profile
@@ -30,7 +30,7 @@ nou2f
30protocol unix 30protocol unix
31seccomp 31seccomp
32 32
33private-bin natron,Natron,NatronRenderer 33private-bin Natron,NatronRenderer,natron
34 34
35dbus-user none 35dbus-user none
36dbus-system none 36dbus-system none
diff --git a/etc/profile-m-z/neomutt.profile b/etc/profile-m-z/neomutt.profile
index b15e98424..51e2e43bf 100644
--- a/etc/profile-m-z/neomutt.profile
+++ b/etc/profile-m-z/neomutt.profile
@@ -119,7 +119,7 @@ tracelog
119#disable-mnt 119#disable-mnt
120private-cache 120private-cache
121private-dev 121private-dev
122private-etc @tls-ca,@x11,msmtprc,Mutt,Muttrc,Muttrc.d,gnupg,hosts.conf,mail,mailname,neomuttrc,neomuttrc.d,nntpserver 122private-etc @tls-ca,@x11,Mutt,Muttrc,Muttrc.d,gnupg,hosts.conf,mail,mailname,msmtprc,neomuttrc,neomuttrc.d,nntpserver
123private-tmp 123private-tmp
124writable-run-user 124writable-run-user
125writable-var 125writable-var
diff --git a/etc/profile-m-z/postman.profile b/etc/profile-m-z/postman.profile
index c8f00584d..a74b72695 100644
--- a/etc/profile-m-z/postman.profile
+++ b/etc/profile-m-z/postman.profile
@@ -17,7 +17,7 @@ include whitelist-run-common.inc
17 17
18protocol unix,inet,inet6,netlink 18protocol unix,inet,inet6,netlink
19 19
20private-bin electron,electron[0-9],electron[0-9][0-9],locale,node,Postman,postman,sh 20private-bin Postman,electron,electron[0-9],electron[0-9][0-9],locale,node,postman,sh
21private-etc alternatives,ca-certificates,crypto-policies,fonts,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,nsswitch.conf,pki,resolv.conf,ssl 21private-etc alternatives,ca-certificates,crypto-policies,fonts,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,localtime,nsswitch.conf,pki,resolv.conf,ssl
22# private-opt breaks file-copy-limit, use a whitelist instead of draining RAM 22# private-opt breaks file-copy-limit, use a whitelist instead of draining RAM
23# https://github.com/netblue30/firejail/discussions/5307 23# https://github.com/netblue30/firejail/discussions/5307
diff --git a/etc/profile-m-z/ppsspp.profile b/etc/profile-m-z/ppsspp.profile
index da16ae912..5ae6ccf04 100644
--- a/etc/profile-m-z/ppsspp.profile
+++ b/etc/profile-m-z/ppsspp.profile
@@ -39,7 +39,7 @@ novideo
39protocol unix,netlink 39protocol unix,netlink
40seccomp 40seccomp
41 41
42private-bin ppsspp,PPSSPP,PPSSPPQt,PPSSPPSDL 42private-bin PPSSPP,PPSSPPQt,PPSSPPSDL,ppsspp
43# Add the next line to your ppsspp.local if you do not need controller support. 43# Add the next line to your ppsspp.local if you do not need controller support.
44#private-dev 44#private-dev
45private-etc @tls-ca,@x11,host.conf 45private-etc @tls-ca,@x11,host.conf
diff --git a/etc/profile-m-z/softmaker-common.profile b/etc/profile-m-z/softmaker-common.profile
index 7ce6748d1..3a3a9062e 100644
--- a/etc/profile-m-z/softmaker-common.profile
+++ b/etc/profile-m-z/softmaker-common.profile
@@ -42,7 +42,7 @@ tracelog
42private-bin freeoffice-planmaker,freeoffice-presentations,freeoffice-textmaker,planmaker18,planmaker18free,presentations18,presentations18free,sh,textmaker18,textmaker18free 42private-bin freeoffice-planmaker,freeoffice-presentations,freeoffice-textmaker,planmaker18,planmaker18free,presentations18,presentations18free,sh,textmaker18,textmaker18free
43private-cache 43private-cache
44private-dev 44private-dev
45private-etc @tls-ca,fstab,SoftMaker 45private-etc @tls-ca,SoftMaker,fstab
46private-tmp 46private-tmp
47 47
48dbus-user none 48dbus-user none
diff --git a/etc/profile-m-z/telegram.profile b/etc/profile-m-z/telegram.profile
index fa992ad1a..7ed3d98d4 100644
--- a/etc/profile-m-z/telegram.profile
+++ b/etc/profile-m-z/telegram.profile
@@ -46,7 +46,7 @@ seccomp
46seccomp.block-secondary 46seccomp.block-secondary
47 47
48disable-mnt 48disable-mnt
49private-bin bash,sh,telegram,Telegram,telegram-desktop,xdg-open 49private-bin Telegram,bash,sh,telegram,telegram-desktop,xdg-open
50private-cache 50private-cache
51private-dev 51private-dev
52private-etc @tls-ca,@x11,os-release 52private-etc @tls-ca,@x11,os-release
diff --git a/etc/profile-m-z/transgui.profile b/etc/profile-m-z/transgui.profile
index 9f1f1c241..bac48805c 100644
--- a/etc/profile-m-z/transgui.profile
+++ b/etc/profile-m-z/transgui.profile
@@ -49,7 +49,7 @@ private-bin geoiplookup,geoiplookup6,transgui
49private-cache 49private-cache
50private-dev 50private-dev
51private-etc @network,@tls-ca,@x11 51private-etc @network,@tls-ca,@x11
52private-lib libgdk_pixbuf-2.0.so.*,libGeoIP.so*,libgthread-2.0.so.*,libgtk-x11-2.0.so.*,libX11.so.* 52private-lib libGeoIP.so*,libX11.so.*,libgdk_pixbuf-2.0.so.*,libgthread-2.0.so.*,libgtk-x11-2.0.so.*
53private-tmp 53private-tmp
54 54
55dbus-user none 55dbus-user none