git: linux emu - peripheral changes
Alex Hornung
alexh at crater.dragonflybsd.org
Sat Mar 13 00:25:16 PST 2010
commit 8ba5f7efb82fab63aca8d82c49af39cbc707d33b
Author: Alex Hornung <ahornung at gmail.com>
Date: Fri Mar 12 22:59:30 2010 +0000
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
Summary of changes:
sys/kern/imgact_elf.c | 3 +
sys/kern/kern_event.c | 97 ++++++++++++++++++++++++++++---------
sys/kern/kern_exec.c | 7 +++
sys/kern/kern_exit.c | 15 +++++-
sys/kern/kern_fork.c | 4 ++
sys/kern/kern_time.c | 5 +-
sys/kern/sysv_sem.c | 30 +++++++++++-
sys/kern/sysv_shm.c | 3 +-
sys/platform/pc32/i386/support.s | 33 +++++++++++++
sys/platform/pc32/i386/trap.c | 13 +++++
sys/sys/event.h | 10 +++-
sys/sys/eventhandler.h | 5 ++
sys/sys/proc.h | 2 +
sys/sys/sem.h | 1 +
sys/sys/systm.h | 1 +
15 files changed, 196 insertions(+), 33 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8ba5f7efb82fab63aca8d82c49af39cbc707d33b
--
DragonFly BSD source repository
More information about the Commits
mailing list