Commit 148f50581bc4686d16b9dd5d4536557aa7380b0f
1 parent
4b4f782c
uid32 syscalls
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1678 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
19 additions
and
19 deletions
linux-user/mips/syscall_nr.h
@@ -18,15 +18,15 @@ | @@ -18,15 +18,15 @@ | ||
18 | #define TARGET_NR_time (TARGET_NR_Linux + 13) | 18 | #define TARGET_NR_time (TARGET_NR_Linux + 13) |
19 | #define TARGET_NR_mknod (TARGET_NR_Linux + 14) | 19 | #define TARGET_NR_mknod (TARGET_NR_Linux + 14) |
20 | #define TARGET_NR_chmod (TARGET_NR_Linux + 15) | 20 | #define TARGET_NR_chmod (TARGET_NR_Linux + 15) |
21 | -#define TARGET_NR_lchown (TARGET_NR_Linux + 16) | 21 | +#define TARGET_NR_lchown32 (TARGET_NR_Linux + 16) |
22 | #define TARGET_NR_break (TARGET_NR_Linux + 17) | 22 | #define TARGET_NR_break (TARGET_NR_Linux + 17) |
23 | #define TARGET_NR_unused18 (TARGET_NR_Linux + 18) | 23 | #define TARGET_NR_unused18 (TARGET_NR_Linux + 18) |
24 | #define TARGET_NR_lseek (TARGET_NR_Linux + 19) | 24 | #define TARGET_NR_lseek (TARGET_NR_Linux + 19) |
25 | #define TARGET_NR_getpid (TARGET_NR_Linux + 20) | 25 | #define TARGET_NR_getpid (TARGET_NR_Linux + 20) |
26 | #define TARGET_NR_mount (TARGET_NR_Linux + 21) | 26 | #define TARGET_NR_mount (TARGET_NR_Linux + 21) |
27 | #define TARGET_NR_umount (TARGET_NR_Linux + 22) | 27 | #define TARGET_NR_umount (TARGET_NR_Linux + 22) |
28 | -#define TARGET_NR_setuid (TARGET_NR_Linux + 23) | ||
29 | -#define TARGET_NR_getuid (TARGET_NR_Linux + 24) | 28 | +#define TARGET_NR_setuid32 (TARGET_NR_Linux + 23) |
29 | +#define TARGET_NR_getuid32 (TARGET_NR_Linux + 24) | ||
30 | #define TARGET_NR_stime (TARGET_NR_Linux + 25) | 30 | #define TARGET_NR_stime (TARGET_NR_Linux + 25) |
31 | #define TARGET_NR_ptrace (TARGET_NR_Linux + 26) | 31 | #define TARGET_NR_ptrace (TARGET_NR_Linux + 26) |
32 | #define TARGET_NR_alarm (TARGET_NR_Linux + 27) | 32 | #define TARGET_NR_alarm (TARGET_NR_Linux + 27) |
@@ -48,11 +48,11 @@ | @@ -48,11 +48,11 @@ | ||
48 | #define TARGET_NR_times (TARGET_NR_Linux + 43) | 48 | #define TARGET_NR_times (TARGET_NR_Linux + 43) |
49 | #define TARGET_NR_prof (TARGET_NR_Linux + 44) | 49 | #define TARGET_NR_prof (TARGET_NR_Linux + 44) |
50 | #define TARGET_NR_brk (TARGET_NR_Linux + 45) | 50 | #define TARGET_NR_brk (TARGET_NR_Linux + 45) |
51 | -#define TARGET_NR_setgid (TARGET_NR_Linux + 46) | ||
52 | -#define TARGET_NR_getgid (TARGET_NR_Linux + 47) | 51 | +#define TARGET_NR_setgid32 (TARGET_NR_Linux + 46) |
52 | +#define TARGET_NR_getgid32 (TARGET_NR_Linux + 47) | ||
53 | #define TARGET_NR_signal (TARGET_NR_Linux + 48) | 53 | #define TARGET_NR_signal (TARGET_NR_Linux + 48) |
54 | -#define TARGET_NR_geteuid (TARGET_NR_Linux + 49) | ||
55 | -#define TARGET_NR_getegid (TARGET_NR_Linux + 50) | 54 | +#define TARGET_NR_geteuid32 (TARGET_NR_Linux + 49) |
55 | +#define TARGET_NR_getegid32 (TARGET_NR_Linux + 50) | ||
56 | #define TARGET_NR_acct (TARGET_NR_Linux + 51) | 56 | #define TARGET_NR_acct (TARGET_NR_Linux + 51) |
57 | #define TARGET_NR_umount2 (TARGET_NR_Linux + 52) | 57 | #define TARGET_NR_umount2 (TARGET_NR_Linux + 52) |
58 | #define TARGET_NR_lock (TARGET_NR_Linux + 53) | 58 | #define TARGET_NR_lock (TARGET_NR_Linux + 53) |
@@ -72,8 +72,8 @@ | @@ -72,8 +72,8 @@ | ||
72 | #define TARGET_NR_sigaction (TARGET_NR_Linux + 67) | 72 | #define TARGET_NR_sigaction (TARGET_NR_Linux + 67) |
73 | #define TARGET_NR_sgetmask (TARGET_NR_Linux + 68) | 73 | #define TARGET_NR_sgetmask (TARGET_NR_Linux + 68) |
74 | #define TARGET_NR_ssetmask (TARGET_NR_Linux + 69) | 74 | #define TARGET_NR_ssetmask (TARGET_NR_Linux + 69) |
75 | -#define TARGET_NR_setreuid (TARGET_NR_Linux + 70) | ||
76 | -#define TARGET_NR_setregid (TARGET_NR_Linux + 71) | 75 | +#define TARGET_NR_setreuid32 (TARGET_NR_Linux + 70) |
76 | +#define TARGET_NR_setregid32 (TARGET_NR_Linux + 71) | ||
77 | #define TARGET_NR_sigsuspend (TARGET_NR_Linux + 72) | 77 | #define TARGET_NR_sigsuspend (TARGET_NR_Linux + 72) |
78 | #define TARGET_NR_sigpending (TARGET_NR_Linux + 73) | 78 | #define TARGET_NR_sigpending (TARGET_NR_Linux + 73) |
79 | #define TARGET_NR_sethostname (TARGET_NR_Linux + 74) | 79 | #define TARGET_NR_sethostname (TARGET_NR_Linux + 74) |
@@ -82,8 +82,8 @@ | @@ -82,8 +82,8 @@ | ||
82 | #define TARGET_NR_getrusage (TARGET_NR_Linux + 77) | 82 | #define TARGET_NR_getrusage (TARGET_NR_Linux + 77) |
83 | #define TARGET_NR_gettimeofday (TARGET_NR_Linux + 78) | 83 | #define TARGET_NR_gettimeofday (TARGET_NR_Linux + 78) |
84 | #define TARGET_NR_settimeofday (TARGET_NR_Linux + 79) | 84 | #define TARGET_NR_settimeofday (TARGET_NR_Linux + 79) |
85 | -#define TARGET_NR_getgroups (TARGET_NR_Linux + 80) | ||
86 | -#define TARGET_NR_setgroups (TARGET_NR_Linux + 81) | 85 | +#define TARGET_NR_getgroups32 (TARGET_NR_Linux + 80) |
86 | +#define TARGET_NR_setgroups32 (TARGET_NR_Linux + 81) | ||
87 | #define TARGET_NR_reserved82 (TARGET_NR_Linux + 82) | 87 | #define TARGET_NR_reserved82 (TARGET_NR_Linux + 82) |
88 | #define TARGET_NR_symlink (TARGET_NR_Linux + 83) | 88 | #define TARGET_NR_symlink (TARGET_NR_Linux + 83) |
89 | #define TARGET_NR_unused84 (TARGET_NR_Linux + 84) | 89 | #define TARGET_NR_unused84 (TARGET_NR_Linux + 84) |
@@ -97,7 +97,7 @@ | @@ -97,7 +97,7 @@ | ||
97 | #define TARGET_NR_truncate (TARGET_NR_Linux + 92) | 97 | #define TARGET_NR_truncate (TARGET_NR_Linux + 92) |
98 | #define TARGET_NR_ftruncate (TARGET_NR_Linux + 93) | 98 | #define TARGET_NR_ftruncate (TARGET_NR_Linux + 93) |
99 | #define TARGET_NR_fchmod (TARGET_NR_Linux + 94) | 99 | #define TARGET_NR_fchmod (TARGET_NR_Linux + 94) |
100 | -#define TARGET_NR_fchown (TARGET_NR_Linux + 95) | 100 | +#define TARGET_NR_fchown32 (TARGET_NR_Linux + 95) |
101 | #define TARGET_NR_getpriority (TARGET_NR_Linux + 96) | 101 | #define TARGET_NR_getpriority (TARGET_NR_Linux + 96) |
102 | #define TARGET_NR_setpriority (TARGET_NR_Linux + 97) | 102 | #define TARGET_NR_setpriority (TARGET_NR_Linux + 97) |
103 | #define TARGET_NR_profil (TARGET_NR_Linux + 98) | 103 | #define TARGET_NR_profil (TARGET_NR_Linux + 98) |
@@ -140,8 +140,8 @@ | @@ -140,8 +140,8 @@ | ||
140 | #define TARGET_NR_sysfs (TARGET_NR_Linux + 135) | 140 | #define TARGET_NR_sysfs (TARGET_NR_Linux + 135) |
141 | #define TARGET_NR_personality (TARGET_NR_Linux + 136) | 141 | #define TARGET_NR_personality (TARGET_NR_Linux + 136) |
142 | #define TARGET_NR_afs_syscall (TARGET_NR_Linux + 137) /* Syscall for Andrew File System */ | 142 | #define TARGET_NR_afs_syscall (TARGET_NR_Linux + 137) /* Syscall for Andrew File System */ |
143 | -#define TARGET_NR_setfsuid (TARGET_NR_Linux + 138) | ||
144 | -#define TARGET_NR_setfsgid (TARGET_NR_Linux + 139) | 143 | +#define TARGET_NR_setfsuid32 (TARGET_NR_Linux + 138) |
144 | +#define TARGET_NR_setfsgid32 (TARGET_NR_Linux + 139) | ||
145 | #define TARGET_NR__llseek (TARGET_NR_Linux + 140) | 145 | #define TARGET_NR__llseek (TARGET_NR_Linux + 140) |
146 | #define TARGET_NR_getdents (TARGET_NR_Linux + 141) | 146 | #define TARGET_NR_getdents (TARGET_NR_Linux + 141) |
147 | #define TARGET_NR__newselect (TARGET_NR_Linux + 142) | 147 | #define TARGET_NR__newselect (TARGET_NR_Linux + 142) |
@@ -187,13 +187,13 @@ | @@ -187,13 +187,13 @@ | ||
187 | #define TARGET_NR_shutdown (TARGET_NR_Linux + 182) | 187 | #define TARGET_NR_shutdown (TARGET_NR_Linux + 182) |
188 | #define TARGET_NR_socket (TARGET_NR_Linux + 183) | 188 | #define TARGET_NR_socket (TARGET_NR_Linux + 183) |
189 | #define TARGET_NR_socketpair (TARGET_NR_Linux + 184) | 189 | #define TARGET_NR_socketpair (TARGET_NR_Linux + 184) |
190 | -#define TARGET_NR_setresuid (TARGET_NR_Linux + 185) | ||
191 | -#define TARGET_NR_getresuid (TARGET_NR_Linux + 186) | 190 | +#define TARGET_NR_setresuid32 (TARGET_NR_Linux + 185) |
191 | +#define TARGET_NR_getresuid32 (TARGET_NR_Linux + 186) | ||
192 | #define TARGET_NR_query_module (TARGET_NR_Linux + 187) | 192 | #define TARGET_NR_query_module (TARGET_NR_Linux + 187) |
193 | #define TARGET_NR_poll (TARGET_NR_Linux + 188) | 193 | #define TARGET_NR_poll (TARGET_NR_Linux + 188) |
194 | #define TARGET_NR_nfsservctl (TARGET_NR_Linux + 189) | 194 | #define TARGET_NR_nfsservctl (TARGET_NR_Linux + 189) |
195 | -#define TARGET_NR_setresgid (TARGET_NR_Linux + 190) | ||
196 | -#define TARGET_NR_getresgid (TARGET_NR_Linux + 191) | 195 | +#define TARGET_NR_setresgid32 (TARGET_NR_Linux + 190) |
196 | +#define TARGET_NR_getresgid32 (TARGET_NR_Linux + 191) | ||
197 | #define TARGET_NR_prctl (TARGET_NR_Linux + 192) | 197 | #define TARGET_NR_prctl (TARGET_NR_Linux + 192) |
198 | #define TARGET_NR_rt_sigreturn (TARGET_NR_Linux + 193) | 198 | #define TARGET_NR_rt_sigreturn (TARGET_NR_Linux + 193) |
199 | #define TARGET_NR_rt_sigaction (TARGET_NR_Linux + 194) | 199 | #define TARGET_NR_rt_sigaction (TARGET_NR_Linux + 194) |
@@ -204,7 +204,7 @@ | @@ -204,7 +204,7 @@ | ||
204 | #define TARGET_NR_rt_sigsuspend (TARGET_NR_Linux + 199) | 204 | #define TARGET_NR_rt_sigsuspend (TARGET_NR_Linux + 199) |
205 | #define TARGET_NR_pread64 (TARGET_NR_Linux + 200) | 205 | #define TARGET_NR_pread64 (TARGET_NR_Linux + 200) |
206 | #define TARGET_NR_pwrite64 (TARGET_NR_Linux + 201) | 206 | #define TARGET_NR_pwrite64 (TARGET_NR_Linux + 201) |
207 | -#define TARGET_NR_chown (TARGET_NR_Linux + 202) | 207 | +#define TARGET_NR_chown32 (TARGET_NR_Linux + 202) |
208 | #define TARGET_NR_getcwd (TARGET_NR_Linux + 203) | 208 | #define TARGET_NR_getcwd (TARGET_NR_Linux + 203) |
209 | #define TARGET_NR_capget (TARGET_NR_Linux + 204) | 209 | #define TARGET_NR_capget (TARGET_NR_Linux + 204) |
210 | #define TARGET_NR_capset (TARGET_NR_Linux + 205) | 210 | #define TARGET_NR_capset (TARGET_NR_Linux + 205) |