Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_bionic
/
38732aa9ea28b54d55c46b6b1f9367cb8fa147f1
/
.
/
libc
/
arch-x86_64
/
syscalls
/
getsid.S
blob: de3e3c0e9c37000c0dd47719cce6254dc8abd28c [
file
] [
log
] [
blame
]
/*
Generated by gensyscalls.py. Do not edit.
*/
#include <private/bionic_asm.h>
ENTRY
(
getsid
)
movl
$
__NR_getsid
,
%eax
syscall
cmpq
$-
MAX_ERRNO
,
%rax
jb
1
f
negl %eax
movl
%eax, %
edi
call __set_errno
orq
$
-1
,
%rax
1
:
ret
END
(
getsid
)