summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorJoachim Fasting <joachifm@fastmail.fm>2017-04-06 16:12:21 +0200
committerJoachim Fasting <joachifm@fastmail.fm>2017-04-30 12:05:37 +0200
commit878ad1ce6e2582fef11ed73c849b513afaca143e (patch)
treeae013f9b8d9f99a31655c36895157d48b47f1b6e /pkgs/development/python-modules/httpserver
parent7ee05dff30a16ba12d869693d3f7fa93291d12e1 (diff)
nixos: add option to lock kernel modules
Adds an option `security.lockKernelModules` that, when enabled, disables kernel module loading once the system reaches its normal operating state. The rationale for this over simply setting the sysctl knob is to allow some legitmate kernel module loading to occur; the naive solution breaks too much to be useful. The benefit to the user is to help ensure the integrity of the kernel runtime: only code loaded as part of normal system initialization will be available in the kernel for the duration of the boot session. This helps prevent injection of malicious code or unexpected loading of legitimate but normally unused modules that have exploitable bugs (e.g., DCCP use after free CVE-2017-6074, n_hldc CVE-2017-2636, XFRM framework CVE-2017-7184, L2TPv3 CVE-2016-10200). From an aestethic point of view, enabling this option helps make the configuration more "declarative". Closes https://github.com/NixOS/nixpkgs/pull/24681
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions