lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110126131703.3033ad87@lxorguk.ukuu.org.uk>
Date:	Wed, 26 Jan 2011 13:17:03 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Evan Lavelle <sa212+lkml@...onix.com>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: Kernel deferring driver 'close' call: workaround?

> 'strace' shows that the 'close' succeeds, but the driver debug output 
> shows that the driver close/release (step 2) is not called before the 
> next open (step 3), so the open fails.

I imagine the user has a bug in their app. The close method is called on
the final close of the handle. That means if for example you do something
like fork off a child process and forget to close the handle then it
won't actually close down until the final user closes it.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ