nixpkgs/pkgs/applications/virtualization
aszlig 3e49487c1a
virtualbox: Enable hardening by default.
VirtualBox with hardening support requires the main binaries to be
setuid root. Using VBOX_WITH_RUNPATH, we ensure that the RPATHs are
pointing to the libexec directory and we also need to unset
VBOX_WITH_ORIGIN to make sure that the build system is actually setting
those RPATHs.

The hardened.patch implements two things:

 * Set the binary directory to the setuid-wrappers dir so that
   VboxSVC calls them instead of the binaries from the store path. The
   reason behind this is because nothing in the Nix store can have the
   setuid flag.
 * Excempt /nix/store from the group permission check, because while it
   is group-writeable indeed it also has the sticky bit set (and also
   the whole store is mounted read-only on most NixOS systems), so we're
   checking on that as well.

Right now, the hardened.patch uses /nix/store and /var/setuid-wrappers
directly, so someone would ever want to change those on a NixOS system,
please provide a patch to set those paths on build time. However, for
simplicity, it's best to do it when we _really_ need it.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-11-29 19:21:46 +01:00
..
8086tiny Small style fixups 2014-09-10 21:34:50 -03:00
bochs Bochs: upgrade to 2.6.7 2014-11-18 10:53:40 -02:00
docker docker: update from 1.3.0 to 1.3.1, potentially fixes CVE-2014-5277 2014-11-18 16:06:36 +01:00
nova pythonPackages.boto_1_9: remove 2014-08-27 13:26:00 +02:00
OVMF edk2/OVMF: Update 2014-02-03 18:32:21 -05:00
qemu Allow QEMU to fallback to full simulation if /dev/kvm is not available. 2014-08-13 23:26:26 +02:00
virt-manager virt-manager: fix missing schema error 2014-10-03 16:09:03 +02:00
virt-viewer Update virtviewer 2014-11-03 16:54:38 +03:00
virtinst virtinst: fix name resolution ambiguity breaking the runnability 2014-08-27 21:24:13 +02:00
virtualbox virtualbox: Enable hardening by default. 2014-11-29 19:21:46 +01:00
xen xen: note about security for next bump 2014-10-02 10:23:09 +02:00