diff options
author | Elliott Hughes <enh@google.com> | 2013-03-13 00:44:33 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-03-13 00:44:33 +0000 |
commit | ec706c24acb4d1db6a583a57b76adfb9250d39eb (patch) | |
tree | fcb512131936b2b686571bc53f2b6a3b06fca45f /libc/arch-x86/syscalls/setgroups.S | |
parent | 980508b0ead3ee01e99e93635c57eb76d1aba62d (diff) | |
parent | 9aceab50155b17741faded1fb22e2daa51a07fb1 (diff) | |
download | android_bionic-ec706c24acb4d1db6a583a57b76adfb9250d39eb.tar.gz android_bionic-ec706c24acb4d1db6a583a57b76adfb9250d39eb.tar.bz2 android_bionic-ec706c24acb4d1db6a583a57b76adfb9250d39eb.zip |
Merge "Use the kernel's MAX_ERRNO in the syscall stubs."
Diffstat (limited to 'libc/arch-x86/syscalls/setgroups.S')
-rw-r--r-- | libc/arch-x86/syscalls/setgroups.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/arch-x86/syscalls/setgroups.S b/libc/arch-x86/syscalls/setgroups.S index 20266e0b0..e68a971c5 100644 --- a/libc/arch-x86/syscalls/setgroups.S +++ b/libc/arch-x86/syscalls/setgroups.S @@ -1,4 +1,5 @@ /* autogenerated by gensyscalls.py */ +#include <linux/err.h> #include <machine/asm.h> #include <sys/linux-syscalls.h> @@ -9,7 +10,7 @@ ENTRY(setgroups) mov 16(%esp), %ecx movl $__NR_setgroups32, %eax int $0x80 - cmpl $-129, %eax + cmpl $-MAX_ERRNO, %eax jb 1f negl %eax pushl %eax |