VirtualBox

Ignore:
Timestamp:
Apr 3, 2013 9:48:39 AM (12 years ago)
Author:
vboxsync
Message:

Linux: more CONFIG_UIDGID_STRICT_TYPE_CHECKS fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxPci/linux/VBoxPci-linux.c

    r39432 r45300  
    430430                goto done;
    431431
     432# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0)
     433        pNewCreds->fsuid = GLOBAL_ROOT_UID;
     434# else
    432435        pNewCreds->fsuid = 0;
     436# endif
    433437        pOldCreds = override_creds(pNewCreds);
    434438#endif
     
    540544            goto done;
    541545
     546# if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0)
     547        pNewCreds->fsuid = GLOBAL_ROOT_UID;
     548# else
    542549        pNewCreds->fsuid = 0;
     550# endif
    543551        pOldCreds = override_creds(pNewCreds);
    544552#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette