Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   manu
Date:           Fri Dec 27 09:59:27 UTC 2002

Modified Files:
        src/sys/arch/i386/i386: mach_machdep.c
        src/sys/arch/powerpc/powerpc: mach_machdep.c
        src/sys/compat/darwin: darwin_thread.c
        src/sys/compat/mach: mach_exec.c mach_exec.h mach_host.c mach_message.c
            mach_port.c mach_port.h mach_semaphore.c mach_task.c mach_thread.c
            mach_thread.h

Log Message:
Several things:
1) rights should be shared by the threads within a process. While it would
be easier to handle this with the struct proc/struct lwp split, we attempt to
do this now by sharing the right lists. Because each right holds a reference
to struct proc, this might cause some problems later.
2) in pthread_exit, really exit the thread. Also reintialize the righ tlist to
make sure we will not destroy the parent's right list
3) rights can hold multiple permissions on a port (ie: send and receive). Fix th
is.
4) first attempt on right carried by messages. We still have to do rights carrie
d in the message body (complex messages).


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/i386/i386/mach_machdep.c
cvs rdiff -r1.7 -r1.8 src/sys/arch/powerpc/powerpc/mach_machdep.c
cvs rdiff -r1.2 -r1.3 src/sys/compat/darwin/darwin_thread.c
cvs rdiff -r1.18 -r1.19 src/sys/compat/mach/mach_exec.c
cvs rdiff -r1.10 -r1.11 src/sys/compat/mach/mach_exec.h \
    src/sys/compat/mach/mach_port.h
cvs rdiff -r1.17 -r1.18 src/sys/compat/mach/mach_host.c
cvs rdiff -r1.11 -r1.12 src/sys/compat/mach/mach_message.c
cvs rdiff -r1.20 -r1.21 src/sys/compat/mach/mach_port.c
cvs rdiff -r1.3 -r1.4 src/sys/compat/mach/mach_semaphore.c
cvs rdiff -r1.15 -r1.16 src/sys/compat/mach/mach_task.c
cvs rdiff -r1.9 -r1.10 src/sys/compat/mach/mach_thread.c
cvs rdiff -r1.5 -r1.6 src/sys/compat/mach/mach_thread.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index