diff options
Diffstat (limited to 'libc/arch-x86/syscalls/getresgid.S')
-rw-r--r-- | libc/arch-x86/syscalls/getresgid.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/arch-x86/syscalls/getresgid.S b/libc/arch-x86/syscalls/getresgid.S index 454d32b..d43aec4 100644 --- a/libc/arch-x86/syscalls/getresgid.S +++ b/libc/arch-x86/syscalls/getresgid.S @@ -7,6 +7,12 @@ .align 4 getresgid: + pushl %ebx + pushl %ecx + pushl %edx + mov 16(%esp), %ebx + mov 20(%esp), %ecx + mov 24(%esp), %edx movl $__NR_getresgid32, %eax int $0x80 cmpl $-129, %eax @@ -17,4 +23,7 @@ getresgid: addl $4, %esp orl $-1, %eax 1: + popl %edx + popl %ecx + popl %ebx ret |