Question on how smbd handles signals (possible bug)

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Sep 23 17:21:11 GMT 2008


On Tue, Sep 23, 2008 at 06:09:15PM +0100, tvrtko.ursulin at sophos.com wrote:
> Are you 100% sure about this? I wasn't so I went to read about it and 
> found at least that you can make open block if you set a lease on the 
> file. Man page for fcntl (on modern Linux at least) describes this in the 
> 'Leases' section. It says that an open (and truncate) can be blocked until 
> the process holding a lease on that file releases it. If a signal arrives 
> at that point EINTR is documented to happen.

Ok, which process is sending us the signal? In normal
operations, this should not happen. The only signal that we
expect here is the TERM signal which shuts us down anyway.

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/20080923/55be2876/attachment.bin


More information about the samba-technical mailing list