Commit Graph

1230 Commits

Author SHA1 Message Date
cgd
df6ae494ef fix madvise args 1999-04-27 18:40:53 +00:00
cgd
99df19a561 madvise operation definitions 1999-04-27 18:38:07 +00:00
cgd
3d0c9ec2a8 kill a couple of debugging printfs i accidentally left in 1999-04-27 17:56:52 +00:00
cgd
8f40430549 regen for changed syscalls.master 1999-04-27 17:53:11 +00:00
cgd
6b9bb2a3cb fix getrusage args 1999-04-27 17:52:44 +00:00
cgd
009c460d25 emulate getrusage, add some XXXs 1999-04-27 17:50:59 +00:00
cgd
9a71b695bd osf1_timeval and osf1_rusage and related constants 1999-04-27 17:50:23 +00:00
cgd
44cbebec30 note that his should be shot from a cannon 1999-04-27 16:09:28 +00:00
cgd
1f9cfb5d53 update for current reality 1999-04-27 16:08:40 +00:00
christos
b69c7692af From cgd again: pbuf == path on failure. 1999-04-27 15:42:37 +00:00
christos
c4f1bab08e Make the usage consistant and document it:
if the path was given in a user buffer, return the new path in
a user buffer.
if the path was given in a kernel buffer, allocate a new kernel buffer
to return the new path; the caller is responsible for freeing the buffer
if we fail always set the new path to NULL.
This usage broke when I adde the /../ shortcut. Noted by cgd.
1999-04-27 11:36:47 +00:00
cgd
f355b96b7a note that this document is now out of date 1999-04-27 06:39:49 +00:00
cgd
7e3ad9e963 evil hack to work around non-fixed mmap requests 1999-04-27 06:37:12 +00:00
cgd
6ef8f59ae6 dynamic executable/loader handling, done right 1999-04-27 05:38:08 +00:00
cgd
743038a6cb clean up for ecoff_machdep.h changes, look for the loader 1999-04-27 03:19:44 +00:00
cgd
fe6198f6e2 do special OSF/1-specific ECOFF recognition (not yet complete), and
implement a copyargs function to do special argument copying for
emulated processes.
1999-04-27 01:45:03 +00:00
cgd
bd33916784 exec internals have been moved (and improved) to osf1_exec.c. Not much
there yet, but more to come.
1999-04-26 18:34:05 +00:00
cgd
bd947212ac major(), minor(), and makedev() 1999-04-26 06:10:36 +00:00
cgd
9524149336 use fcntl() flags from osf1.h, map all of them 1999-04-26 05:57:53 +00:00
cgd
1904f78fb5 fcntl() flags 1999-04-26 05:56:34 +00:00
cgd
6d24aedc2c table-based translation of sigaction and sigaltstack flags 1999-04-26 05:35:08 +00:00
cgd
635a7843a1 copyright notice 1999-04-26 05:32:18 +00:00
cgd
6dbaac99f9 slight cleanup of spacing 1999-04-26 04:29:43 +00:00
cgd
35a22b65fc rlimit stuff 1999-04-26 03:30:48 +00:00
cgd
646c8f519a resource limit definitions 1999-04-26 03:29:05 +00:00
cgd
5d3c1d0c49 use osf1.h definitions and some table-based flag translation 1999-04-26 03:10:58 +00:00
cgd
32c9cd9866 exec and mount structs/defns, and some cleanup 1999-04-26 03:07:40 +00:00
cgd
445556f304 add a section of OSF/1 types, and add many more OSF/1 structures and
definitions.
1999-04-26 01:24:26 +00:00
cgd
1d0207c926 const-ify flags translation tables.
kill some cruft, and move various flags and structure definitions into
  osf1.h (not done yet).
Do a better job of translating fcntl(), and translate flags in sento()
  emulation.
1999-04-26 01:23:01 +00:00
cgd
196564f8e3 remove some structs and def'ns; they're moving to osf1.h 1999-04-26 01:22:18 +00:00
cgd
637226f0ad pull in osf1.h 1999-04-26 01:21:43 +00:00
cgd
ad10b95967 translate EAGAIN/EWOULDBLOCK properly 1999-04-26 01:16:04 +00:00
simonb
8a8e8d144f Shut 'gcc -Wuninitialized' up. 1999-04-25 02:42:01 +00:00
eeh
96b63fc788 Don't defopt COMPAT_NETBSD32 here; it's done in sys/conf/files. 1999-04-24 19:17:33 +00:00
cgd
45a020863e substantial cleanup, including:
* do more flags conversions, using the table driven converter.
* check for alternate (emulation) path in lots more places.
1999-04-24 07:23:54 +00:00
cgd
ed106195ea cleanup: kill syscall args comments 1999-04-24 07:13:23 +00:00
cgd
d081124ca2 cleanup: nuke register 1999-04-24 07:09:49 +00:00
cgd
d7c211e583 cleanup: kill syscall args comments 1999-04-24 07:06:35 +00:00
cgd
dd4d52e331 slight hdr inclusion cleanup, get ioctl-related def'ns from osf1.h 1999-04-24 06:59:11 +00:00
cgd
8b1bcd5e9c pull in osf1.h, not osf1_errno.h 1999-04-24 06:58:26 +00:00
cgd
2fc0019c7a Collected OSF/1 definitions and structures, sorted by OSF/1 header.
Error numbers (errno.h) aren't here, since they're likely to change
(additions) more often.
1999-04-24 06:56:25 +00:00
cgd
5b217baeb1 implement a simple function, emul_flags_translate() to do table-based
flags translation.
1999-04-24 02:56:06 +00:00
cgd
f023a00cd1 clean up multiple inclusion protection def'ns 1999-04-23 18:01:05 +00:00
cgd
1c19c07f42 clean up multiple inclusion protection def'ns and whitespace 1999-04-23 18:00:34 +00:00
cgd
cc6809bffa regen for 'const poisoning for strings, and minor cleanup' 1999-04-23 06:20:33 +00:00
cgd
c95f8f86c1 const poisoning for strings, and minor cleanup 1999-04-23 06:19:51 +00:00
cgd
c470144d55 use the errno mapping array 1999-04-23 06:15:35 +00:00
cgd
8ca456cbb3 add osf1_errno.c 1999-04-23 06:07:55 +00:00
cgd
f0f87c5554 finish updating this for signal changes, as was started in the
mis-labeled ("const poisoning"?!??!) rev 1.6.
1999-04-23 05:56:28 +00:00
cgd
f33ddea5c4 add an OSF1_CHECK_ALT_CREAT, similar to OSF1_CHECK_ALT_EXIST 1999-04-23 05:55:13 +00:00