Changeset 45300 in vbox for trunk/src/VBox/HostDrivers/Support/linux
- Timestamp:
- Apr 3, 2013 9:48:39 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84701
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r44594 r45300 254 254 { 255 255 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) 256 # if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0) 257 return from_kuid(current_user_ns(), current->cred->uid); 258 # else 256 259 return current->cred->uid; 260 # endif 257 261 #else 258 262 return current->uid; … … 263 267 { 264 268 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) 269 # if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0) 270 return from_kgid(current_user_ns(), current->cred->gid); 271 # else 265 272 return current->cred->gid; 273 # endif 266 274 #else 267 275 return current->gid; … … 272 280 { 273 281 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 29) 282 # if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0) 283 return from_kuid(current_user_ns(), current->cred->euid); 284 # else 274 285 return current->cred->euid; 286 # endif 275 287 #else 276 288 return current->euid;
Note:
See TracChangeset
for help on using the changeset viewer.