nixos/virtualbox: Fix setuid wrappers.
We only need to have setuid-root wrappers for VBox{Headless,SDL} and
VirtualBox, otherwise VBoxManage will run as root and NOT drop
privileges!
Fixes #5283.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
@@ -29,10 +29,7 @@ in
|
|||||||
setuid = true;
|
setuid = true;
|
||||||
};
|
};
|
||||||
in map mkVboxStub [
|
in map mkVboxStub [
|
||||||
"VBoxBFE"
|
|
||||||
"VBoxBalloonCtrl"
|
|
||||||
"VBoxHeadless"
|
"VBoxHeadless"
|
||||||
"VBoxManage"
|
|
||||||
"VBoxSDL"
|
"VBoxSDL"
|
||||||
"VirtualBox"
|
"VirtualBox"
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user