lkml.org 
[lkml]   [2007]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 4096 byte limit to /proc/PID/environ ?

    On Sep 5 2007 18:00, James Pearson wrote:
    >
    > OK, here is the patch (without the long line) against 2.6.23-rc5 - what else
    > needs to be done to get it committed?

    Someone has to point out CodingStyle, so I'll ruin everyone's day now :)

    > +static ssize_t environ_read(struct file * file, char __user * buf,
    ^ ^
    be gone these spaces.

    > + while (count > 0) {
    > + int this_len, retval;
    > +
    > + this_len = mm->env_end - (mm->env_start + src);
    > +
    > + if (this_len <= 0) {
    > + break;
    > + }

    Be gone, braces.



    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-09-06 14:33    [W:0.022 / U:89.212 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site