Merge pull request #62227 from delroth/scudo

nixos/malloc: add scudo from LLVM compiler-rt
This commit is contained in:
Joachim F 2019-05-29 18:23:25 +00:00 committed by GitHub
commit d81181e996
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,15 @@ let
and scalable concurrency support.
'';
};
"scudo" = {
libPath = "${pkgs.llvmPackages.compiler-rt}/lib/linux/libclang_rt.scudo-x86_64.so";
description = ''
A user-mode allocator based on LLVM Sanitizers CombinedAllocator,
which aims at providing additional mitigations against heap based
vulnerabilities, while maintaining good performance.
'';
};
};
providerConf = providers."${cfg.provider}";