DragonFly commits List (threaded) for 2003-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern kern_descrip.c kern_event.c kern_exit.c kern_fork.c kern_linker.c kern_module.c kern_ntptime.c kern_prot.c kern_resource.c kern_sig.c kern_sysctl.c kern_threads.c kern_xxx.c sys_generic.c sys_pipe.c sys_process.c sysv_msg.c sysv_sem.c ...
dillon 2003/07/26 11:12:44 PDT
Modified files:
sys/kern kern_descrip.c kern_event.c kern_exit.c
kern_fork.c kern_linker.c kern_module.c
kern_ntptime.c kern_prot.c
kern_resource.c kern_sig.c kern_sysctl.c
kern_threads.c kern_xxx.c sys_generic.c
sys_pipe.c sys_process.c sysv_msg.c
sysv_sem.c sysv_shm.c uipc_syscalls.c
vfs_aio.c vfs_syscalls.c
Log:
syscall messaging 2: Change the standard return value storage for system
calls from proc->p_retval[] to the message structure embedded in the syscall.
System calls used to set their non-error return value in p_retval[] but
must now set it in the message structure. This is a necessary precursor to
any sort of asynchronizatino, for obvious reasons.
This work was particularly annoying because all the emualtion code declares
and manually fills in syscall argument structures.
This commit could potentially destabilize some of the emulation code but I
went through the most important Linux emulation code three times and tested it
with linux-mozilla, so I am fairly confident that I got it right.
Note: proper linux emulation requires setting the fallback elf brand to 3 or
it will default to SVR4. It really ought to default to linux (3), not SVR4.
sysctl -w kern.fallback_elf_brand=3
Revision Changes Path
1.9 +10 -10 src/sys/kern/kern_descrip.c
1.7 +6 -6 src/sys/kern/kern_event.c
1.20 +5 -5 src/sys/kern/kern_exit.c
1.14 +6 -6 src/sys/kern/kern_fork.c
1.9 +11 -16 src/sys/kern/kern_linker.c
1.4 +10 -14 src/sys/kern/kern_module.c
1.6 +5 -4 src/sys/kern/kern_ntptime.c
1.7 +16 -16 src/sys/kern/kern_prot.c
1.10 +1 -1 src/sys/kern/kern_resource.c
1.14 +4 -4 src/sys/kern/kern_sig.c
1.10 +1 -1 src/sys/kern/kern_sysctl.c
1.6 +6 -8 src/sys/kern/kern_threads.c
1.6 +1 -3 src/sys/kern/kern_xxx.c
1.8 +27 -22 src/sys/kern/sys_generic.c
1.6 +7 -7 src/sys/kern/sys_pipe.c
1.8 +5 -4 src/sys/kern/sys_process.c
1.7 +4 -4 src/sys/kern/sysv_msg.c
1.6 +3 -3 src/sys/kern/sysv_sem.c
1.7 +3 -3 src/sys/kern/sysv_shm.c
1.6 +21 -22 src/sys/kern/uipc_syscalls.c
1.9 +16 -16 src/sys/kern/vfs_aio.c
1.11 +14 -16 src/sys/kern/vfs_syscalls.c
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]