projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1721d0
)
fix execve()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 26 Apr 2008 15:36:31 +0000
(17:36 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sat, 26 Apr 2008 15:36:31 +0000
(17:36 +0200)
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>
kernel/fork.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/fork.c
b/kernel/fork.c
index efb618fc8ffe4724aafa4d14ecb324a12df1ddea..cb46befdd3a060bd3b6d96fc64acaadbf74c4e39 100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-1787,7
+1787,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, ©);