Fix two bugs in the lockf code. The first one is a missing reinitialization
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 9 May 2004 11:51:10 +0000 (11:51 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Sun, 9 May 2004 11:51:10 +0000 (11:51 +0000)
commit9450757869a8abec711bdcf4f78b861926b99ec5
tree06cb8f6a43536a8922d2e2576e2617a18f0633e2
parent39b3370f090a6e4016eb020a2a3cbd4acd3fb4f5
Fix two bugs in the lockf code. The first one is a missing reinitialization
of the type field if an existing lock is extended to cover a bigger range
with a different type. The second is related to the problem reported by
Joerg Anslik <joerg@anslik.de> and comes from capturing real uid changes,
but using the effective uid userinfo structure for the accounting.
sys/kern/kern_lockf.c
sys/kern/kern_prot.c