package ext

import "syscall"

const (
	SYS_NEWFSTATAT = syscall.SYS_FSTATAT
)

var syscallNumExtra = map[string]SyscallNum{
	"uselib":          SNR_USELIB,
	"clock_adjtime64": SNR_CLOCK_ADJTIME64,
	"clock_settime64": SNR_CLOCK_SETTIME64,
	"umount":          SNR_UMOUNT,
	"chown":           SNR_CHOWN,
	"chown32":         SNR_CHOWN32,
	"fchown32":        SNR_FCHOWN32,
	"lchown":          SNR_LCHOWN,
	"lchown32":        SNR_LCHOWN32,
	"setgid32":        SNR_SETGID32,
	"setgroups32":     SNR_SETGROUPS32,
	"setregid32":      SNR_SETREGID32,
	"setresgid32":     SNR_SETRESGID32,
	"setresuid32":     SNR_SETRESUID32,
	"setreuid32":      SNR_SETREUID32,
	"setuid32":        SNR_SETUID32,
	"modify_ldt":      SNR_MODIFY_LDT,
	"subpage_prot":    SNR_SUBPAGE_PROT,
	"switch_endian":   SNR_SWITCH_ENDIAN,
	"vm86":            SNR_VM86,
	"vm86old":         SNR_VM86OLD,
}

const (
	SNR_USELIB          SyscallNum = __PNR_uselib
	SNR_CLOCK_ADJTIME64 SyscallNum = __PNR_clock_adjtime64
	SNR_CLOCK_SETTIME64 SyscallNum = __PNR_clock_settime64
	SNR_UMOUNT          SyscallNum = __PNR_umount
	SNR_CHOWN           SyscallNum = __PNR_chown
	SNR_CHOWN32         SyscallNum = __PNR_chown32
	SNR_FCHOWN32        SyscallNum = __PNR_fchown32
	SNR_LCHOWN          SyscallNum = __PNR_lchown
	SNR_LCHOWN32        SyscallNum = __PNR_lchown32
	SNR_SETGID32        SyscallNum = __PNR_setgid32
	SNR_SETGROUPS32     SyscallNum = __PNR_setgroups32
	SNR_SETREGID32      SyscallNum = __PNR_setregid32
	SNR_SETRESGID32     SyscallNum = __PNR_setresgid32
	SNR_SETRESUID32     SyscallNum = __PNR_setresuid32
	SNR_SETREUID32      SyscallNum = __PNR_setreuid32
	SNR_SETUID32        SyscallNum = __PNR_setuid32
	SNR_MODIFY_LDT      SyscallNum = __PNR_modify_ldt
	SNR_SUBPAGE_PROT    SyscallNum = __PNR_subpage_prot
	SNR_SWITCH_ENDIAN   SyscallNum = __PNR_switch_endian
	SNR_VM86            SyscallNum = __PNR_vm86
	SNR_VM86OLD         SyscallNum = __PNR_vm86old
)
