linux emu - peripheral changes
authorAlex Hornung <ahornung@gmail.com>
Fri, 12 Mar 2010 22:59:30 +0000 (22:59 +0000)
committerAlex Hornung <ahornung@gmail.com>
Sat, 13 Mar 2010 07:35:53 +0000 (07:35 +0000)
commit8ba5f7efb82fab63aca8d82c49af39cbc707d33b
tree4d8da5a7ba32cc5c374ffcc8c4f62ca730b2fe0a
parent795adb22603dc0509b704b8e4e5c1c82c888256a
linux emu - peripheral changes

* These are peripheral changes to prepare for the import of the updated
  linuxulator:

* hooks (eventhandler) for process creation and process exit.

* splitting up of sys_kevent into sys_kevent + kern_kevent, including
  generic copyiin and copyout functions.
  Obtained-from: FreeBSD

* adding a p_textnch to store the namecache handle for the .text file.

* minor changes to sysv_sem and sysv_shm to support linux-specific
  magic.

* bring in casuword (compare and set userland word)
  Obtained-from: FreeBSD

* add a hook for userret from syscall2
Inspired-by: NetBSD
15 files changed:
sys/kern/imgact_elf.c
sys/kern/kern_event.c
sys/kern/kern_exec.c
sys/kern/kern_exit.c
sys/kern/kern_fork.c
sys/kern/kern_time.c
sys/kern/sysv_sem.c
sys/kern/sysv_shm.c
sys/platform/pc32/i386/support.s
sys/platform/pc32/i386/trap.c
sys/sys/event.h
sys/sys/eventhandler.h
sys/sys/proc.h
sys/sys/sem.h
sys/sys/systm.h