[lkml]   [2010]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCHv4 1/4] procfs: Introduce socinfo under /proc
    On Mon, May 10, 2010 at 01:13:00PM +0200, ext Paul Mundt wrote:
    >You'll still need the show function, but all of the rest of this is just
    >duplicating what single_open() already does. If the socinfo string is
    >static you may also want to rework this a bit so you can just stash the
    >string in the proc_dir_entry private data. Combine this with something
    >like kstrdup() and you'll save yourself a bit of stack while you're at

    doesn't ksrtdup() cause memleak ?? Or is it only when used with
    module parameters ??


     \ /
      Last update: 2010-05-10 14:59    [W:0.019 / U:3.456 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site