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]
Date:	Sun, 3 May 2009 21:31:11 +0100
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Davide Libenzi <davidel@...ilserver.org>
Cc:	Gregory Haskins <ghaskins@...ell.com>, kvm@...r.kernel.org,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	avi@...hat.com
Subject: Re: [KVM PATCH v3 2/2] kvm: add support for irqfd via
	eventfd-notification interface

On Sun, May 03, 2009 at 01:11:39PM -0700, Davide Libenzi wrote:
> On Sun, 3 May 2009, Al Viro wrote:
> 
> > IOW, the sane solution would be to export something that returns your
> > struct file *.  And stop playing with fd completely.
> 
> This builds but it's not tested at all.
> 
> - Make all the work of the old anon_inode_getfd(), done by a new 
>   anon_inode_getfile(), with anon_inode_getfd() using its services
> 
> - Make all the work done by sys_eventfd(), done by a new 
>   eventfd_file_create() (which in turn uses anon_inode_getfile()), with 
>   sys_eventfd() using its services
> 
> IRQfd can use eventfd_file_create(), fget(), get_unused_fd_flags() and 
> fd_install() just before returning.
> Is that what you had in mind?

More or less, but I'd like to see the irqfd side of that...
--
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