uwrap: Use alpha-specific syscalls.
authorMatt Turner <mattst88@gmail.com>
Tue, 5 Apr 2016 20:28:30 +0000 (13:28 -0700)
committerAndreas Schneider <asn@samba.org>
Thu, 2 Jun 2016 13:59:01 +0000 (15:59 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11821

Signed-off-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
src/uid_wrapper.c

index 34889e0c3f955ad04bda3859b734a86763dee529..ded857a1b18f4744bac324b0ccaee3b2d2d146fa 100644 (file)
@@ -1901,7 +1901,11 @@ static long int uwrap_syscall (long int sysno, va_list vp)
 
        switch (sysno) {
                /* gid */
+#ifdef __alpha__
+               case SYS_getxgid:
+#else
                case SYS_getgid:
+#endif
 #ifdef HAVE_LINUX_32BIT_SYSCALLS
                case SYS_getgid32:
 #endif
@@ -1970,7 +1974,11 @@ static long int uwrap_syscall (long int sysno, va_list vp)
 #endif /* SYS_getresgid && HAVE_GETRESGID */
 
                /* uid */
+#ifdef __alpha__
+               case SYS_getxuid:
+#else
                case SYS_getuid:
+#endif
 #ifdef HAVE_LINUX_32BIT_SYSCALLS
                case SYS_getuid32:
 #endif