Commit Graph

121 Commits

Author SHA1 Message Date
cgd
59c243a0b7 emulate setitimer(), but for now just return EINVAL. stub sysinfo() (XXX). 1999-04-29 23:37:23 +00:00
cgd
e9bc2c7ae3 need to emulate setitimer and sysinfo 1999-04-29 22:08:49 +00:00
cgd
2b9f4ca12d in NetBSD, top 32 bits of ioctl com are always 0 1999-04-29 17:34:49 +00:00
thorpej
0792acce0d Regen. 1999-04-29 17:20:37 +00:00
thorpej
fb1f070eba Add entry for set_program_attributes(). 1999-04-29 17:19:47 +00:00
thorpej
8ef6e2a635 Implement set_program_attributes(). 1999-04-29 17:18:59 +00:00
cgd
a509481404 itimerval and related constants 1999-04-29 05:54:13 +00:00
cgd
ee325de1bb regen for syscalls.master 1999-04-29 02:11:51 +00:00
cgd
1041a1c770 emulate access() and mprotect(), hook into COMPAT_43 get{peer,sock}name 1999-04-29 02:10:07 +00:00
cgd
f4507cddca mprotect() and access() 1999-04-29 02:08:58 +00:00
cgd
cc4f9f6afb access() flags 1999-04-29 02:06:50 +00:00
cgd
52b80ff167 fix some bugs (good to get to the point where bug-fixing is an issue!):
* when copying out the timezone in gettimeofday, don't accidentally copy
  out the timeval again (into the timezone buffer).
* mmap() PROT_WRITE and PROT_EXECUTE imply PROT_READ.
1999-04-28 06:01:51 +00:00
cgd
278f92716f regen for updated syscalls.master 1999-04-28 05:10:38 +00:00
cgd
d3708a1699 more timeval-related lossage. fixed some fns, added settimeofday & utimes 1999-04-28 05:09:47 +00:00
cgd
fc1142ac44 be more careful about getting the exec_name emul arg field 1999-04-28 02:49:38 +00:00
cgd
a61beae31e regen for changed syscalls.master 1999-04-28 02:34:47 +00:00
cgd
a9deaa593a emulate select(), to get the timeval right.
And CGD said, "Let there be eyes!"  And there were eyes, and it was good.
1999-04-28 02:34:25 +00:00
cgd
4c9a03c3b3 do easy 'f'-class ioctls 1999-04-28 02:16:07 +00:00
cgd
3cca776d42 regen for changed syscalls.master 1999-04-28 02:03:45 +00:00
cgd
28561f9679 can't use system gettimeofday, and need to implement uname 1999-04-28 02:03:13 +00:00
cgd
93e2cb1a1e uname, gettimeofday 1999-04-28 02:02:50 +00:00
cgd
ccd0018aca uname and timezone structures, and some minor cleanup 1999-04-28 02:00:36 +00:00
cgd
6e5469dc42 implement osf1_sys_madvise() 1999-04-27 18:45:22 +00:00
cgd
3cb15b5b9b regen for changed syscalls.master 1999-04-27 18:41:37 +00:00
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
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