1570af302Sopenharmony_ci#ifndef _SYS_SYSCALL_H 2570af302Sopenharmony_ci#define _SYS_SYSCALL_H 3570af302Sopenharmony_ci 4570af302Sopenharmony_ci#include <bits/syscall.h> 5570af302Sopenharmony_ci 6570af302Sopenharmony_ci/* fixup legacy 16-bit junk */ 7570af302Sopenharmony_ci#ifdef SYS_getuid32 8570af302Sopenharmony_ci#undef SYS_lchown 9570af302Sopenharmony_ci#undef SYS_getuid 10570af302Sopenharmony_ci#undef SYS_getgid 11570af302Sopenharmony_ci#undef SYS_geteuid 12570af302Sopenharmony_ci#undef SYS_getegid 13570af302Sopenharmony_ci#undef SYS_setreuid 14570af302Sopenharmony_ci#undef SYS_setregid 15570af302Sopenharmony_ci#undef SYS_getgroups 16570af302Sopenharmony_ci#undef SYS_setgroups 17570af302Sopenharmony_ci#undef SYS_fchown 18570af302Sopenharmony_ci#undef SYS_setresuid 19570af302Sopenharmony_ci#undef SYS_getresuid 20570af302Sopenharmony_ci#undef SYS_setresgid 21570af302Sopenharmony_ci#undef SYS_getresgid 22570af302Sopenharmony_ci#undef SYS_chown 23570af302Sopenharmony_ci#undef SYS_setuid 24570af302Sopenharmony_ci#undef SYS_setgid 25570af302Sopenharmony_ci#undef SYS_setfsuid 26570af302Sopenharmony_ci#undef SYS_setfsgid 27570af302Sopenharmony_ci#define SYS_lchown SYS_lchown32 28570af302Sopenharmony_ci#define SYS_getuid SYS_getuid32 29570af302Sopenharmony_ci#define SYS_getgid SYS_getgid32 30570af302Sopenharmony_ci#define SYS_geteuid SYS_geteuid32 31570af302Sopenharmony_ci#define SYS_getegid SYS_getegid32 32570af302Sopenharmony_ci#define SYS_setreuid SYS_setreuid32 33570af302Sopenharmony_ci#define SYS_setregid SYS_setregid32 34570af302Sopenharmony_ci#define SYS_getgroups SYS_getgroups32 35570af302Sopenharmony_ci#define SYS_setgroups SYS_setgroups32 36570af302Sopenharmony_ci#define SYS_fchown SYS_fchown32 37570af302Sopenharmony_ci#define SYS_setresuid SYS_setresuid32 38570af302Sopenharmony_ci#define SYS_getresuid SYS_getresuid32 39570af302Sopenharmony_ci#define SYS_setresgid SYS_setresgid32 40570af302Sopenharmony_ci#define SYS_getresgid SYS_getresgid32 41570af302Sopenharmony_ci#define SYS_chown SYS_chown32 42570af302Sopenharmony_ci#define SYS_setuid SYS_setuid32 43570af302Sopenharmony_ci#define SYS_setgid SYS_setgid32 44570af302Sopenharmony_ci#define SYS_setfsuid SYS_setfsuid32 45570af302Sopenharmony_ci#define SYS_setfsgid SYS_setfsgid32 46570af302Sopenharmony_ci#endif 47570af302Sopenharmony_ci#endif 48