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: <20180109164149.GA12001@lst.de>
Date:   Tue, 9 Jan 2018 17:41:49 +0100
From:   Christoph Hellwig <hch@....de>
To:     Al Viro <viro@...IV.linux.org.uk>
Cc:     Christoph Hellwig <hch@....de>, Avi Kivity <avi@...lladb.com>,
        linux-aio@...ck.org, linux-fsdevel@...r.kernel.org,
        netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 04/31] net: add support for ->poll_mask in proto_ops

On Tue, Jan 09, 2018 at 05:32:37PM +0100, Christoph Hellwig wrote:
> On Sat, Jan 06, 2018 at 07:16:22PM +0000, Al Viro wrote:
> > > +	__poll_t	(*poll_mask) (struct file *file, struct socket *sock,
> > > +				      __poll_t events);
> > 
> > Does that sucker need struct file?
> 
> It turns out udp needs it:

But as mentioned in my last mail it can simply use sock->file.

Sigh, time for more coffee.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ