aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tad <tad@spotco.us>2018-07-24 21:29:15 -0400
committerLibravatar Tad <tad@spotco.us>2018-07-24 21:29:15 -0400
commita063ddc59e0eb5f61263af984b9a7478924cd2f2 (patch)
tree646de78ebf19105a328035a716bbc1f8c5ba6f3d
parentFew disable-xdg.inc fixes (diff)
downloadfirejail-a063ddc59e0eb5f61263af984b9a7478924cd2f2.tar.gz
firejail-a063ddc59e0eb5f61263af984b9a7478924cd2f2.tar.zst
firejail-a063ddc59e0eb5f61263af984b9a7478924cd2f2.zip
Add profile for patch and shellcheck
-rw-r--r--README.md3
-rw-r--r--RELNOTES2
-rw-r--r--etc/patch.profile39
-rw-r--r--etc/shellcheck.profile39
-rw-r--r--src/firecfg/firecfg.config2
5 files changed, 83 insertions, 2 deletions
diff --git a/README.md b/README.md
index fd7d87ecd..9e408ffb2 100644
--- a/README.md
+++ b/README.md
@@ -165,4 +165,5 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe
165````` 165`````
166 166
167## New profiles 167## New profiles
168Microsoft Office Online, riot-desktop, gnome-mpv, snox, gradio, standardnotes-desktop 168Microsoft Office Online, riot-desktop, gnome-mpv, snox, gradio, standardnotes-desktop,
169shellcheck, patch
diff --git a/RELNOTES b/RELNOTES
index f91ce203b..e6536ef73 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -11,7 +11,7 @@ firejail (0.9.55) baseline; urgency=low
11 * globbing support in private-lib 11 * globbing support in private-lib
12 * new profiles: ms-excel, ms-office, ms-onenote, ms-outlook, ms-powerpoint 12 * new profiles: ms-excel, ms-office, ms-onenote, ms-outlook, ms-powerpoint
13 * new profiles: ms-skype, ms-word, riot-desktop, gnome-mpv, snox, gradio 13 * new profiles: ms-skype, ms-word, riot-desktop, gnome-mpv, snox, gradio
14 * new profiles: standardnotes-desktop 14 * new profiles: standardnotes-desktop, shellcheck, patch
15 -- netblue30 <netblue30@yahoo.com> Fri, 25 May 2018 08:00:00 -0500 15 -- netblue30 <netblue30@yahoo.com> Fri, 25 May 2018 08:00:00 -0500
16 16
17firejail (0.9.54) baseline; urgency=low 17firejail (0.9.54) baseline; urgency=low
diff --git a/etc/patch.profile b/etc/patch.profile
new file mode 100644
index 000000000..3e8045bd4
--- /dev/null
+++ b/etc/patch.profile
@@ -0,0 +1,39 @@
1# Firejail profile for patch
2# This file is overwritten after every install/update
3quiet
4# Persistent local customizations
5include /etc/firejail/patch.local
6# Persistent global definitions
7include /etc/firejail/globals.local
8
9noblacklist ${DOCUMENTS}
10
11include /etc/firejail/disable-common.inc
12include /etc/firejail/disable-devel.inc
13include /etc/firejail/disable-interpreters.inc
14include /etc/firejail/disable-passwdmgr.inc
15include /etc/firejail/disable-xdg.inc
16
17caps.drop all
18ipc-namespace
19net none
20no3d
21nodbus
22nodvd
23nogroups
24nonewprivs
25noroot
26nosound
27notv
28novideo
29protocol unix
30seccomp
31shell none
32
33private-bin patch,red
34private-dev
35private-lib
36
37memory-deny-write-execute
38noexec ${HOME}
39noexec /tmp
diff --git a/etc/shellcheck.profile b/etc/shellcheck.profile
new file mode 100644
index 000000000..6827b0baf
--- /dev/null
+++ b/etc/shellcheck.profile
@@ -0,0 +1,39 @@
1# Firejail profile for shellcheck
2# This file is overwritten after every install/update
3quiet
4# Persistent local customizations
5include /etc/firejail/shellcheck.local
6# Persistent global definitions
7include /etc/firejail/globals.local
8
9noblacklist ${DOCUMENTS}
10
11include /etc/firejail/disable-common.inc
12include /etc/firejail/disable-devel.inc
13include /etc/firejail/disable-interpreters.inc
14include /etc/firejail/disable-passwdmgr.inc
15include /etc/firejail/disable-programs.inc
16include /etc/firejail/disable-xdg.inc
17
18caps.drop all
19ipc-namespace
20net none
21no3d
22nodbus
23nodvd
24nogroups
25nonewprivs
26noroot
27nosound
28notv
29novideo
30protocol unix
31seccomp
32shell none
33
34private-dev
35private-tmp
36
37memory-deny-write-execute
38noexec ${HOME}
39noexec /tmp
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 2c7e21813..44ff7a5c8 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -306,6 +306,7 @@ opera-beta
306orage 306orage
307palemoon 307palemoon
308parole 308parole
309patch
309pdfchain 310pdfchain
310pdfmod 311pdfmod
311pdfsam 312pdfsam
@@ -354,6 +355,7 @@ scribus
354sdat2img 355sdat2img
355seamonkey 356seamonkey
356seamonkey-bin 357seamonkey-bin
358shellcheck
357shotcut 359shotcut
358signal-desktop 360signal-desktop
359silentarmy 361silentarmy