byte range locking

Jeremy Allison jeremy at valinux.com
Thu Jan 13 00:59:44 GMT 2000


Andrew Tridgell wrote:
> 
> - I won't do the fd multiplexing. That means I will need to restore
>   posix locks after a close on a fd that is opened twice. there is a
>   race here, but I think the race is better than the fd multiplexing
>   and the need to always open rw. Our current hack doesn't always work
>   anyway if the same smbd is serving multiple uids.

Yes it does (as far as I know). In what way does it fail ?
(look at the uid_cache code). I *really* don't like the
idea of introducing races here. This will silently corrupt
Word files.

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


More information about the samba-technical mailing list