lkml.org 
[lkml]   [2000]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    Subjectlinux-2.2.16/fs/proc/array.c line 483: get_env() why it is not fixed?
    From
    Hi all

    It seems obvious to be:

    static int get_env(int pid, char * buffer)
    {
    struct task_struct *p;
    int retval;

    read_lock(&tasklist_lock);
    p = find_task_by_pid(pid);

    if (!p || !p->mm) {
    read_unlock(&tasklist_lock);
    return 0;
    }

    retval= get_array(p, p->mm->env_start, p->mm->env_end, buffer);
    read_unlock(&tasklist_lock);
    return retval;
    }

    The same applies to get_status(), and other functions in the same file...

    Am I right?

    Is my correction Ok?

    Please CC: your reply to uaca@alumni.uv.es

    Thanks

    Ulisses

    Debian/GNU Linux: a dream come true
    -----------------------------------------------------------------------------
    "Computers are useless. They can only give answers." Pablo Picasso

    ---> Visita http://www.valux.org/ para saber acerca de la <---
    ---> Asociación Valenciana de Usuarios de Linux <---


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

    \
     
     \ /
      Last update: 2005-03-22 13:57    [W:2.105 / U:0.716 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site