Skip to content

Commit

Permalink
fix execve()
Browse files Browse the repository at this point in the history
	Arrgghhh...

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

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Al Viro authored and Bartlomiej Zolnierkiewicz committed Apr 26, 2008
1 parent b1721d0 commit 537166f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/fork.c
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,7 @@ asmlinkage long sys_unshare(unsigned long unshare_flags)
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);
Expand Down

0 comments on commit 537166f

Please sign in to comment.