summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2019-03-02 05:06:12 +0000
committerLibravatar GitHub <noreply@github.com>2019-03-02 05:06:12 +0000
commit37dc45e5d1df5c8fdca79dd89e39a03d08d3c9aa (patch)
treebe7bddf1240fe364cc38f4e977d85093bbf33748 /etc
parentAdd new profile for simplescreenrecorder (#2500) (diff)
downloadfirejail-37dc45e5d1df5c8fdca79dd89e39a03d08d3c9aa.tar.gz
firejail-37dc45e5d1df5c8fdca79dd89e39a03d08d3c9aa.tar.zst
firejail-37dc45e5d1df5c8fdca79dd89e39a03d08d3c9aa.zip
Add new profile for sysprof (#2501)
* Create sysprof.profile * Create sysprof-cli.profile * Add sysprof to firecfg
Diffstat (limited to 'etc')
-rw-r--r--etc/sysprof-cli.profile18
-rw-r--r--etc/sysprof.profile47
2 files changed, 65 insertions, 0 deletions
diff --git a/etc/sysprof-cli.profile b/etc/sysprof-cli.profile
new file mode 100644
index 000000000..28d279d77
--- /dev/null
+++ b/etc/sysprof-cli.profile
@@ -0,0 +1,18 @@
1# Firejail profile for sysprof-cli
2# Description: Kernel based performance profiler (CLI)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include sysprof-cli.local
6# Persistent global definitions
7# added by included profile
8#include globals.local
9
10nodbus
11
12# There is no GUI help menu to break in the CLI version
13private-bin sysprof-cli
14private-lib
15
16
17# Redirect
18include sysprof.profile
diff --git a/etc/sysprof.profile b/etc/sysprof.profile
new file mode 100644
index 000000000..a3135d001
--- /dev/null
+++ b/etc/sysprof.profile
@@ -0,0 +1,47 @@
1# Firejail profile for sysprof
2# Description: Kernel based performance profiler (GUI)
3# This file is overwritten after every install/update
4# Persistent local customizations
5include sysprof.local
6# Persistent global definitions
7include globals.local
8
9include disable-common.inc
10include disable-devel.inc
11include disable-interpreters.inc
12include disable-passwdmgr.inc
13include disable-programs.inc
14include disable-xdg.inc
15
16apparmor
17caps.drop all
18ipc-namespace
19machine-id
20net none
21no3d
22# nodbus - makes settings immutable
23nodvd
24nogroups
25nonewprivs
26# Ubuntu 16.04 version needs root privileges - uncomment if you don't use that
27#noroot
28nosound
29notv
30nou2f
31novideo
32protocol unix,netlink
33shell none
34tracelog
35
36disable-mnt
37#private-bin sysprof - breaks GUI help menu
38private-cache
39private-dev
40private-etc alternatives,fonts,ld.so.cache,machine-id,ssl
41# private-lib breaks GUI help menu
42#private-lib gdk-pixbuf-2.*,gio,gtk3,gvfs/libgvfscommon.so,libgconf-2.so.*,librsvg-2.so.*,libsysprof-2.so,libsysprof-ui-2.so
43private-tmp
44
45memory-deny-write-execute
46noexec ${HOME}
47noexec /tmp