1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

nixos/malloc: add scudo from LLVM compiler-rt

This commit is contained in:
Pierre Bourdon 2019-05-30 02:16:45 +09:00
parent 60b59c34a8
commit 1cc8ea7cb4
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

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}";