summaryrefslogtreecommitdiffstats
path: root/sys/compat
Commit message (Collapse)AuthorAgeFilesLines
* Update linux_ipc.c to use the now generated prototypes for the shm* callspeter1995-12-151-9/+9
| | | | it makes while emulating the linux equivalents.
* Initial attempt at getting Linux QMAGIC shared lib support. I havepeter1995-12-151-4/+4
| | | | | | | | | | | | | successfully run linux netscape 2.0b3 with a QMAGIC ld.so and libc/libm that I found on some linux machine that I _think_ is running slackware 3.0. There are still problems.. ld.so claims the libraries are the wrong format, but it still runs anyway.. :-/ The QMAGIC ld.so also screams about needing ld.so.cache, and running a linux ldconfig is quite educational. You soon learn to run "chroot /compat/linux /bin/ldconfig" where ldconfig is living in /compat/linux/bin. :-] (Lets just say that it puts loads of symlinks in /usr/lib otherwise :-)
* Clean up some warnings by using the generated structures in <sys/sysproto.h>peter1995-12-155-94/+93
| | | | | for passing to the bsd system calls, rather than inveninting our own equivalent structures.
* Restored a vm #include.bde1995-12-141-1/+2
|
* Attempt to make the Linux LKM compile again after the recent VM includepeter1995-12-091-1/+6
| | | | | | de-nesting changes... (I figured this might be usefulif it actually built, since I've told everybody to rebuild it or die.. :-)
* Include <vm/vm.h> explicitly to avoid breaking when vnode_if.h doesn'tbde1995-12-061-1/+2
| | | | include vm stuff.
* Completed function declarations and added prototypes.bde1995-11-227-35/+39
| | | | | | Removed some unnecessary #includes. Fixed warnings about nested externs.
* All:dg1995-11-061-20/+20
| | | | | | | | | | | | Changed vnodep -> vp for consistency with the rest of the kernel, and changed iparams -> imgp for brevity. kern_exec.c: Explicitly initialized some additional parts of the image_params struct to avoid bzeroing it. Rewrote the set-id code to reduce the number of logical tests. The rewrite exposed a mostly benign bug in the algorithm: traced set-id images would get ktracing disabled even if the set-id didn't happen for other reasons.
* Fix the getdirentries of ibcs2 to handle uneven DIRBLKSIZ offsets.swallace1995-10-101-6/+8
| | | | | | | Slight modification from previous fix. Also, fix problem where an entry would be skipped next call if not enough room in buffer current call.
* Submitted by: Juergen Lock <nox@jelal.hb.north.de>julian1995-10-041-11/+25
| | | | | | | | | | | Obtained from: other people on the net ? 1. stepping over syscalls (gdb ni) sends you to DDB, and returned to the wrong address afterwards, with or without DDB. patch in i386/i386/trap.c below. 2. the linux emulator (modload'ed) still causes panics with DIAGNOSTIC, re-applied a patch posted to one of the lists...
* Reviewed by: julian with quick glances by bruce and othersjulian1995-08-281-7/+2
| | | | | | | | | | | | | | | | | | | | | | Submitted by: terry (terry lambert) This is a composite of 3 patch sets submitted by terry. they are: New low-level init code that supports loadbal modules better some cleanups in the namei code to help terry in 16-bit character support some changes to the mount-root code to make it a little more modular.. NOTE: mounting root off cdrom or NFS MIGHT be broken as I haven't been able to test those cases.. certainly mounting root of disk still works just fine.. mfs should work but is untested. (tomorrows task) The low level init stuff includes a total rewrite of init_main.c to make it possible for new modules to have an init phase by simply adding an entry to a TEXT_SET (or is it DATA_SET) list. thus a new module can be added to the kernel without editing any other files other than the 'files' file.
* Modified linux_readdir() function to properly handle Linux readdir()swallace1995-08-281-14/+27
| | | | | | calls with a byte size of 1. This special case was not correctly emulated. Now programs such as a simple 'ls' to a commercial Macintosh emulator called 'executor' will work correctly.
* First incarnation of our Linux emulator or rather compatibility code.sos1995-06-257-0/+3026
This first shot only incorporaties so much functionality that DOOM can run (the X version), signal handling is VERY weak, so is many other things. But it meets my milestone number one (you guessed it - running DOOM). Uses /compat/linux as prefix for loading shared libs, so it won't conflict with our own libs. Kernel must be compiled with "options COMPAT_LINUX" for this to work.
OpenPOWER on IntegriCloud