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>] [day] [month] [year] [list]
Date:   Wed, 17 Oct 2018 17:32:10 +0300
From:   Ramon Fried <ramon.fried@...il.com>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        kstewart@...uxfoundation.org, tglx@...utronix.de,
        pombredanne@...b.com, byungchul.park@....com, mingo@...nel.org,
        open list <linux-kernel@...r.kernel.org>
Subject: RFC: completion: support poll()

Hi.
If what I'm suggesting makes no sense please tell me. :)

In a char driver I'm writing I'm using completion to wait for transmit
operation to complete.
The drivers also exposes poll() functionality to wait for transmission
to complete.

poll_wait() requires a wait queue, is there a reason why can't I use
the wait queue that is hidden inside the completion struct ?

I'm suggesting to add an API to get the wait_queue so it can be used
for the above scenario.

Appreciate your comments.
Thanks,
Ramon.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ