lkml.org 
[lkml]   [2008]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[fix] Re: [git pull] VFS patches
    	Arrgghhh...

    Sorry about that, I'd been sure I'd folded that one, but it actually got
    lost. Please apply - that breaks execve().

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
    ---

    diff --git a/kernel/fork.c b/kernel/fork.c
    index 4df3949..a647542 100644
    --- a/kernel/fork.c
    +++ b/kernel/fork.c
    @@ -1788,7 +1788,7 @@ bad_unshare_out:
    int unshare_files(struct files_struct **displaced)
    {
    struct task_struct *task = current;
    - struct files_struct *copy;
    + struct files_struct *copy = NULL;
    int error;

    error = unshare_fd(CLONE_FILES, &copy);

    \
     
     \ /
      Last update: 2008-04-26 06:29    [W:2.971 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site