virtualbox: Support UIDGID_STRICT_TYPE_CHECKS.
This adds a patch to support CONFIG_UIDGID_STRICT_TYPE_CHECKS being activated in the kernel config (selected by CONFIG_USER_NS for example). When this kernel option is enabled, current->cred->uid is a structure rather than a simple integer type (uid_t and gid_t), so we need to check for that and also pass the current user namespace where needed. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
@@ -54,7 +54,10 @@ in stdenv.mkDerivation {
|
||||
++ optional javaBindings jdk
|
||||
++ optional pythonBindings python;
|
||||
|
||||
patches = singleton ./missing_files_4.2.8.patch;
|
||||
patches = [
|
||||
./missing_files_4.2.8.patch
|
||||
./strict_types.patch
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
set -x
|
||||
|
||||
Reference in New Issue
Block a user