git: linux emu - peripheral changes

看板DFBSD_commit作者時間16年前 (2010/03/13 16:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 8ba5f7efb82fab63aca8d82c49af39cbc707d33b Author: Alex Hornung <ahornung@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
文章代碼(AID): #1Bcqs6cW (DFBSD_commit)