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] [day] [month] [year] [list]
Message-ID: <18909.36931.482484.941387@notabene.brown>
Date:	Thu, 9 Apr 2009 16:05:55 +1000
From:	Neil Brown <neilb@...e.de>
To:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Cc:	Greg Kroah-Hartman <gregkh@...e.de>,
	LKML <linux-kernel@...r.kernel.org>,
	Al Viro <viro@...IV.linux.org.uk>
Subject: Re: [PATCH] sysfs poll should keep the poll rule of normal regular file.

On Thursday April 9, kosaki.motohiro@...fujitsu.com wrote:
> > On Wednesday April 8, kosaki.motohiro@...fujitsu.com wrote:
> > > Because Ruby (the scripting language) VM assume select system-call against regular file don't block.
> > > (POSIX gurantee it.)
> > > But sysfs_poll() don't keep this rule although sysfs file can read and write always.
> > 
> > It would be nice to include a reference to where POSIX (or SUS)
> > guarantees it - though I suspect you are right.
> 
> Oh, very good opinion.
> 
> following explanation is better?
> 
> poll is requireed "Regular files shall always poll TRUE for reading and
> writing." by SUSv3.
>   see http://www.opengroup.org/onlinepubs/009695399/functions/poll.html
> 

Yes, that's excellent, thanks.

NeilBrown
--
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