cvs commit: src/sys/kern kern_prot.c kern_resource.c kern_xxx.c         syscalls.master
    Matthew Dillon 
    dillon at apollo.backplane.com
       
    Thu Mar 23 09:14:09 PST 2006
    
    
  
: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
    
    
More information about the Commits
mailing list