//go:build linux || android package proot type syscallNumbers struct { execve, execveat uint64 open, openat, openat2 uint64 access, faccessat, faccessat2 uint64 stat, lstat, newfstatat, fstatat uint64 statfs, statfs64 uint64 statx uint64 readlink, readlinkat uint64 chdir, fchdir, getcwd uint64 mkdir, mkdirat uint64 mknod, mknodat uint64 unlink, unlinkat, rmdir uint64 rename, renameat, renameat2 uint64 link, linkat uint64 symlink, symlinkat uint64 chmod, fchmodat uint64 chown, lchown, fchown, fchownat uint64 truncate, utime, utimes, utimensat uint64 getpid, getuid, geteuid, getgid, getegid uint64 getresuid, getresgid, getgroups uint64 setuid, setgid, setresuid, setresgid, setreuid, setregid, setgroups uint64 setfsuid, setfsgid uint64 setRobust uint64 chroot uint64 } const noSys = ^uint64(0) // Linux 5.6+. syscall.SYS_OPENAT2 is not available in older Go syscall packages. const sysOpenat2 = 437 const sysFaccessat2 = 439