firejail/mketc.sh
rusty-snake e8b60d782e Speedup the buildsystem
- replaing 'include /etc/firejail/foobar.inc' with
   'include $(sysconfdir)/firejail/foobar.inc' is useless since 0.9.58
 - onetime calling install with globbing is faster the a loop calling
   install nearly 1000 times
2020-04-04 19:40:11 +02:00

16 lines
513 B
Bash
Executable file

#!/bin/sh
# This file is part of Firejail project
# Copyright (C) 2014-2020 Firejail Authors
# License GPL v2
sed -i -e '
1i# Workaround for systems where common UNIX utilities are symlinks to busybox.\
# If this is not your case you can remove --enable-busybox-workaround from\
# ./configure options, for added security.\
noblacklist \${PATH}/mount\
noblacklist \${PATH}/umount\
noblacklist \${PATH}/su\
noblacklist \${PATH}/sudo\
noblacklist \${PATH}/nc\
noblacklist \${PATH}/crontab\
' etc/disable-common.inc