]> Pileus Git - ~andy/linux/blobdiff - kernel/timer.c
iio: drop comment about 'real' channels
[~andy/linux] / kernel / timer.c
index 09de9a941cd706fbd43abada917044fca8909a3e..6ec7e7e0db435d722cecd601090ca4a8b3dc994a 100644 (file)
@@ -1435,25 +1435,25 @@ SYSCALL_DEFINE0(getppid)
 SYSCALL_DEFINE0(getuid)
 {
        /* Only we change this so SMP safe */
-       return current_uid();
+       return from_kuid_munged(current_user_ns(), current_uid());
 }
 
 SYSCALL_DEFINE0(geteuid)
 {
        /* Only we change this so SMP safe */
-       return current_euid();
+       return from_kuid_munged(current_user_ns(), current_euid());
 }
 
 SYSCALL_DEFINE0(getgid)
 {
        /* Only we change this so SMP safe */
-       return current_gid();
+       return from_kgid_munged(current_user_ns(), current_gid());
 }
 
 SYSCALL_DEFINE0(getegid)
 {
        /* Only we change this so SMP safe */
-       return  current_egid();
+       return from_kgid_munged(current_user_ns(), current_egid());
 }
 
 #endif