blob: 81023ab4b358332503e9b6eea76bb10fc9bcff5d [file] [log] [blame]
/* Generated by gensyscalls.py. Do not edit. */
#include <private/bionic_asm.h>
.hidden __set_errno
ENTRY(setgroups)
movl $__NR_setgroups, %eax
syscall
cmpq $-MAX_ERRNO, %rax
jb 1f
negl %eax
movl %eax, %edi
call __set_errno
1:
ret
END(setgroups)