From ee2359faba317cdec796150695bea08d6673d758 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sat, 22 Aug 2020 15:35:22 -0700 Subject: Add hardened-malloc to more profiles --- PKGBUILD | 4 ++-- profiles/calcurse.profile | 3 +++ profiles/firefox.local | 1 + profiles/ktorrent.local | 3 +++ profiles/qtox.local | 2 +- profiles/wget.local | 3 +++ 6 files changed, 13 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 8ed04ac..d1eca23 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: jc_gargma pkgname=firejail-profiles -pkgver=20200813 +pkgver=20200822 pkgrel=1 pkgdesc="Additional firejail profiles and locals" arch=('any') @@ -9,7 +9,7 @@ url="https://library.iserlohn-fortress.net/firejail-profiles.git" license=('GPLv3') depends=('firejail' 'hardened-malloc') source=(profiles.tar.gz) -b2sums=('7daab72a92f40d24b428610c14be4a4f837076c70da10eaa048eca39a5f90f0dd6f23d4d2608740dce42443db2a1491bc1c85e905ed1d534aa34e1bbdbd43f47') +b2sums=('12f152335083aeba1d16fc3dd2b4af64417e8b689068870c10b0d6b3250361e243acea5abd98b43e99fd9f9715edc62c4ee8e8519de018fe7f0e484b02ac5338') package() { install --directory ${pkgdir}/etc/firejail diff --git a/profiles/calcurse.profile b/profiles/calcurse.profile index 55efe09..2bdde1a 100644 --- a/profiles/calcurse.profile +++ b/profiles/calcurse.profile @@ -37,3 +37,6 @@ private-cache private-dev private-etc localtime private-tmp + +# # Use with hardened-malloc package +env LD_PRELOAD=/usr/lib/libhardened_malloc.so diff --git a/profiles/firefox.local b/profiles/firefox.local index 7c26bed..36d2a32 100644 --- a/profiles/firefox.local +++ b/profiles/firefox.local @@ -32,4 +32,5 @@ private-etc resolv.conf #ignore noroot # # Use with hardened-malloc package +# This breaks firefox on polaris10 amdgpu for some reason env LD_PRELOAD=/usr/lib/libhardened_malloc.so diff --git a/profiles/ktorrent.local b/profiles/ktorrent.local index 3a22321..1655d6f 100644 --- a/profiles/ktorrent.local +++ b/profiles/ktorrent.local @@ -31,3 +31,6 @@ tracelog private-bin ktorrent,dbus-launch,kdeinit5 private-cache private-etc ca-certificates,fonts,machine-id,passwd,resolv.conf,ssl,xdg + +# # Use with hardened-malloc package +env LD_PRELOAD=/usr/lib/libhardened_malloc.so diff --git a/profiles/qtox.local b/profiles/qtox.local index 28cfcdb..a70b3ff 100644 --- a/profiles/qtox.local +++ b/profiles/qtox.local @@ -20,5 +20,5 @@ private-bin qtox,dbus-launch private-etc asound.conf,fonts,group,ld.so.cache,localtime,machine-id,passwd,pulse,resolv.conf # # Use with hardened-malloc package -# This breaks qtox on amdgpu for some reason +# This breaks qtox on polaris10 amdgpu for some reason env LD_PRELOAD=/usr/lib/libhardened_malloc.so diff --git a/profiles/wget.local b/profiles/wget.local index 843ded4..311e23d 100644 --- a/profiles/wget.local +++ b/profiles/wget.local @@ -1,3 +1,6 @@ machine-id nodbus protocol inet,inet6 + +# # Use with hardened-malloc package +env LD_PRELOAD=/usr/lib/libhardened_malloc.so -- cgit v1.2.1