Doug Evans
f33673061f
* callback.c (os_stat): Make 3rd arg a host struct stat ptr.
...
(os_fstat): Likewise. Validate fd argument.
(cb_host_to_target_stat): Delete big_p arg. If HS arg is NULL,
just compute target stat struct length.
* syscall.c: #include "libiberty.h", <sys/types.h>, <sys/stat.h>.
(ENOSYS,ENAMETOOLONG): Provide definitions if missing.
(get_string): Return host errno values so they can be properly
translated later.
(cb_syscall): Likewise.
(cb_syscall, cases open,unlink): Use get_path instead of get_string.
(cb_syscall, case read): Use read_stdin for file descriptor 0.
(cb_syscall, case write): Use write_stderr for file descriptor 2.
(cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
(get_path): New function.
1997-11-25 09:33:34 +00:00
..
1997-11-19 08:00:37 +00:00
1997-09-23 01:25:26 +00:00
1997-11-20 00:47:02 +00:00
1997-05-01 01:48:27 +00:00
1997-05-02 00:32:05 +00:00
1997-05-01 01:48:27 +00:00
1997-05-01 17:45:25 +00:00
1997-05-01 18:05:37 +00:00
1997-05-01 01:48:27 +00:00
1997-05-02 08:41:15 +00:00
1997-11-25 09:33:34 +00:00
1997-04-07 05:58:59 +00:00
1997-09-23 01:25:26 +00:00
1997-09-15 08:11:50 +00:00
1997-09-04 00:49:57 +00:00
1997-05-01 22:36:34 +00:00
1997-11-25 08:18:57 +00:00
1996-11-20 09:20:55 +00:00
1996-11-20 09:20:55 +00:00
1997-11-22 12:52:44 +00:00
1996-11-20 09:20:55 +00:00
1997-11-25 08:18:57 +00:00
1997-10-22 01:38:49 +00:00
1997-08-25 23:14:25 +00:00
1997-05-19 03:42:33 +00:00
1997-10-14 09:39:05 +00:00
1997-03-21 03:56:07 +00:00
1997-11-18 23:55:33 +00:00
1997-09-04 03:47:39 +00:00
1997-09-16 07:04:46 +00:00
1997-10-20 07:27:55 +00:00
1997-11-19 08:00:37 +00:00
1997-09-25 00:51:17 +00:00
1997-09-04 10:08:44 +00:00
1997-09-22 00:24:46 +00:00
1997-11-19 08:03:53 +00:00
1997-10-31 08:49:10 +00:00
1997-10-27 03:00:12 +00:00
1997-10-28 07:10:36 +00:00
1997-05-22 13:16:03 +00:00
1997-05-19 03:42:33 +00:00
1997-11-11 07:48:05 +00:00
1997-09-03 07:26:11 +00:00
1997-08-30 00:02:19 +00:00
1997-05-15 02:22:37 +00:00
1997-08-27 04:45:59 +00:00
1997-09-04 10:08:44 +00:00
1997-05-05 12:46:25 +00:00
1997-05-05 12:46:25 +00:00
1997-03-21 03:56:07 +00:00
1997-03-07 09:15:56 +00:00
1997-04-22 16:00:06 +00:00
1997-10-31 08:49:10 +00:00
1997-09-04 03:47:39 +00:00
1997-09-04 03:47:39 +00:00
1997-09-08 17:21:13 +00:00
1997-11-13 21:18:14 +00:00
1997-08-30 00:02:19 +00:00
1997-09-22 00:24:46 +00:00
1997-05-21 06:54:13 +00:00
1997-05-02 00:32:05 +00:00
1997-11-19 08:10:40 +00:00
1997-05-22 13:16:03 +00:00
1997-05-19 03:42:33 +00:00
1997-11-20 22:56:11 +00:00
1997-11-19 08:00:37 +00:00
1997-05-19 03:42:33 +00:00
1997-11-24 22:21:51 +00:00
1997-05-07 13:58:52 +00:00
1997-10-27 03:00:12 +00:00
1997-09-05 07:57:27 +00:00
1997-09-04 10:08:44 +00:00
1997-09-10 22:47:12 +00:00
1997-09-05 08:16:23 +00:00
1997-09-23 18:08:09 +00:00
1997-11-25 09:33:34 +00:00
1996-11-20 09:20:55 +00:00