profiles: fix some comments

Changes:

* Turn very long end-of-line comments into normal comments
* Turn multi-line end-of-line comments into normal comments
* Fix a comment being below instead of above the relevant entry
* Turn some comments that look like code into end-of-line comments
This commit is contained in:
Kelvin M. Klann 2023-08-11 19:07:32 -03:00
parent ce6fb3a8dd
commit 8e99a8c2e3
9 changed files with 25 additions and 17 deletions

View file

@ -33,7 +33,8 @@ blacklist-nolog ${HOME}/.viminfo
blacklist-nolog /tmp/clipmenu*
# X11 session autostart
# blacklist ${HOME}/.xpra - this will kill --x11=xpra cmdline option for all programs
# this will kill --x11=xpra cmdline option for all programs
#blacklist ${HOME}/.xpra
blacklist ${HOME}/.Xsession
blacklist ${HOME}/.blackbox
blacklist ${HOME}/.config/autostart
@ -241,8 +242,9 @@ blacklist /var/lib/mysql/mysql.sock
blacklist /var/lib/mysqld/mysql.sock
blacklist /var/lib/pacman
blacklist /var/lib/upower
# blacklist /var/log - a virtual /var/log directory (mostly empty) is build up by default for
# every sandbox, unless --writable-var-log switch is activated
# a virtual /var/log directory (mostly empty) is build up by default for every
# sandbox, unless --writable-var-log switch is activated
#blacklist /var/log
blacklist /var/mail
blacklist /var/opt
blacklist /var/run/acpid.socket
@ -611,8 +613,8 @@ blacklist /tmp/tmux-*
blacklist ${PATH}/gnome-terminal
blacklist ${PATH}/gnome-terminal.wrapper
blacklist ${PATH}/kgx
# blacklist ${PATH}/konsole
# konsole doesn't seem to have this problem - last tested on Ubuntu 16.04
#blacklist ${PATH}/konsole
blacklist ${PATH}/lilyterm
blacklist ${PATH}/lxterminal
blacklist ${PATH}/mate-terminal

View file

@ -39,7 +39,9 @@ blacklist ${PATH}/curl
blacklist ${PATH}/wget
blacklist ${PATH}/wget2
#dbus-user none - prevents access to passwords saved in GNOME Keyring and KWallet, also breaks Gnome connector.
# This prevents access to passwords saved in GNOME Keyring and KWallet, also
# breaks Gnome connector.
#dbus-user none
# The file dialog needs to work without d-bus.
?HAS_NODBUS: env NO_CHROME_KDE_FILE_DIALOG=1

View file

@ -37,8 +37,10 @@ protocol unix,inet,inet6,netlink
# QtWebengine needs chroot to set up its own sandbox
seccomp !chroot
# private-dev - prevents libdc1394 loading; this lib is used to connect to a camera device
# private-etc alternatives,ca-certificates,crypto-policies,pki,ssl
# private-dev prevents libdc1394 from loading; this lib is used to connect to a
# camera device
#private-dev
#private-etc alternatives,ca-certificates,crypto-policies,pki,ssl
private-tmp
# dbus-user none

View file

@ -40,7 +40,8 @@ tracelog
disable-mnt
private-bin dino
private-dev
# private-etc alternatives,ca-certificates,crypto-policies,fonts,pki,ssl -- breaks server connection
# breaks server connection
#private-etc alternatives,ca-certificates,crypto-policies,fonts,pki,ssl
private-tmp
dbus-user filter

View file

@ -62,7 +62,8 @@ tracelog
private-bin kbuildsycoca4,kdeinit4,lpr,okular,unar,unrar
private-dev
private-etc @x11,cups
# private-tmp - on KDE we need access to the real /tmp for data exchange with email clients
# on KDE we need access to the real /tmp for data exchange with email clients
#private-tmp
# dbus-user none
# dbus-system none

View file

@ -34,8 +34,8 @@ nou2f
novideo
tracelog
# private-etc alternatives,fonts,passwd - minimal required to run but will probably break
# program!
# minimum required to run but will probably break the program!
#private-etc alternatives,fonts,passwd
private-dev
private-tmp

View file

@ -54,7 +54,8 @@ tracelog
disable-mnt
#private-cache
#private-etc alternatives,ca-certificates,crypto-policies,machine-id,pki,resolv.conf,ssl # seems to need awk
# seems to need awk
#private-etc alternatives,ca-certificates,crypto-policies,machine-id,pki,resolv.conf,ssl
private-tmp
dbus-user none

View file

@ -38,7 +38,8 @@ nosound
notv
nou2f
novideo
# protocol unix,inet,inet6,netlink,packet,bluetooth - commented out in case they bring in new protocols
# commented out in case they bring in new protocols
#protocol unix,inet,inet6,netlink,packet,bluetooth
#seccomp
tracelog

View file

@ -33,16 +33,14 @@ include whitelist-var-common.inc
apparmor
caps.drop all
# machine-id breaks sound - add the next line to your yelp.local if you don't need sound support.
#machine-id
#machine-id # add this to your yelp.local if you don't need sound support.
net none
nodvd
nogroups
noinput
nonewprivs
noroot
# nosound - add the next line to your yelp.local if you don't need sound support.
#nosound
#nosound # add this to your yelp.local if you don't need sound support.
notv
nou2f
novideo