This commit is contained in:
Patrick Schleizer 2019-12-20 04:48:57 -05:00
parent d1d0afff34
commit c66e9abe18
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -52,6 +52,8 @@ add_nosuid_statoverride_entry() {
echo_wrapper dpkg-statoverride --add --update "$owner" "$group" "$new_mode" "$file_name"
fi
fi
## /lib will hit ARG_MAX.
## https://forums.whonix.org/t/kernel-hardening/7296/326
done < <( find "${fso_without_trailing_slash}/" -print0 | xargs -I{} -0 stat -c "%n %a %U %G" {} )
}