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  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:   Thu, 28 Mar 2019 17:37:50 +0100
From:   Linus Walleij <>
To:     Bartosz Golaszewski <>
Cc:     "open list:GPIO SUBSYSTEM" <>,
        "" <>,
        Bartosz Golaszewski <>
Subject: Re: [PATCH] gpio: mockup: fix debugfs read

On Fri, Mar 22, 2019 at 6:30 PM Bartosz Golaszewski <> wrote:

> From: Bartosz Golaszewski <>
> The debugfs read callback must advance ppos or users using read() on
> the file descriptor will never get the EOL. This wasn't spotted before
> as I was using busybox cat for testing which uses sendfile() internally
> and only noticed it now when switched to cat from coreutils.
> Fixes: 2a9e27408e12 ("gpio: mockup: rework debugfs interface")
> Signed-off-by: Bartosz Golaszewski <>

Patch applied for fixes.
Sorry for slow application, I was in no-wifi-land for some days.

Linus Walleij

Powered by blists - more mailing lists