Thu Jun  9 00:39:31 1994  Eric Youngdale  (eric@esp22)

	Fix up a few things that have gotten broken lately:

	* Fix emulator so that it works again with linux-1.0. 

	* New copy of trace binary from Brandon (compiled on SCO system).

	* Change permissions of all text files to 644.

	* Add ibcs_msgsys to callmap (somehow got dropped before).

Thu May 26 11:58:18 BST 1994

	* Don't include the 0.0.0.0 to localhost address mapping if we
	  are building for 1.1.15+. This is mapped in the kernel as of
	  1.1.6 and since we don't support 1.1 kernels before 15...
	  -- Mike

	* Type of signal map vectors should be unsigned long not int.
	  -- Mike

	* Allow tracing to be compiled in to the COFF loader and turned
	  on and off with the Tools/trace program.
	  -- Mike

	* Signal maps moved out to maps/signal.inc. The only special
	  mapping that happens is for ISC which has a problem with
	  Oracle sending SIGSTOP to its backend when SIGSTOP doesn't
	  appear to be defined for ISC. We just map SIGSTOP to 0 so
	  it appears to work but does nothing.
	  -- Mike

	* Changes for 1.1.15. This will not work with kernels between
	  1.1.10 and 1.1.14 inclusive - guaranteed. It should still
	  work with the 1.0.x series but has not been tested recently.
	  It probably works against 1.1.0 to 1.1.13 inclusive but that
	  is purely coincidence - you shouldn't be using old 1.1.x
	  kernels as it's a development series.
	  -- Mike


Tue May 24 17:27:54 1994  Eric Youngdale  (eric@tantalus)

	* binfmt_xout.c: Use linux_binfmt struct, register_binfmt,
	  unregister_binfmt as in pl14.

	* binfmt_elf.c, binfmt_xout.c: Likewise.

	* signals.c: Make signals[] and lsignals[] global variables.

	* ibcs/include/ibcs.h: Add prototypes for signals[] and lsignals[].


Tue May 24 10:37:01 BST 1994

	* Added map entries for the ISC personality to all the maps
	  files. Must be more careful adding personalities.
	  -- Mike

	* Added Oracle to the COMPAT file.
	  -- Mike

	* Remember the problem with interrupting an Informix 4GL program
	  causing it to go psycho because of I/O errors from the tty?
	  Well, this doesn't happen with the new tty drivers in 1.1.13.
	  I never found why it happened...
	  -- Mike

	* Noted that the 1.1.11 kernel patches are still ok with 1.1.13.
	  -- Mike


Mon May 23 08:50:21 BST 1994

	* Mapped ISC sysconf() to the existing Xenix sysconf(). This
	  looks right but isn't checked at all.
	  -- Mike

	* Added ISC TCSETPGRP and TCGETPGRP ioctl traps.
	  -- Mike


Thu May 19 09:26:34 BST 1994

	* Added a bug hunting section to the README.
	  -- Mike

	* Always access the socket layer by picking up the file operations
	  from an open socket descriptor. This removes the need for
	  kernel socket functions to be global and should be friendlier
	  towards a loadable socket layer one day.
	  -- Mike


Mon May 16 10:20:38 BST 1994

	* Always access system calls via the system call table regardless
	  of whether we are using a loadable module or linking directly
	  to the kernel. This allows other things to be loadable too.
	  -- Mike


Wed May 11 13:52:12 BST 1994

	* Added a tip on how to fix X font problems to the HINTS file.
	  Other "soft" changes welcome. Does anyone read the ChangeLog?
	  -- Mike

	* Introduced the PROD.Patches directory and put the WP install
	  fixes in there. Documented in COMPAT and README.
	  -- Mike

	* Added some hints on incompatible shell behaviour.
	  -- Mike


Mon May  9 11:07:52 BST 1994

	* Updated the 1.1 patch file for 1.1.11.
	  -- Mike

	* Additions for Interactive 4.0
	  -- Karl Kiniger (ki@kretz.co.at)


Fri May  6 12:03:00 BST 1994

	* Merged old sysfs.c with the new sysfs.c. The code will now
	  work against any kernel - 1.0, 1.1, 1.1.9, 1.1.10...
	  -- Mike


Thu May  5 10:39:52 BST 1994

	* Reworked for compatibility with 1.1.10. Kernel patches
	  are *not* updated yet. We expect the kernel changes to go
	  in to the official distribution any time now...
	  -- Mike


Tue May  3 12:03:31 BST 1994

	* Joe/Brad's IPC additions.


Fri Apr 29 10:06:10 BST 1994

	* Updated the README to explain the difference between sysfs.c
	  and sysfs.c.old
	  -- Mike


Wed Apr 27 11:38:52 BST 1994

	* Added mapping of chsize() to ftruncate(). Implemented nap()
	  using select().
	  -- Mike

	* Further fix to termios mapping for iexten and tostop.
	  -- Mike

	* Updated the 1.1.? patch. New ksyms.c with fewer symbols plus
	  removed all the socket patches. Sockfunc.h is no longer
	  required. The 1.0 patch isn't updated but the extra cruft
	  that's in there now shouldn't be any problem.
	  -- Mike


Tue Apr 26 11:49:07 BST 1994

	* Removed references to linux/sockfunc.h. We seem to have run
	  out of internal socket functions to put in it finally.
	  -- Mike

	* Removed use of socki_lookup(). This just wraps some checks
	  around inode->i_socket. We assume the socket layer is stable
	  by now...
	  -- Mike

	* Access [gs]etsockopt via the socketcall interface.
	  -- Mike

	* If we have to use our own CFLAGS look in the include directory
	  above in case we have been dropped in to the kernel.
	  -- Eric

	* Grab socket file operations when we create a socket rather
	  than linking against them directly. Similar to Eric's
	  changes but different...
	  -- Mike


Fri Apr 22 11:10:18 BST 1994

	* The 'x' class of ioctls are back to being termios rather
	  than termio. The problem was that the field size in iBCS
	  termios and Linux termios is different.
	  -- Mike

	* Added iBCS <-> Linux termios mapping. This is untested and
	  probably imperfect at this stage but nothing crashes with
	  this code...
	  -- Mike

	* The iBCS time() syscall doesn't take an argument, the save,
	  if any, is handled in the interface library.
	  -- Mike

	* Updated the 1.1 kernel patch to be against 1.1.8. It won't
	  work with anything less than 1.1.8 but then if you are
	  playing with 1.1 you should be playing with the latest...
	  This involves a change in the way sysfs() works. If you
	  are using 1.0 and have applications that call sysfs()
	  (practically none do) then you need to build with sysfs.c.old.
	  -- Mike

	* The Linux kernel 1.1.8 replaces the static file_systems
	  table with a linked list ready for loadable file systems.
	  Naturally, I was ready for this... :-(
	  -- Mike


Thu Apr 21 10:34:34 BST 1994

	* sysfs.c should be including linux/string.h to get the
	  inline string functions rather than needing library
	  functions.
	  -- Mike

	* Added code to map between Linux termio structs and SCO/iBCS
	  termio structs. There are slight differences. Mapping needs
	  to be done for termios structs too. Anything that uses termios
	  at this stage is likely to ge a nasty shock!
	  -- Mike


Tue Apr 19 22:56:55 1994  Eric Youngdale  (eric@esp22)
 
	* ibcs.h: Put declaration of sys_call_table outside of ifdef.
	  (So can be compiled into kernel instead as a module).


Tue Apr 19 10:21:17 BST 1994

	* It looks as though the 'x' class of ioctls should be termio
	  ioctls rather than termios. At least this is the case as far
	  as SCO 3.2.4 stty appears to be concerned.
	  -- Mike

	* Avoid copying the entire lock structure backwards and forwards
	  just to increment one field in open.c. There could be a problem
	  here - SCO has a sysid field *before* the pid field but only
	  if _XOPEN_SOURCE or _POSIX_SOURCE is defined at compile time.
	  There appears to be no obvious way to know what is being used???
	  -- Mike


Mon Apr 18 08:49:37 BST 1994

	* There appear to odd little niceties involved with SYSV which
	  depend on system configuration and the way users do things.
	  Added a HINTS file with known problems/workarounds.
	  -- Mike

	* Changed some annoying KERN_ERRs to KERN_DEBUGs in signal.c
	  -- Mike

	* Watch out for (mis)use of INADDR_ANY instead of localhost
	  (primarily by syslog() code?) and replace it with the
	  localhost address. We should perhaps do this for sendto()
	  as well? (Eric spotted this one on CorelDraw but it's a
	  problem with the standard libsocket.c)
	  -- Mike

	* Processes should be allowed to reduce their file size
	  limit but only increase it if they have root privileges.
	  -- Mike

	* Fixed the bug in [f]statfs where the first two arguments
	  to memcpt_tofs() were exchanged (spotted by Eric).
	  -- Mike

	* SCO seems to like utsys (v7_utsname) to return the same
	  thing for sysname and nodename fields just like the SCO
	  extended utsname structure has. The SVR4 (abi_utsname)
	  return is unknown at this time.
	  -- Mike

	* Removed comments on IPC from README. It *is* fixed?
	  -- Mike

	* Fix IPC which was broken by syscall changes. Also fix
	  structure mappings.
	  -- Joseph L. Portman III <baron@hebron.connected.com>


Thu Apr 14 11:27:24 BST 1994

	* At some stage SCO managed to build some of their binaries
	  with the copyright comment string in quotes so we have a
	  new recognition string in the COFF loader. (Seen in uname
	  on a 3.2.2 system).
	  -- Mike

	* If we have tracing compiled in then only give unsupported
	  syscall messages if we are tracing the API or the syscall
	  in question. This allows us to quieten unsupported but
	  unimportant syscalls.
	  -- Mike

	* Comment on the IPC limitations in the README file.
	  -- Mike

	* Added implementation of xnx_pathconf(). Actually it doesn't
	  look as if we really need it. The Microsoft C compiler seems
	  to be misusing it anyway and doesn't even care that it gets
	  an error.
	  -- Mike


Wed Apr 13 09:14:50 BST 1994

	* Added handling of TIOC[GS]PGRP.
	  -- Mike

	* Added implementation of xnx_eaccess(). This is currently
	  simpleminded because Linux access() is. My eaccess() may
	  even be wrong.
	  -- Mike

	* When tracing signal delivery we shouldn't be clearing the
	  signal flag after reporting it or the signal is never actually
	  delivered. I copied the assembler from the kernel and forgot
	  to deleted an opcode...
	  -- Mike

	* Signal 0 should have been identity mapped so kill 0 works.
	  -- Brandon S. Allbery (kf8nh@kf8nh.ampr.org) (bsa@kf8nh.wariat.org)

Tue Apr 12 14:30:25 BST 1994

	* Corrected file size passed to/from setrlimit/getrlimit
	  -- Graham Adams (gadams@ddrive.demon.co.uk)


Tue Apr 12 11:16:45 BST 1994

	* Added support for an obscure SCO extension that is used
	  to get SCO's extended utsname information.
	  -- Mike

	* Changed ipc.c to always go via the ipc syscall rather than
	  direct to internal functions. This should survive if ipc
	  isn't in the kernel. It should even do sensible things if
	  the ipc module is loaded/unloaded on us.
	  -- Mike

	* Initial changes to access system calls via sys_call_table
	  -- Mike


05 April 1994

	* Eric's pre-release fixes.


Wed Mar 30 22:35:28 1994  Eric Youngdale  (eric@esp22)
 
	* ioctl.c: Change 'F' to 'f' for SVr4 FIONREAD ioctl.

	* Makefile: Add svr4.c.
 
	* svr4.c: New file (sort of - it got lost in shuffle before).

	* include/ibcs/ibcs.h: Include prototypes for abi_uname.

	* maps/callmap.inc: Insert abi_uname in syscall number 135.
	Add sys_rename in slot 134 (emacs v18 requires this).


Tue Mar 29 23:32:35 1994  Eric Youngdale  (eric@esp22)

	* Makefile: Fix so that we do not need uname.  Use symbol from
	.config instead.

	* README: Update a bit.


28 March 1994

	* Preparation for release:
	  Tidy up documentation and create CREDITS file from the old
	  ToDo list.
	  -- Mike


27 March 1994

	* Preparation for release:
	  Move headers into a subdirectory.
	  Move maps into a subdirectory.
	  -- Mike


25 March 1994

	* Changed the COFF loader so that if the filesystem doesn't
	  support mmap we read in the whole lot initially and let
	  it page to swap if necessary. This is already in the x.out
	  loader, it should go in the ELF loader too at some point.
	  -- Mike


24 March 1994

	* Added a loader for x.out i386 small model binaries - i.e 386
	  Xenix programs. <=286, non-small model binaries are not
	  supported and not likely to be in the near future.
	  -- Mike


Wed Mar 23 23:12:54 1994  Eric Youngdale  (eric@esp22)

	* Add ioctl for 0x4004667f (FIONREAD) (used by SVr4).

	* map.h (map_segment.map): Make unsigned.

	* hrtsys.c: New file implementing parts of the hrtsys syscall.


02 March 1994

	* Add socket value mappings. This meant a general move round
	  to tidy things up and group map functions/tables.
	  There is a new kernel patch in the Patches directory called
	  net.patch which gives us access to the sock_*sockopts
	  functions directly.
	  -- Mike


28 February 1994

	* Implementation of poll().
	  -- Eric


25 February 1994

	* Pedantic change to call maps so that IBCS_function contains
	  a void * instead of a function pointer - we cast it as
	  necessary later in emulate.c. The warnings were annoying me.

	* Moved struct abi_sigaction from signal.c to abi4.h so it is
	  available for prototype declarations. Changed prototype for
	  abi_sigsuspend to correspond to implementation in signal.c.
	  -- Mike

	* Reversed out Eric's earlier signal patches and added new ones.
	  -- Mike

	* Updated trace code and trace control program to be useful.
	  Control of tracing individual functions is still not there
	  yet - perhaps another day.
	  Default trace mode is now none (i.e. only functions with
	  the trace flag set are traced). Use the trace program to
	  change the trace level.
	  -- Mike

	* File modes (open/fcntl flags) are different between Linux and
	  iBCS so we need to map between them. Open also requires this
	  so fcntl.c is now merged with open.c. Failure to set and reset
	  non-blocking mode was what was breaking Unipox.
	  -- Mike

	* Signal handling function changes to map to and from the Linux
	  signal set and sigaction flags correctly.
	  -- Eric


24 February 1994

	* Added code to the emulate() function to let us know when we
	  are about to process a signal on exit from the syscall.
	  -- Mike

	* Implemented proctl() as a no-op. It's not really relevent
	  under Linux.
	  -- Mike

	* Added argument count and type for eaccess()
	  -- Mike

	* Have emulate.c return -ENOSYS for unimplemented system calls
	  rather than zero.
	  -- Mike

	* Added Eric's patches to waitpid.

	* Created the ChangeLog!
