nixpkgs/pkgs/applications
aszlig 63fb845fcf
virtualbox: Rebase hardened.patch on top of 5.1.22
The merge of the version bump in
6fb9f89238 didn't take care of our patch
for the hardening mode and thus enabling VirtualBox without also
force-disabling hardening mode will result in a build error.

While the patch is largely identical with the old version, I've removed
one particular change around the following code:

    if (pFsObjState->Stat.st_mode & S_IWOTH)
        return supR3HardenedSetError3(VERR_SUPLIB_WORLD_WRITABLE, pErrInfo,
                                      "World writable: '", pszPath, "'");

In the old version of the patch we have checked whether the path is
within the Nix store and suppressed the error return if that's the case.

The reason why I did that in the first place was because we had a bunch
of symlinks which were writable.

In VirtualBox 5.1.22 the code specifically checks whether the file is a
symlink, so we can safely drop our change.

Tested via all of the "virtualbox" NixOS VM subtests and they now all
succeed.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2017-06-23 05:48:54 +02:00
..
altcoins primecoin: fix build by disabling upnp support 2017-06-18 10:12:11 +01:00
audio opusTools: 0.1.9 -> 0.1.10 2017-06-20 03:56:41 +02:00
backup crashplan: move version and rev inside 'mkDerivation rec', simplify src 2017-06-17 14:19:27 -04:00
display-managers qt58: determine plugin and import paths from PATH 2017-06-18 08:44:47 -05:00
editors jetbrains: use nix-shell shebang in update script 2017-06-22 17:34:04 +01:00
gis Python: replace requests2 with requests tree-wide 2017-05-07 12:56:09 +02:00
graphics qt5: remove makeQtWrapper 2017-06-18 08:44:42 -05:00
inferno Use general hardening flag toggle lists 2016-03-05 18:55:26 +01:00
kde kde-applications: 17.04.1 -> 17.04.2 2017-06-19 19:26:52 +08:00
misc electrum: Unify protobuf dependencies 2017-06-22 21:06:17 +02:00
networking Merge pull request #26735 from NeQuissimus/minikube_0_19_1 2017-06-21 07:31:29 -04:00
office qt5: remove makeQtWrapper 2017-06-18 08:44:42 -05:00
science boinc: 7.4.42 -> 7.8.0 2017-06-20 05:19:31 +02:00
search recoll: 1.21.3 -> 1.23.1 2017-03-22 17:14:30 -05:00
taxes Dutch tax office (Belastingdienst) software for entrepreneurs version 2014 2015-10-24 22:10:23 +02:00
version-management vcsh: patch broken parser for $GIT_VERSION_MINOR 2017-06-14 21:28:28 +02:00
video qt5: remove makeQtWrapper 2017-06-18 08:44:42 -05:00
virtualization virtualbox: Rebase hardened.patch on top of 5.1.22 2017-06-23 05:48:54 +02:00
window-managers fvwm: 2.6.6 -> 2.6.7 2017-06-12 21:25:00 +01:00