mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Command:
sed -i -E "s/^private-etc /private-etc ld.so.preload,/" \
$(grep -LE "^private-etc .*ld.so.preload" etc/profile-*/*) \
&& python3 contrib/sort.py etc/profile-*/*
54 lines
1.4 KiB
Text
54 lines
1.4 KiB
Text
# Firejail profile for falkon
|
|
# Description: Lightweight web browser based on Qt WebEngine
|
|
# This file is overwritten after every install/update
|
|
# Persistent local customizations
|
|
include falkon.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist ${HOME}/.cache/falkon
|
|
noblacklist ${HOME}/.config/falkon
|
|
|
|
include disable-common.inc
|
|
include disable-devel.inc
|
|
include disable-exec.inc
|
|
include disable-interpreters.inc
|
|
include disable-programs.inc
|
|
include disable-xdg.inc
|
|
|
|
mkdir ${HOME}/.cache/falkon
|
|
mkdir ${HOME}/.config/falkon
|
|
whitelist ${DOWNLOADS}
|
|
whitelist ${HOME}/.cache/falkon
|
|
whitelist ${HOME}/.config/falkon
|
|
whitelist /usr/share/falkon
|
|
include whitelist-common.inc
|
|
include whitelist-runuser-common.inc
|
|
include whitelist-usr-share-common.inc
|
|
include whitelist-var-common.inc
|
|
|
|
apparmor
|
|
caps.drop all
|
|
netfilter
|
|
nodvd
|
|
nogroups
|
|
noinput
|
|
nonewprivs
|
|
noroot
|
|
notv
|
|
nou2f
|
|
protocol unix,inet,inet6,netlink
|
|
# blacklisting of chroot system calls breaks falkon
|
|
seccomp !chroot
|
|
# tracelog
|
|
|
|
disable-mnt
|
|
# private-bin falkon
|
|
private-cache
|
|
private-dev
|
|
private-etc adobe,alternatives,asound.conf,ati,ca-certificates,crypto-policies,dconf,drirc,fonts,group,gtk-2.0,gtk-3.0,hostname,hosts,ld.so.preload,localtime,machine-id,mailcap,mime.types,nsswitch.conf,pango,passwd,pki,pulse,resolv.conf,selinux,ssl,xdg
|
|
private-tmp
|
|
|
|
# dbus-user filter
|
|
# dbus-user.own org.kde.Falkon
|
|
dbus-system none
|