[lkml]   [2007]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: bug reading /proc/sys/kernel/*: only first byte read.
    Eric W. Biederman wrote:
    > However as far as I can tell the code has this limitation
    > deliberately for simplicity.
    > Getting the string side of this fixed even by itself is
    > worthwhile, although it might be worth teach people
    > about sys_uname and /bin/uname. It seems is the biggest thing
    > people look at /proc/sys/ for...

    I come across this very issue when I discovered another bug,
    using un-initialized pipefs structures during early hotplug
    calls. I know about /bin/uname, but it requires a pipe, so
    wont work. Obvious alternative is /proc/sys/version, which
    is alot faster too (no fork+exec overhead).

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-01-30 17:01    [W:0.020 / U:7.248 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site