update malloc perturb envvar to be posix compliant :3

This commit is contained in:
jacekpoz 2024-07-13 22:37:59 +02:00
parent 2230455677
commit c8867a5eb6
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -1,5 +1,5 @@
_: {
environment.sessionVariables = {
MALLOC_PERTURB_ = "$(($RANDOM % 255 + 1))";
MALLOC_PERTURB_ = "echo $(($(head -200 /dev/urandom | cksum | cut -f1 -d " ") % 255 + 1))";
};
}