// Available syscalls for mips-android.
// This file is autogenerated by the genandroidsyscalls.py script. 
// Script location: https://svn.freepascal.org/svn/fpcbuild/scripts/android

const
  syscall_nr_exit = 4001;
  syscall_nr_fork = 4002;
  syscall_nr_read = 4003;
  syscall_nr_write = 4004;
  syscall_nr_open = 4005;
  syscall_nr_close = 4006;
  syscall_nr_creat = 4008;
  syscall_nr_unlink = 4010;
  syscall_nr_execve = 4011;
  syscall_nr_chdir = 4012;
  syscall_nr_lseek = 4019;
  syscall_nr_getpid = 4020;
  syscall_nr_getuid = 4024;
  syscall_nr_ptrace = 4026;
  syscall_nr_access = 4033;
  syscall_nr_sync = 4036;
  syscall_nr_kill = 4037;
  syscall_nr_rename = 4038;
  syscall_nr_mkdir = 4039;
  syscall_nr_dup = 4041;
  syscall_nr_pipe = 4042;
  syscall_nr_times = 4043;
  syscall_nr_brk = 4045;
  syscall_nr_getgid = 4047;
  syscall_nr_geteuid = 4049;
  syscall_nr_getegid = 4050;
  syscall_nr_ioctl = 4054;
  syscall_nr_fcntl = 4055;
  syscall_nr_setpgid = 4057;
  syscall_nr_umask = 4060;
  syscall_nr_dup2 = 4063;
  syscall_nr_getppid = 4064;
  syscall_nr_setsid = 4066;
  syscall_nr_sigaction = 4067;
  syscall_nr_setregid = 4071;
  syscall_nr_setrlimit = 4075;
  syscall_nr_getrlimit = 4076;
  syscall_nr_getrusage = 4077;
  syscall_nr_gettimeofday = 4078;
  syscall_nr_getgroups = 4080;
  syscall_nr_readlink = 4085;
  syscall_nr_mmap = 4090;
  syscall_nr_mmap64 = syscall_nr_mmap;
  syscall_nr_munmap = 4091;
  syscall_nr_truncate = 4092;
  syscall_nr_fchmod = 4094;
  syscall_nr_fchown = 4095;
  syscall_nr_getpriority = 4096;
  syscall_nr_setpriority = 4097;
  syscall_nr_setitimer = 4104;
  syscall_nr_getitimer = 4105;
  syscall_nr_wait4 = 4114;
  syscall_nr_sysinfo = 4116;
  syscall_nr_fsync = 4118;
  syscall_nr_sigreturn = 4119;
  syscall_nr_clone = 4120;
  syscall_nr_uname = 4122;
  syscall_nr_mprotect = 4125;
  syscall_nr_quotactl = 4131;
  syscall_nr_getpgid = 4132;
  syscall_nr_fchdir = 4133;
  syscall_nr_personality = 4136;
  syscall_nr__llseek = 4140;
  syscall_nr_getdents = 4141;
  syscall_nr__newselect = 4142;
  syscall_nr_flock = 4143;
  syscall_nr_msync = 4144;
  syscall_nr_readv = 4145;
  syscall_nr_writev = 4146;
  syscall_nr_cacheflush = 4147;
  syscall_nr_getsid = 4151;
  syscall_nr_fdatasync = 4152;
  syscall_nr_mlock = 4154;
  syscall_nr_munlock = 4155;
  syscall_nr_mlockall = 4156;
  syscall_nr_munlockall = 4157;
  syscall_nr_sched_setparam = 4158;
  syscall_nr_sched_getparam = 4159;
  syscall_nr_sched_setscheduler = 4160;
  syscall_nr_sched_getscheduler = 4161;
  syscall_nr_sched_yield = 4162;
  syscall_nr_sched_get_priority_max = 4163;
  syscall_nr_sched_get_priority_min = 4164;
  syscall_nr_sched_rr_get_interval = 4165;
  syscall_nr_nanosleep = 4166;
  syscall_nr_mremap = 4167;
  syscall_nr_bind = 4169;
  syscall_nr_connect = 4170;
  syscall_nr_getpeername = 4171;
  syscall_nr_getsockname = 4172;
  syscall_nr_getsockopt = 4173;
  syscall_nr_listen = 4174;
  syscall_nr_recvfrom = 4176;
  syscall_nr_recvmsg = 4177;
  syscall_nr_sendmsg = 4179;
  syscall_nr_sendto = 4180;
  syscall_nr_setsockopt = 4181;
  syscall_nr_shutdown = 4182;
  syscall_nr_socket = 4183;
  syscall_nr_socketpair = 4184;
  syscall_nr_setresuid = 4185;
  syscall_nr_getresuid = 4186;
  syscall_nr_poll = 4188;
  syscall_nr_getresgid = 4191;
  syscall_nr_prctl = 4192;
  syscall_nr_rt_sigreturn = 4193;
  syscall_nr_rt_sigaction = 4194;
  syscall_nr_rt_sigprocmask = 4195;
  syscall_nr_rt_sigpending = 4196;
  syscall_nr_rt_sigtimedwait = 4197;
  syscall_nr_rt_sigqueueinfo = 4198;
  syscall_nr_rt_sigsuspend = 4199;
  syscall_nr_pread64 = 4200;
  syscall_nr_pwrite64 = 4201;
  syscall_nr_getcwd = 4203;
  syscall_nr_capget = 4204;
  syscall_nr_capset = 4205;
  syscall_nr_sigaltstack = 4206;
  syscall_nr_sendfile = 4207;
  syscall_nr_mmap2 = 4210;
  syscall_nr_truncate64 = 4211;
  syscall_nr_ftruncate64 = 4212;
  syscall_nr_stat64 = 4213;
  syscall_nr_lstat64 = 4214;
  syscall_nr_fstat64 = 4215;
  syscall_nr_fstat = syscall_nr_fstat64;
  syscall_nr_mincore = 4217;
  syscall_nr_madvise = 4218;
  syscall_nr_getdents64 = 4219;
  syscall_nr_fcntl64 = 4220;
  syscall_nr_gettid = 4222;
  syscall_nr_readahead = 4223;
  syscall_nr_setxattr = 4224;
  syscall_nr_lsetxattr = 4225;
  syscall_nr_fsetxattr = 4226;
  syscall_nr_getxattr = 4227;
  syscall_nr_lgetxattr = 4228;
  syscall_nr_fgetxattr = 4229;
  syscall_nr_listxattr = 4230;
  syscall_nr_llistxattr = 4231;
  syscall_nr_flistxattr = 4232;
  syscall_nr_removexattr = 4233;
  syscall_nr_lremovexattr = 4234;
  syscall_nr_fremovexattr = 4235;
  syscall_nr_tkill = 4236;
  syscall_nr_sendfile64 = 4237;
  syscall_nr_futex = 4238;
  syscall_nr_sched_setaffinity = 4239;
  syscall_nr_sched_getaffinity = 4240;
  syscall_nr_io_setup = 4241;
  syscall_nr_io_destroy = 4242;
  syscall_nr_io_getevents = 4243;
  syscall_nr_io_submit = 4244;
  syscall_nr_io_cancel = 4245;
  syscall_nr_exit_group = 4246;
  syscall_nr_epoll_create = 4248;
  syscall_nr_epoll_ctl = 4249;
  syscall_nr_epoll_wait = 4250;
  syscall_nr_remap_file_pages = 4251;
  syscall_nr_set_tid_address = 4252;
  syscall_nr_restart_syscall = 4253;
  syscall_nr_fadvise64 = 4254;
  syscall_nr_statfs64 = 4255;
  syscall_nr_fstatfs64 = 4256;
  syscall_nr_timer_create = 4257;
  syscall_nr_timer_settime = 4258;
  syscall_nr_timer_gettime = 4259;
  syscall_nr_timer_getoverrun = 4260;
  syscall_nr_timer_delete = 4261;
  syscall_nr_clock_gettime = 4263;
  syscall_nr_clock_getres = 4264;
  syscall_nr_clock_nanosleep = 4265;
  syscall_nr_tgkill = 4266;
  syscall_nr_waitid = 4278;
  syscall_nr_set_thread_area = 4283;
  syscall_nr_inotify_init = 4284;
  syscall_nr_inotify_add_watch = 4285;
  syscall_nr_inotify_rm_watch = 4286;
  syscall_nr_openat = 4288;
  syscall_nr_mkdirat = 4289;
  syscall_nr_mknodat = 4290;
  syscall_nr_fchownat = 4291;
  syscall_nr_fstatat64 = 4293;
  syscall_nr_fstatat = syscall_nr_fstatat64;
  syscall_nr_unlinkat = 4294;
  syscall_nr_renameat = 4295;
  syscall_nr_linkat = 4296;
  syscall_nr_symlinkat = 4297;
  syscall_nr_readlinkat = 4298;
  syscall_nr_fchmodat = 4299;
  syscall_nr_faccessat = 4300;
  syscall_nr_pselect6 = 4301;
  syscall_nr_ppoll = 4302;
  syscall_nr_unshare = 4303;
  syscall_nr_splice = 4304;
  syscall_nr_sync_file_range = 4305;
  syscall_nr_tee = 4306;
  syscall_nr_vmsplice = 4307;
  syscall_nr_getcpu = 4312;
  syscall_nr_epoll_pwait = 4313;
  syscall_nr_utimensat = 4316;
  syscall_nr_eventfd = 4319;
  syscall_nr_fallocate = 4320;
  syscall_nr_fallocate64 = syscall_nr_fallocate;
  syscall_nr_timerfd_create = 4321;
  syscall_nr_timerfd_gettime = 4322;
  syscall_nr_timerfd_settime = 4323;
  syscall_nr_signalfd4 = 4324;
  syscall_nr_eventfd2 = 4325;
  syscall_nr_epoll_create1 = 4326;
  syscall_nr_dup3 = 4327;
  syscall_nr_pipe2 = 4328;
  syscall_nr_inotify_init1 = 4329;
  syscall_nr_preadv = 4330;
  syscall_nr_pwritev = 4331;
  syscall_nr_rt_tgsigqueueinfo = 4332;
  syscall_nr_perf_event_open = 4333;
  syscall_nr_accept4 = 4334;
  syscall_nr_recvmmsg = 4335;
  syscall_nr_prlimit64 = 4338;
  syscall_nr_prlimit = syscall_nr_prlimit64;
  syscall_nr_syncfs = 4342;
  syscall_nr_sendmmsg = 4343;
  syscall_nr_setns = 4344;
  syscall_nr_process_vm_readv = 4345;
  syscall_nr_process_vm_writev = 4346;
  syscall_nr_sched_setattr = 4349;
  syscall_nr_sched_getattr = 4350;
  syscall_nr_renameat2 = 4351;
  syscall_nr_seccomp = 4352;
  syscall_nr_getrandom = 4353;
  syscall_nr_memfd_create = 4354;
  syscall_nr_execveat = 4356;
  syscall_nr_mlock2 = 4359;
  syscall_nr_copy_file_range = 4360;
  syscall_nr_preadv2 = 4361;
  syscall_nr_pwritev2 = 4362;

// The following syscalls are blocked by SECCOMP starting from Android 8.
// Do not use them, unless you know what you are doing.
const
  syscall_nr_mount = 4021 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setuid = 4023 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setgid = 4046 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_acct = 4051 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_umount2 = 4052 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_chroot = 4061 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setreuid = 4070 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_sethostname = 4074 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_settimeofday = 4079 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setgroups = 4081 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_swapon = 4087 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_reboot = 4088 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_syslog = 4103 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_klogctl = 4103 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_swapoff = 4115 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setdomainname = 4121 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_adjtimex = 4124 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_init_module = 4128 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_delete_module = 4129 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setfsuid = 4138 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setfsgid = 4139 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_setresgid = 4190 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_clock_settime = 4262 deprecated 'This syscall is blocked on Android 8+';
  syscall_nr_clock_adjtime = 4341 deprecated 'This syscall is blocked on Android 8+';
