blob: 2ef5f18b4108e852dfbde74a79e7bf81bdc01b46 [file] [log] [blame]
Elliott Hughes887e1142014-01-02 12:05:50 -08001/* Generated by gensyscalls.py. Do not edit. */
2
3#include <private/bionic_asm.h>
4
5ENTRY(setns)
6 movl $__NR_setns, %eax
7 syscall
8 cmpq $-MAX_ERRNO, %rax
9 jb 1f
10 negl %eax
11 movl %eax, %edi
Dan Albert512bc522014-08-07 10:46:42 -070012 call PIC_PLT(__set_errno)
Elliott Hughes887e1142014-01-02 12:05:50 -0800131:
14 ret
15END(setns)