aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/sysprof-cli.profile18
-rw-r--r--etc/sysprof.profile47
-rw-r--r--src/firecfg/firecfg.config1
3 files changed, 66 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
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index a417afa68..9a3823030 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -435,6 +435,7 @@ supertuxkart
435surf 435surf
436sylpheed 436sylpheed
437synfigstudio 437synfigstudio
438sysprof
438teamspeak3 439teamspeak3
439telegram 440telegram
440telegram-desktop 441telegram-desktop