fcntl F_SETLKW64 failing on Solaris

Jeremy Allison jra at samba.org
Wed Jan 9 16:25:02 GMT 2002


On Thu, Jan 10, 2002 at 11:11:59AM +1100, Anton Blanchard wrote:

> But samba never SEGVs Jeremy :)

Hahahahaahahahahaha ! :-) :-) :-).

> Yes there is no way out if something
> dies with a spinlock. But if a process dies inside a critical region its
> probably better to start from scratch, who knows what ugly things have
> happened to the tdb by that stage.

Well, you're right of course. But smbd now does try and do
validation of share entries from the tdb before returning
them, so there is some measur of recovers there. But that's
mainly for errent smbd's (logic bugs :-) rather than a 
corrupt tdb, from which there is no return..... :-) :-).

Jeremy.




More information about the samba-technical mailing list