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

Joerg Sonnenberger joerg at
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 
  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

More information about the Commits mailing list