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

Joerg Sonnenberger joerg at crater.dragonflybsd.org
Fri May 7 03:10:27 PDT 2004


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





More information about the Commits mailing list