nixpkgs-suyu/pkgs/applications
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
..
audio Merge pull request #5137 from magnetophon/faustPlusCompiler 2014-11-28 09:42:04 +00:00
backup/crashplan crashplan: 3.6.3 -> 3.6.4 2014-11-18 12:40:57 +00:00
display-managers fix sha for a slim's theme 2014-11-08 22:40:36 +03:00
editors add neovim 2014-11-27 22:16:43 +01:00
gis saga: update from 2.1.2 to 2.1.4 and re-enable build on x86_64-linux 2014-11-18 14:50:01 +01:00
graphics synfigstudio: fix a strange build error 2014-11-26 23:17:43 +01:00
inferno Add missing 's' in remaining meta.maintainer(s) attrs 2014-07-22 23:49:21 +02:00
misc llpp: update to latest revision, uses now the ninja build system 2014-11-29 14:21:16 +01:00
networking Merge pull request #5088 from offlinehacker/nixos/kubernetes 2014-11-29 16:44:42 +01:00
office zim: update from 0.61 to 0.62 2014-11-26 13:08:01 +00:00
science coq_HEAD: update 2014-11-17 17:29:42 -06:00
search Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
taxes Add aangifte-2013 2014-03-01 16:54:16 +01:00
version-management Merge pull request #5130 from wmertens/git-ssl-env 2014-11-27 13:24:08 +01:00
video MPV: update to 0.7.0 2014-11-27 00:27:53 -02:00
virtualization virtualbox: Enable hardening by default. 2014-11-29 19:21:46 +01:00
window-managers Turn more licenses into lib.licenses style 2014-11-06 00:48:16 +00:00