mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
That is, make "X11" lowercase so that the order of the includes in the
disable- section remain the same when sorted with `LC_ALL=C`, as is the
case for most of the other sections. That is also likely to be the
default in text editors (such as in vim on Arch), so this should make
the disable- section more consistent and easier to sort when editing the
profile.
Also, keep the old include as a redirect to the new one for now to avoid
breakage.
Commands used to search and replace:
git mv etc/inc/disable-X11.inc etc/inc/disable-x11.inc
git grep -Ilz 'disable-X11' -- etc | xargs -0 \
perl -pi -e 's/disable-X11/disable-x11/'
Relates to #4462 #4854 #6070 #6289.
This is a follow-up to #6286.
44 lines
809 B
Text
44 lines
809 B
Text
# Firejail profile for dnsmasq
|
|
# Description: Small caching DNS proxy and DHCP/TFTP server
|
|
# This file is overwritten after every install/update
|
|
quiet
|
|
# Persistent local customizations
|
|
include dnsmasq.local
|
|
# Persistent global definitions
|
|
include globals.local
|
|
|
|
noblacklist /sbin
|
|
noblacklist /usr/sbin
|
|
noblacklist /var/lib/libvirt
|
|
|
|
blacklist ${RUNUSER}
|
|
|
|
include disable-common.inc
|
|
include disable-devel.inc
|
|
include disable-interpreters.inc
|
|
include disable-programs.inc
|
|
include disable-x11.inc
|
|
include disable-xdg.inc
|
|
|
|
whitelist /var/lib/libvirt/dnsmasq
|
|
whitelist /var/run
|
|
|
|
caps.keep net_admin,net_bind_service,net_raw,setgid,setuid
|
|
no3d
|
|
nodvd
|
|
noinput
|
|
nonewprivs
|
|
nosound
|
|
notv
|
|
nou2f
|
|
novideo
|
|
protocol unix,inet,inet6,netlink
|
|
seccomp
|
|
|
|
disable-mnt
|
|
private
|
|
private-dev
|
|
private-tmp
|
|
writable-var
|
|
|
|
restrict-namespaces
|