lkml.org 
[lkml]   [2009]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 74/94] [PATCH 43/44] [CVE-2009-0029] System call wrappers part 33
    2.6.28-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: Heiko Carstens <heiko.carstens@de.ibm.com>

    commit 2b66421995d2e93c9d1a0111acf2581f8529c6e5 upstream.

    Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    fs/pipe.c | 2 +-
    include/linux/syscalls.h | 1 +
    2 files changed, 2 insertions(+), 1 deletion(-)

    --- a/fs/pipe.c
    +++ b/fs/pipe.c
    @@ -1064,7 +1064,7 @@ SYSCALL_DEFINE2(pipe2, int __user *, fil
    return error;
    }

    -asmlinkage long sys_pipe(int __user *fildes)
    +SYSCALL_DEFINE1(pipe, int __user *, fildes)
    {
    return sys_pipe2(fildes, 0);
    }
    --- a/include/linux/syscalls.h
    +++ b/include/linux/syscalls.h
    @@ -685,6 +685,7 @@ asmlinkage long sys_ppoll(struct pollfd
    struct timespec __user *, const sigset_t __user *,
    size_t);
    asmlinkage long sys_pipe2(int __user *, int);
    +asmlinkage long sys_pipe(int __user *);

    int kernel_execve(const char *filename, char *const argv[], char *const envp[]);



    \
     
     \ /
      Last update: 2009-01-15 21:49    [W:6.377 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site