firejail/etc/profile-a-l/agetpkg.profile
rusty-snake d8d97acbd9 Add ld.so.preload to all private-etc lines
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-*/*
2021-09-18 22:57:55 +02:00

59 lines
1.1 KiB
Text

# Firejail profile for agetpkg
# Description: CLI tool to list/get/install packages from the Arch Linux Archive
# This file is overwritten after every install/update
quiet
# Persistent local customizations
include agetpkg.local
# Persistent global definitions
include globals.local
blacklist /tmp/.X11-unix
blacklist ${RUNUSER}/wayland-*
# Allow python (blacklisted by disable-interpreters.inc)
#include allow-python2.inc
include allow-python3.inc
include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-shell.inc
include disable-xdg.inc
whitelist ${DOWNLOADS}
include whitelist-common.inc
include whitelist-usr-share-common.inc
include whitelist-var-common.inc
caps.drop all
hostname agetpkg
ipc-namespace
machine-id
netfilter
no3d
nodvd
nogroups
noinput
nonewprivs
noroot
nosound
notv
nou2f
novideo
protocol inet,inet6
seccomp
shell none
tracelog
private-bin agetpkg,python3
private-cache
private-dev
private-etc ca-certificates,crypto-policies,ld.so.preload,pki,resolv.conf,ssl
private-tmp
dbus-user none
dbus-system none
memory-deny-write-execute