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]
Date:   Fri, 17 Aug 2018 19:27:17 +0200
From:   "Maciej S. Szmigiero" <mail@...iej.szmigiero.name>
To:     Jens Axboe <axboe@...nel.dk>
Cc:     Paolo Valente <paolo.valente@...aro.org>,
        linux-block@...r.kernel.org,
        linux-kernel <linux-kernel@...r.kernel.org>,
        Arianna Avanzini <avanzini.arianna@...il.com>
Subject: Re: [PATCH] block, bfq: return nbytes and not zero from struct cftype
 .write() method

On 16.08.2018 21:11, Jens Axboe wrote:
> On 8/15/18 3:56 PM, Maciej S. Szmigiero wrote:
>> The value that struct cftype .write() method returns is then directly
>> returned to userspace as the value returned by write() syscall, so it
>> should be the number of bytes actually written (or consumed) and not zero.
>>
>> Returning zero from write() syscall makes programs like /bin/echo or bash
>> spin.
> 
> Applied, thanks.

Thanks.

> Just a heads-up that gmail thinks your email is spam.

Thanks for the information - it looks like gmail just doesn't like my
email server for some reason.

Maciej

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ