lkml.org 
[lkml]   [2012]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Support single byte reads from integers published in procfs by kernel/sysctl.c
    On Mon, 23 Jan 2012 08:47:51 -0800
    Earl Chew <echew@ixiacom.com> wrote:

    > > Rereading different bytes of the integer multiple times when the integer
    > > may be changing does not seem like a reasonable implementation.
    >
    > Yes. I agree with you. I shall re-work the patch as per your suggestion.

    Yes, this is a bug and procfs should support byte-at-a-time reading of these
    strings. And yes, they are strings! Of digits.

    We fixed an instance of this in procfs a while ago (maybe a year ago?).
    But I forget where it was. It is surprising that a bug of this nature
    survived so long.



    \
     
     \ /
      Last update: 2012-01-24 23:53    [W:4.149 / U:1.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site