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

cvs commit: src/sys/kern kern_lockf.c kern_prot.c src/sys/sys lockf.h


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 7 May 2004 03:09:25 -0700 (PDT)

joerg       2004/05/07 03:09:25 PDT

DragonFly src repository

  Modified files:
    sys/kern             kern_lockf.c kern_prot.c 
    sys/sys              lockf.h 
  Log:
  Fix panic due to the way change_ruid handles the userinfo.
  The old code assumed that both the structure for the old and the new
  user exists. This works fine if change_ruid is called for a real change,
  but doesn't if new_ruid == ruid since the old structure == new struct, which
  is dropped in the middle.
  
  Revision  Changes    Path
  1.11      +7 -8      src/sys/kern/kern_lockf.c
  1.17      +2 -1      src/sys/kern/kern_prot.c
  1.6       +2 -2      src/sys/sys/lockf.h


http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lockf.c.diff?r1=1.10&r2=1.11&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_prot.c.diff?r1=1.16&r2=1.17&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/sys/lockf.h.diff?r1=1.5&r2=1.6&f=h



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