1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-22 16:26:48 -04:00
nixpkgs/nixos
aszlig ac603e208c
virtualbox: Fix runtime paths in hardening mode.
Because we have to rely on setuid wrappers on NixOS, we can't easily
hardcode the executable paths and set it 4755. So for all calls, we need
to change the runtime path executable directory to /var/setuid-wrappers/
and for verification we need to retain the executable directory.

Also note, that usually VBoxNetAdpCtl, VBoxNetDHCP, VBoxNetNAT, VBoxSDL
and VBoxVolInfo don't reside in directories that are commonly in PATH,
but in /usr/lib/virtualbox in most mainstream distros. But because the
names of these executables are distinctive enough to not cause
collisions with other setuid programs, I'll leave it like that and not
patch up setuid-wrappers.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2014-12-18 14:06:13 +01:00
..
doc/manual release notes: reindent, remove renames (redudant) 2014-12-18 12:22:22 +01:00
gui
lib
maintainers
modules virtualbox: Fix runtime paths in hardening mode. 2014-12-18 14:06:13 +01:00
tests nixos/tests/gitlab.nix: set TimeoutStartSec to 10min 2014-12-17 16:40:53 +01:00
COPYING
default.nix
README
release-combined.nix
release-small.nix
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.