Commit 537166f6 authored by Al Viro's avatar Al Viro Committed by Bartlomiej Zolnierkiewicz
Browse files

fix execve()



	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: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent b1721d0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);