summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-06-23 05:48:54 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-06-23 05:48:54 +0200
commit63fb845fcf6ea02db7933f503948a01fb2f6c2a4 (patch)
treee19275aeea3bb977c2597454dc433cbd4f235ec8 /pkgs/development/python-modules/httpserver
parentfa6fd34fcca07c0762ef3bc44962e2dc49937454 (diff)
virtualbox: Rebase hardened.patch on top of 5.1.22
The merge of the version bump in 6fb9f892382b4b091fc9edcae00e2eb4c0729bda 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>
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions