"change_to_user" in process_blocking_lock_queue()

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Nov 4 16:40:48 GMT 2008


Hi, Jeremy!

Right now I wonder why we do the change_to_user() in
process_blocking_lock_queue(). As far as I can see we only
do operations on already opened file descriptors or the
brlock.tdb which also is already open. Neither in blocking.c
nor in locking/*.c we look at current_user, so a user-level
access check is also not done.

Do you remember why that change_to_user() is there? Am I
missing something?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20081104/91128fee/attachment.bin


More information about the samba-technical mailing list