Subject: CVS commit: src/sys/compat/mach
To: None <source-changes@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 02/02/2003 21:07:18
Module Name: src
Committed By: manu
Date: Sun Feb 2 19:07:18 UTC 2003
Modified Files:
src/sys/compat/mach: mach_exec.c mach_exec.h mach_host.c mach_host.h
mach_namemap.c mach_port.c mach_port.h
Log Message:
- WindowServer wants io_master_port? Give it a port!
- introduce mach_port_destroy (badly emulated for now)
- on fork/exec, don't set l_private, as the process might be not mature
enough to survive a proc_representative_lwp call (-> kernel panic)
Once we give WindowServer the io_master_port, it sends a message to it:
305 WindowServer MMSG id 2804 [0x1310009 -> 0x131000e] -12016 bytes, flags 0
x1513
0x0000 0x00001513 0xffffd110 0x0131000e 0x01310009 .........1...1..
0x0010 0xffffcfd0 0x00000af4 0x00000000 0x00000000 ................
0x0020 0xffffcf60 0x00000052 0x3c646963 0x74204944 ...`...R<dict ID
0x0030 0x3d223022 0x3e3c6b65 0x793e494f 0x50726f76 ="0"><key>IOProv
0x0040 0x69646572 0x436c6173 0x733c2f6b 0x65793e3c iderClass</key><
0x0050 0x73747269 0x6e672049 0x443d2231 0x223e494f string ID="1">IO
0x0060 0x48494453 0x79737465 0x6d3c2f73 0x7472696e HIDSystem</strin
0x0070 0x673e3c2f 0x64696374 0x3e0047cc g></dict>.G.
Did you ever dreamt about system call arguments in XML?
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/compat/mach/mach_exec.c
cvs rdiff -r1.14 -r1.15 src/sys/compat/mach/mach_exec.h
cvs rdiff -r1.21 -r1.22 src/sys/compat/mach/mach_host.c
cvs rdiff -r1.9 -r1.10 src/sys/compat/mach/mach_host.h
cvs rdiff -r1.12 -r1.13 src/sys/compat/mach/mach_namemap.c
cvs rdiff -r1.32 -r1.33 src/sys/compat/mach/mach_port.c
cvs rdiff -r1.17 -r1.18 src/sys/compat/mach/mach_port.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.