DragonFly BSD
DragonFly commits List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_prot.c kern_resource.c kern_xxx.c syscalls.master


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 23 Mar 2006 09:09:08 -0800 (PST)

:drhodus     2006/03/23 07:21:41 PST
:
:DragonFly src repository
:
:  Modified files:
:    sys/kern             kern_prot.c kern_resource.c kern_xxx.c 
:                         syscalls.master 
:  Log:
:  Mark a few more system calls MPSAFE.
:  getppid()
:  getegid()
:  uname()
:  getrlimit()
:  
:  Revision  Changes    Path
:  1.22      +3 -0      src/sys/kern/kern_prot.c
:  1.25      +2 -0      src/sys/kern/kern_resource.c
:  1.9       +1 -0      src/sys/kern/kern_xxx.c
:  1.29      +4 -4      src/sys/kern/syscalls.master
    
    Woa, hold on there.  Those are not all MP safe.  Please discuss such
    changes on the lists before committing.

    getegid(), uname(), and getrlimit() should be reasonably safe.  However,
    getppid() is not MP safe as it accesses a process other then the
    current process and because the parent process can disassociate from
    the child.

    So, undo the getppid() change.

						-Matt



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