1 | /*
|
---|
2 | * TOPPERS ECHONET Lite Communication Middleware
|
---|
3 | *
|
---|
4 | * Copyright (C) 2018 Cores Co., Ltd. Japan
|
---|
5 | *
|
---|
6 | * ä¸è¨èä½æ¨©è
|
---|
7 | ã¯ï¼ä»¥ä¸ã®(1)ï½(4)ã®æ¡ä»¶ãæºããå ´åã«éãï¼æ¬ã½ããã¦ã§
|
---|
8 | * ã¢ï¼æ¬ã½ããã¦ã§ã¢ãæ¹å¤ãããã®ãå«ãï¼ä»¥ä¸åãï¼ã使ç¨ã»è¤è£½ã»æ¹
|
---|
9 | * å¤ã»åé
|
---|
10 | å¸ï¼ä»¥ä¸ï¼å©ç¨ã¨å¼ã¶ï¼ãããã¨ãç¡åã§è¨±è«¾ããï¼
|
---|
11 | * (1) æ¬ã½ããã¦ã§ã¢ãã½ã¼ã¹ã³ã¼ãã®å½¢ã§å©ç¨ããå ´åã«ã¯ï¼ä¸è¨ã®èä½
|
---|
12 | * 権表示ï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãï¼ãã®ã¾ã¾ã®å½¢ã§ã½ã¼
|
---|
13 | * ã¹ã³ã¼ãä¸ã«å«ã¾ãã¦ãããã¨ï¼
|
---|
14 | * (2) æ¬ã½ããã¦ã§ã¢ãï¼ã©ã¤ãã©ãªå½¢å¼ãªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
|
---|
15 | * ç¨ã§ããå½¢ã§åé
|
---|
16 | å¸ããå ´åã«ã¯ï¼åé
|
---|
17 | å¸ã«ä¼´ãããã¥ã¡ã³ãï¼å©ç¨
|
---|
18 | * è
|
---|
19 | ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®èä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨
|
---|
20 | * ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
|
---|
21 | * (3) æ¬ã½ããã¦ã§ã¢ãï¼æ©å¨ã«çµã¿è¾¼ããªã©ï¼ä»ã®ã½ããã¦ã§ã¢éçºã«ä½¿
|
---|
22 | * ç¨ã§ããªãå½¢ã§åé
|
---|
23 | å¸ããå ´åã«ã¯ï¼æ¬¡ã®ããããã®æ¡ä»¶ãæºããã
|
---|
24 | * ã¨ï¼
|
---|
25 | * (a) åé
|
---|
26 | å¸ã«ä¼´ãããã¥ã¡ã³ãï¼å©ç¨è
|
---|
27 | ããã¥ã¢ã«ãªã©ï¼ã«ï¼ä¸è¨ã®è
|
---|
28 | * ä½æ¨©è¡¨ç¤ºï¼ãã®å©ç¨æ¡ä»¶ããã³ä¸è¨ã®ç¡ä¿è¨¼è¦å®ãæ²è¼ãããã¨ï¼
|
---|
29 | * (b) åé
|
---|
30 | å¸ã®å½¢æ
|
---|
31 | ãï¼å¥ã«å®ããæ¹æ³ã«ãã£ã¦ï¼TOPPERSããã¸ã§ã¯ãã«
|
---|
32 | * å ±åãããã¨ï¼
|
---|
33 | * (4) æ¬ã½ããã¦ã§ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ
|
---|
34 | * 害ãããï¼ä¸è¨èä½æ¨©è
|
---|
35 | ããã³TOPPERSããã¸ã§ã¯ããå
|
---|
36 | 責ãããã¨ï¼
|
---|
37 | * ã¾ãï¼æ¬ã½ããã¦ã§ã¢ã®ã¦ã¼ã¶ã¾ãã¯ã¨ã³ãã¦ã¼ã¶ããã®ãããªãç
|
---|
38 | * ç±ã«åºã¥ãè«æ±ãããï¼ä¸è¨èä½æ¨©è
|
---|
39 | ããã³TOPPERSããã¸ã§ã¯ãã
|
---|
40 | * å
|
---|
41 | 責ãããã¨ï¼
|
---|
42 | *
|
---|
43 | * æ¬ã½ããã¦ã§ã¢ã¯ï¼ç¡ä¿è¨¼ã§æä¾ããã¦ãããã®ã§ããï¼ä¸è¨èä½æ¨©è
|
---|
44 | ã
|
---|
45 | * ãã³TOPPERSããã¸ã§ã¯ãã¯ï¼æ¬ã½ããã¦ã§ã¢ã«é¢ãã¦ï¼ç¹å®ã®ä½¿ç¨ç®ç
|
---|
46 | * ã«å¯¾ããé©åæ§ãå«ãã¦ï¼ãããªãä¿è¨¼ãè¡ããªãï¼ã¾ãï¼æ¬ã½ããã¦ã§
|
---|
47 | * ã¢ã®å©ç¨ã«ããç´æ¥çã¾ãã¯éæ¥çã«çãããããªãæ害ã«é¢ãã¦ãï¼ã
|
---|
48 | * ã®è²¬ä»»ãè² ããªãï¼
|
---|
49 | *
|
---|
50 | * @(#) $Id: syscall.c 388 2019-05-22 11:25:18Z coas-nagasima $
|
---|
51 | */
|
---|
52 | #include "bits/syscall.h"
|
---|
53 | #include "shellif.h"
|
---|
54 | #include <t_syslog.h>
|
---|
55 |
|
---|
56 | void *thread_area;
|
---|
57 | void *tid_address;
|
---|
58 |
|
---|
59 | long no_implement(const char *text)
|
---|
60 | {
|
---|
61 | syslog(LOG_ERROR, text);
|
---|
62 | DebugBreak();
|
---|
63 | return -ENOSYS;
|
---|
64 | }
|
---|
65 |
|
---|
66 | long __syscall_nr(long n, ...)
|
---|
67 | {
|
---|
68 | long ret = -ENOSYS;
|
---|
69 | va_list ap;
|
---|
70 |
|
---|
71 | va_start(ap, n);
|
---|
72 |
|
---|
73 | switch (n) {
|
---|
74 | case __NR_setresgid:
|
---|
75 | no_implement("setresgid");
|
---|
76 | break;
|
---|
77 | case __NR_setresuid:
|
---|
78 | no_implement("setresuid");
|
---|
79 | break;
|
---|
80 | case __NR_setgid:
|
---|
81 | no_implement("setgid");
|
---|
82 | break;
|
---|
83 | case __NR_setregid:
|
---|
84 | no_implement("setregid");
|
---|
85 | break;
|
---|
86 | case __NR_setreuid:
|
---|
87 | no_implement("setreuid");
|
---|
88 | break;
|
---|
89 | case __NR_setuid:
|
---|
90 | no_implement("setuid");
|
---|
91 | break;
|
---|
92 | default:
|
---|
93 | no_implement("syscall");
|
---|
94 | break;
|
---|
95 | }
|
---|
96 |
|
---|
97 | va_end(ap);
|
---|
98 |
|
---|
99 | return ret;
|
---|
100 | }
|
---|
101 |
|
---|
102 | long SYS__llseek(long a, long b, long c, long d, long e) {
|
---|
103 | return shell_llseek((int)a, ((off_t)b << 32) | (off_t)c, (off_t *)d, (int)e);
|
---|
104 | }
|
---|
105 |
|
---|
106 | long SYS__newselect(long a, long b, long c, long d, long e) {
|
---|
107 | return shell_select((int)a, (fd_set *)b, (fd_set *)c, (fd_set *)d, (struct timeval *)e);
|
---|
108 | }
|
---|
109 |
|
---|
110 | long SYS_accept(long a, long b, long c) {
|
---|
111 | return shell_accept((int)a, (struct sockaddr *)b, (socklen_t *)c);
|
---|
112 | }
|
---|
113 |
|
---|
114 | long SYS_access(long a, long b) {
|
---|
115 | return shell_access((const char *)a, (int)b);
|
---|
116 | }
|
---|
117 |
|
---|
118 | long SYS_bind(long a, long b, long c) {
|
---|
119 | return shell_bind((int)a, (const struct sockaddr *)b, (socklen_t)c);
|
---|
120 | }
|
---|
121 |
|
---|
122 | long SYS_brk(long a) {
|
---|
123 | return (long)shell_brk((void *)a);
|
---|
124 | }
|
---|
125 |
|
---|
126 | long SYS_chdir(long a) {
|
---|
127 | return shell_chdir((const char *)a);
|
---|
128 | }
|
---|
129 |
|
---|
130 | long SYS_chmod(long a, long b) {
|
---|
131 | return shell_chmod((const char *)a, (mode_t)b);
|
---|
132 | }
|
---|
133 |
|
---|
134 | long SYS_chroot(long a) {
|
---|
135 | return shell_chroot((const char *)a);
|
---|
136 | }
|
---|
137 |
|
---|
138 | long SYS_clock_getres(long a, long b) {
|
---|
139 | return shell_clock_getres((clockid_t)a, (struct timespec *)b);
|
---|
140 | }
|
---|
141 |
|
---|
142 | long SYS_clock_gettime(long a, long b) {
|
---|
143 | return shell_clock_gettime((clockid_t)a, (struct timespec *)b);
|
---|
144 | }
|
---|
145 |
|
---|
146 | long SYS_clock_settime(long a, long b) {
|
---|
147 | return shell_clock_settime((clockid_t)a, (const struct timespec *)b);
|
---|
148 | }
|
---|
149 |
|
---|
150 | long SYS_close(long a) {
|
---|
151 | return shell_close((int)a);
|
---|
152 | }
|
---|
153 |
|
---|
154 | long SYS_connect(long a, long b, long c) {
|
---|
155 | return shell_connect((int)a, (const struct sockaddr *)b, (socklen_t)c);
|
---|
156 | }
|
---|
157 |
|
---|
158 | long SYS_exit(long a) {
|
---|
159 | shell_exit((int)a);
|
---|
160 | return 0;
|
---|
161 | }
|
---|
162 |
|
---|
163 | long SYS_exit_group(long a) {
|
---|
164 | shell_exit_group((int)a);
|
---|
165 | return 0;
|
---|
166 | }
|
---|
167 |
|
---|
168 | long SYS_fcntl64(long a, long b, long c) {
|
---|
169 | return shell_fcntl((int)a, (int)b, (void *)c);
|
---|
170 | }
|
---|
171 |
|
---|
172 | long SYS_fdatasync() {
|
---|
173 | return no_implement("fdatasync\n");
|
---|
174 | }
|
---|
175 |
|
---|
176 | long SYS_fstat64(long a, long b) {
|
---|
177 | return shell_fstat((int)a, (struct stat *)b);
|
---|
178 | }
|
---|
179 |
|
---|
180 | long SYS_fsync(long a) {
|
---|
181 | return shell_fsync((int)a);
|
---|
182 | }
|
---|
183 |
|
---|
184 | long SYS_ftruncate64(long a, long b, long c) {
|
---|
185 | return shell_ftruncate((int)a, ((off_t)b << 32) | (off_t)c);
|
---|
186 | }
|
---|
187 |
|
---|
188 | long SYS_futex() {
|
---|
189 | int futex(int *uaddr, int op, int val, const struct timespec *timeout, int *uaddr2, int val3);
|
---|
190 | return no_implement("futex\n");
|
---|
191 | }
|
---|
192 |
|
---|
193 | long SYS_futimesat() {
|
---|
194 | return no_implement("futimesat\n");
|
---|
195 | }
|
---|
196 |
|
---|
197 | long SYS_getcwd(long a, long b) {
|
---|
198 | return (long)shell_getcwd((char *)a, (size_t)b);
|
---|
199 | }
|
---|
200 |
|
---|
201 | long SYS_getdents64(long a, long b, long c) {
|
---|
202 | return shell_getdents((int)a, (struct dirent *)b, (size_t)c);
|
---|
203 | }
|
---|
204 |
|
---|
205 | long SYS_getpeername(long a, long b, long c) {
|
---|
206 | return shell_getpeername((int)a, (struct sockaddr *)b, (socklen_t *)c);
|
---|
207 | }
|
---|
208 |
|
---|
209 | long SYS_getsockname(long a, long b, long c) {
|
---|
210 | return shell_getsockname((int)a, (struct sockaddr *)b, (socklen_t *)c);
|
---|
211 | }
|
---|
212 |
|
---|
213 | long SYS_getpid() {
|
---|
214 | return shell_getpid();
|
---|
215 | }
|
---|
216 |
|
---|
217 | long SYS_getsockopt(long a, long b, long c, long d, long e) {
|
---|
218 | return shell_getsockopt((int)a, (int)b, (int)c, (void *)d, (socklen_t *)e);
|
---|
219 | }
|
---|
220 |
|
---|
221 | long SYS_gettid() {
|
---|
222 | return shell_gettid();
|
---|
223 | }
|
---|
224 |
|
---|
225 | long SYS_gettimeofday(long a, long b) {
|
---|
226 | return shell_gettimeofday((struct timeval *)a, (void *)b);
|
---|
227 | }
|
---|
228 |
|
---|
229 | long SYS_getuid32() {
|
---|
230 | return no_implement("getuid\n");
|
---|
231 | }
|
---|
232 |
|
---|
233 | long SYS_ioctl(long a, long b, long c) {
|
---|
234 | return shell_ioctl((int)a, (int)b, (void *)c);
|
---|
235 | }
|
---|
236 |
|
---|
237 | long SYS_kill(long a, long b) {
|
---|
238 | return shell_kill((int)a, (int)b);
|
---|
239 | }
|
---|
240 |
|
---|
241 | long SYS_link(long a, long b) {
|
---|
242 | return shell_link((const char *)a, (const char *)b);
|
---|
243 | }
|
---|
244 |
|
---|
245 | long SYS_listen(long a, long b) {
|
---|
246 | return shell_listen((int)a, (int)b);
|
---|
247 | }
|
---|
248 |
|
---|
249 | long SYS_lstat64(long a, long b) {
|
---|
250 | return shell_lstat((const char *__restrict)a, (struct stat *__restrict)b);
|
---|
251 | }
|
---|
252 |
|
---|
253 | long SYS_madvise(long a, long b, long c) {
|
---|
254 | return shell_madvise((void *)a, (size_t)b, (int)c);
|
---|
255 | }
|
---|
256 |
|
---|
257 | long SYS_mkdir(long a, long b) {
|
---|
258 | return shell_mkdir((const char *)a, (mode_t)b);
|
---|
259 | }
|
---|
260 |
|
---|
261 | long SYS_mmap2(long a, long b, long c, long d, long e, long f, long g) {
|
---|
262 | return (int)shell_mmap2((void *)a, (size_t)b, (int)c, (int)d, (int)e, ((off_t)f << 32) | (off_t)g);
|
---|
263 | }
|
---|
264 |
|
---|
265 | long SYS_mprotect(long a, long b, long c) {
|
---|
266 | return shell_mprotect((void *)a, (size_t)b, (int)c);
|
---|
267 | }
|
---|
268 |
|
---|
269 | long SYS_munmap() {
|
---|
270 | return no_implement("munmap\n");
|
---|
271 | }
|
---|
272 |
|
---|
273 | long SYS_open(long a, long b, long c) {
|
---|
274 | return shell_open((const char *)a, (int)b, (void *)c);
|
---|
275 | }
|
---|
276 |
|
---|
277 | long SYS_poll(long a, long b, long c) {
|
---|
278 | return shell_poll((struct pollfd *)a, (nfds_t)b, (int)c);
|
---|
279 | }
|
---|
280 |
|
---|
281 | long SYS_pread64() {
|
---|
282 | return no_implement("pread64\n");
|
---|
283 | }
|
---|
284 |
|
---|
285 | long SYS_pwrite64() {
|
---|
286 | return no_implement("pwrite64\n");
|
---|
287 | }
|
---|
288 |
|
---|
289 | long SYS_read(long a, long b, long c) {
|
---|
290 | return shell_read((int)a, (void *)b, (size_t)c);
|
---|
291 | }
|
---|
292 |
|
---|
293 | long SYS_readv(long a, long b, long c) {
|
---|
294 | return shell_readv((int)a, (const struct iovec *)b, (int)c);
|
---|
295 | }
|
---|
296 |
|
---|
297 | long SYS_recv(long a, long b, long c, long d) {
|
---|
298 | return shell_recvfrom((int)a, (void *)b, (size_t)c, (int)d, NULL, NULL);
|
---|
299 | }
|
---|
300 |
|
---|
301 | long SYS_recvfrom(long a, long b, long c, long d, long e, long f) {
|
---|
302 | return shell_recvfrom(a, (void *)b, (size_t)c, (int)d, (struct sockaddr *)e, (socklen_t *)f);
|
---|
303 | }
|
---|
304 |
|
---|
305 | long SYS_recvmsg(long a, long b, long c) {
|
---|
306 | return shell_recvmsg((int)a, (struct msghdr *)b, (size_t)c);
|
---|
307 | }
|
---|
308 |
|
---|
309 | long SYS_rename(long a, long b) {
|
---|
310 | return shell_rename((const char *)a, (const char *)b);
|
---|
311 | }
|
---|
312 |
|
---|
313 | long SYS_rmdir(long a) {
|
---|
314 | return shell_rmdir((const char *)a);
|
---|
315 | }
|
---|
316 |
|
---|
317 | long SYS_rt_sigaction(long a, long b, long c, long d) {
|
---|
318 | return shell_sigaction((int)a, (const struct k_sigaction *)b, (struct k_sigaction *)c, (size_t)d);
|
---|
319 | }
|
---|
320 |
|
---|
321 | long SYS_rt_sigprocmask(long a, long b, long c) {
|
---|
322 | return shell_sigprocmask((int)a, (const sigset_t *)b, (sigset_t *)c);
|
---|
323 | }
|
---|
324 |
|
---|
325 | long SYS_rt_sigqueueinfo() {
|
---|
326 | return no_implement("rt_sigqueueinfo\n");
|
---|
327 | }
|
---|
328 |
|
---|
329 | long SYS_send(long a, long b, long c, long d) {
|
---|
330 | return shell_sendto((int)a, (const void *)b, (size_t)c, (int)d, NULL, 0);
|
---|
331 | }
|
---|
332 |
|
---|
333 | long SYS_sendmsg(long a, long b, long c) {
|
---|
334 | return shell_sendmsg((int)a, (const struct msghdr *)b, (size_t)c);
|
---|
335 | }
|
---|
336 |
|
---|
337 | long SYS_sendto(long a, long b, long c, long d, long e, long f) {
|
---|
338 | return shell_sendto(a, (const void *)b, (size_t)c, (int)d, (const struct sockaddr *)e, (socklen_t)f);
|
---|
339 | }
|
---|
340 |
|
---|
341 | long SYS_setsockopt(long a, long b, long c, long d, long e) {
|
---|
342 | return shell_setsockopt((int)a, (int)b, (int)c, (const void *)d, (socklen_t)e);
|
---|
343 | }
|
---|
344 |
|
---|
345 | long SYS_shutdown(long a, long b) {
|
---|
346 | return shell_shutdown((int)a, (int)b);
|
---|
347 | }
|
---|
348 |
|
---|
349 | long SYS_sched_setscheduler() {
|
---|
350 | return no_implement("sched_setscheduler\n");
|
---|
351 | }
|
---|
352 |
|
---|
353 | long SYS_set_robust_list() {
|
---|
354 | return no_implement("set_robust_list\n");
|
---|
355 | }
|
---|
356 |
|
---|
357 | #ifdef SYS_set_thread_area
|
---|
358 | long SYS_set_thread_area(long a) {
|
---|
359 | thread_area = (void *)a;
|
---|
360 | return 0;
|
---|
361 | }
|
---|
362 | #endif
|
---|
363 |
|
---|
364 | long SYS_set_tid_address(long a) {
|
---|
365 | tid_address = (void *)a;
|
---|
366 | return 0;
|
---|
367 | }
|
---|
368 |
|
---|
369 | long SYS_socket(long a, long b, long c) {
|
---|
370 | return shell_socket((int)a, (int)b, (int)c);
|
---|
371 | }
|
---|
372 |
|
---|
373 | long SYS_stat64(long a, long b) {
|
---|
374 | return shell_stat((const char *)a, (struct stat *)b);
|
---|
375 | }
|
---|
376 |
|
---|
377 | long SYS_tkill(long a, long b) {
|
---|
378 | return shell_tkill((int)a, (int)b);
|
---|
379 | }
|
---|
380 |
|
---|
381 | long SYS_uname(long a) {
|
---|
382 | return shell_uname((struct utsname *)a);
|
---|
383 | }
|
---|
384 |
|
---|
385 | long SYS_unlink(long a) {
|
---|
386 | return shell_unlink((const char *)a);
|
---|
387 | }
|
---|
388 |
|
---|
389 | long SYS_utimensat() {
|
---|
390 | return no_implement("utimensat\n");
|
---|
391 | }
|
---|
392 |
|
---|
393 | long SYS_utimes() {
|
---|
394 | return no_implement("utimes\n");
|
---|
395 | }
|
---|
396 |
|
---|
397 | long SYS_write(long a, long b, long c) {
|
---|
398 | return shell_write((int)a, (const void *)b, (size_t)c);
|
---|
399 | }
|
---|
400 |
|
---|
401 | long SYS_writev(long a, long b, long c) {
|
---|
402 | return shell_writev((int)a, (const struct iovec *)b, (size_t)c);
|
---|
403 | }
|
---|
404 |
|
---|
405 | long SYS_nanosleep(long a, long b)
|
---|
406 | {
|
---|
407 | return shell_nanosleep((const struct timespec *)a, (struct timespec *)b);
|
---|
408 | }
|
---|
409 |
|
---|
410 | long SYS_dup()
|
---|
411 | {
|
---|
412 | return no_implement("dup\n");
|
---|
413 | }
|
---|
414 |
|
---|
415 | long SYS_dup2()
|
---|
416 | {
|
---|
417 | return no_implement("dup2\n");
|
---|
418 | }
|
---|
419 |
|
---|
420 | long SYS_pipe()
|
---|
421 | {
|
---|
422 | return no_implement("pipe\n");
|
---|
423 | }
|
---|
424 |
|
---|
425 | long SYS_readlink()
|
---|
426 | {
|
---|
427 | return no_implement("readlink\n");
|
---|
428 | }
|
---|
429 |
|
---|
430 | long SYS_symlink()
|
---|
431 | {
|
---|
432 | return no_implement("symlink\n");
|
---|
433 | }
|
---|
434 |
|
---|
435 | long SYS_umask()
|
---|
436 | {
|
---|
437 | return no_implement("umask\n");
|
---|
438 | }
|
---|
439 |
|
---|
440 | long SYS_execve()
|
---|
441 | {
|
---|
442 | return no_implement("execve\n");
|
---|
443 | }
|
---|
444 |
|
---|
445 | long SYS_fork()
|
---|
446 | {
|
---|
447 | return no_implement("fork\n");
|
---|
448 | }
|
---|
449 |
|
---|
450 | long SYS_wait4()
|
---|
451 | {
|
---|
452 | return no_implement("wait4\n");
|
---|
453 | }
|
---|
454 |
|
---|
455 | long SYS_socketpair()
|
---|
456 | {
|
---|
457 | return no_implement("socketpair\n");
|
---|
458 | }
|
---|
459 |
|
---|
460 | long SYS_flock()
|
---|
461 | {
|
---|
462 | return no_implement("flock\n");
|
---|
463 | }
|
---|
464 |
|
---|
465 | long SYS_fchdir()
|
---|
466 | {
|
---|
467 | return no_implement("fchdir\n");
|
---|
468 | }
|
---|
469 |
|
---|
470 | long SYS_getegid32()
|
---|
471 | {
|
---|
472 | return no_implement("getegid32\n");
|
---|
473 | }
|
---|
474 |
|
---|
475 | long SYS_geteuid32()
|
---|
476 | {
|
---|
477 | return no_implement("geteuid32\n");
|
---|
478 | }
|
---|
479 |
|
---|
480 | long SYS_getgid32()
|
---|
481 | {
|
---|
482 | return no_implement("getgid32\n");
|
---|
483 | }
|
---|
484 |
|
---|
485 | long SYS_pipe2()
|
---|
486 | {
|
---|
487 | return no_implement("pipe2\n");
|
---|
488 | }
|
---|
489 |
|
---|
490 | long SYS_setgid32()
|
---|
491 | {
|
---|
492 | return no_implement("setgid32\n");
|
---|
493 | }
|
---|
494 |
|
---|
495 | long SYS_setpgid()
|
---|
496 | {
|
---|
497 | return no_implement("setpgid\n");
|
---|
498 | }
|
---|
499 |
|
---|
500 | long SYS_setsid()
|
---|
501 | {
|
---|
502 | return no_implement("setsid\n");
|
---|
503 | }
|
---|
504 |
|
---|
505 | long SYS_setuid32()
|
---|
506 | {
|
---|
507 | return no_implement("setuid32\n");
|
---|
508 | }
|
---|
509 |
|
---|
510 | long SYS_tgkill()
|
---|
511 | {
|
---|
512 | return no_implement("tgkill\n");
|
---|
513 | }
|
---|