nixpkgs/nixos/modules
Joachim Fasting cef2814a4f nixos: add optional process information hiding
This module adds an option `security.hideProcessInformation` that, when
enabled, restricts access to process information such as command-line
arguments to the process owner.  The module adds a static group "proc"
whose members are exempt from process information hiding.

Ideally, this feature would be implemented by simply adding the
appropriate mount options to `fileSystems."/proc".fsOptions`, but this
was found to not work in vmtests. To ensure that process information
hiding is enforced, we use a systemd service unit that remounts `/proc`
after `systemd-remount-fs.service` has completed.

To verify the correctness of the feature, simple tests were added to
nixos/tests/misc: the test ensures that unprivileged users cannot see
process information owned by another user, while members of "proc" CAN.

Thanks to @abbradar for feedback and suggestions.
2016-04-10 12:27:06 +02:00
..
config pulseaudio nixos module: run as systemd user service instead 2016-04-02 23:18:22 +08:00
hardware opengl.extraPackages32: pkgsi686Linux in example 2016-03-26 00:50:56 +11:00
i18n/inputMethod fcitx: show available engines in module description 2016-02-28 07:12:55 -06:00
installer nixos-generate-config.pl: correct path for broadcom-43xx 2016-03-31 23:47:20 +01:00
misc nixos: add optional process information hiding 2016-04-10 12:27:06 +02:00
profiles Fix the boot-ec2-config test 2016-03-30 22:22:40 +02:00
programs fish: pick up completion files from other packages 2016-04-09 00:08:48 +02:00
security nixos: add optional process information hiding 2016-04-10 12:27:06 +02:00
services Merge pull request #14543 from groxxda/fix/minidlna 2016-04-10 01:14:48 +02:00
system Merge pull request #14474 from MatrixAI/fixed-stage1 2016-04-05 22:39:14 +02:00
tasks Remove setting non-existent sysctl options 2016-03-15 17:44:30 +01:00
testing test-instrumentation.nix: Only clear $PAGER in the backdoor shell 2016-02-23 11:56:09 +01:00
virtualisation Add 16.03 AMIs 2016-04-05 11:25:12 +02:00
module-list.nix nixos: add optional process information hiding 2016-04-10 12:27:06 +02:00
rename.nix iodine service: add clients implimentation 2016-03-26 21:16:29 -04:00