Commit Graph

26 Commits

Author SHA1 Message Date
thorpej ea5fdab7bb Don't define our own (incorrect!) dup(2); just use the NetBSD version. 2001-06-06 16:17:40 +00:00
mrg 6a89288a37 use _KERNEL_OPT. 2001-05-30 11:37:21 +00:00
thorpej f3e8131498 getpid(2) is MP-safe. 2001-01-27 07:53:10 +00:00
mycroft 9682cf0b09 Add the %% separators. 2000-12-09 05:27:28 +00:00
jdolecek 6626f506b3 LKMify 2000-11-30 19:05:26 +00:00
thorpej 0dc5bd44d5 Update for new SVID IPC calls, and also update the list of syscalls
to include the complete set as of 9.x.
1999-08-25 04:50:53 +00:00
christos 415ae8f732 const poisoning 1999-02-09 20:21:18 +00:00
christos b0b86b5b7f Defopt COMPAT_43 1998-12-10 17:03:19 +00:00
tron e8603a0b66 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:31:50 +00:00
thorpej a4db5a6784 Update a comment to reflect new makesyscalls.sh behavior. 1998-02-19 00:37:43 +00:00
kleink ab93fc5e02 Use sys___posix_fchown() instead of sys_fchown(). 1998-02-14 21:16:35 +00:00
scottr 519862a03a ptrace() emulation is no longer supported, and probably hasn't worked
for some time anyway.
1997-10-17 18:39:14 +00:00
mycroft 68fb837229 Fix a typo inherited from kern/syscalls.master. 1997-10-15 17:18:17 +00:00
thorpej b132875e6e Use hpux_sendsig() and hpux_sys_sigreturn(). 1997-03-16 03:48:00 +00:00
mycroft 1449e67e30 Modify poll(2) prototype. 1996-09-07 14:20:09 +00:00
mycroft 17b9974c5a Implement poll(2). 1996-09-07 13:23:39 +00:00
mycroft a8fd25767d Define execv() and execve() consistently across emulations.
Do path name translation.
1996-09-03 03:12:17 +00:00
thorpej 0ec193c9b2 Get COMPAT_HPUX partially working on the hp300. Notable improvements:
* It compiles (and links).
	* Make use of "/emul/hpux" where applicable.
	* Untangle a bit, pulling some funtions from the monolithic
	  hpux_compat.c into hpux_file.c, hpux_exec.c, etc.
	* Fix a couple of bugs.
Yet to do:
	* Move hp300-specific functions into hp300/hp300/hpux_machdep.c.
	* Make everything work properly (you laugh...)

These changes are sufficient to run some simple HP-UX 9.x executables,
including ls(1) (which will read password and group information from the
YP server correctly, albeit slowly), a simple "hello world", uname(1),
and a few other odds and ends.  Dynamically linked executables work, and
demand-paging _seems_ to work properly.  Major problems:
	* socket and/or signal handling appears to need some work yet.
	* 99% sure I didn't do exactly the right thing adjusting for the
	  fact that "kstack" is gone now.
	* ktrace(1)'ing some executables (HP-UX telnet(1) is what I tried)
	  causes the HP-UX executable to dump core with a SIGSEGV for an
	  as of yet unknown reason.

This is mostly meant as a checkpoint/snapshot, to make it easier for others
to track progress on this code, and hack on it themselves.  It's certainly
better off now than before.
1995-11-28 08:39:45 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
christos dd9ece9090 Made this compile on the i386 (gasp)... Someone will need to test it. 1995-05-10 16:45:25 +00:00
cgd 6b7c260753 new RCS ID format. 1994-10-26 02:45:11 +00:00
cgd bc9970144d fix up for new ID format, and consistency 1994-06-30 16:42:47 +00:00
mycroft c22aab7bbe getdirentries() and getdtablesize() compat. 1994-06-22 03:04:01 +00:00
mycroft 48dd63215d Merge with 4.4-Lite. 1994-05-23 08:03:32 +00:00
cgd 08124ce51b fix syscall for new names 1994-05-17 10:36:03 +00:00
mycroft 0bbaf2a5e8 Partial cleanup. Needs more work. 1994-01-07 00:43:39 +00:00