login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
10
Re: [Patch 5/9] fs/binfmt_em86.c: fix resource leaks
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Al Viro
Subject:
Re: [Patch 5/9] fs/binfmt_em86.c: fix resource leaks
Date: Saturday, May 10, 2008 - 12:25 pm
On Thu, May 08, 2008 at 09:52:30PM +0800, WANG Cong wrote:
quoted text
> ->load_binary()'s caller only frees resources which ->load_binary() applied > when it succeeded, so ->load_binary() itself should free the resources on > failure.
No, it should not. do_execve() will free them just fine. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[Patch 0/9] Fix resource leaks for exec related stuffs
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 1/9] fs/exec.c: export free_arg_pages
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 2/9] fs/exec.c: fix resource leaks and wrong goto's
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 3/9] fs/compat.c: fix resource leaks and wrong goto's
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 4/9] fs/binfmt_script.c: fix resource leaks
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 5/9] fs/binfmt_em86.c: fix resource leaks
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 6/9] fs/binfmt_misc.c: fix resource leaks
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 7/9] fs/exec.c: fix wrong return value of prepare_b ...
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 8/9] fs/binfmt_elf.c: fix wrong return values
, WANG Cong
, (Thu May 8, 6:52 am)
[Patch 9/9] fs/exec.c: fix a wrong goto path
, WANG Cong
, (Thu May 8, 6:52 am)
Re: [Patch 1/9] fs/exec.c: export free_arg_pages
, Al Viro
, (Sat May 10, 12:12 pm)
Re: [Patch 2/9] fs/exec.c: fix resource leaks and wrong goto's
, Al Viro
, (Sat May 10, 12:16 pm)
Re: [Patch 3/9] fs/compat.c: fix resource leaks and wrong ...
, Al Viro
, (Sat May 10, 12:21 pm)
Re: [Patch 4/9] fs/binfmt_script.c: fix resource leaks
, Al Viro
, (Sat May 10, 12:24 pm)
Re: [Patch 5/9] fs/binfmt_em86.c: fix resource leaks
, Al Viro
, (Sat May 10, 12:25 pm)
Re: [Patch 6/9] fs/binfmt_misc.c: fix resource leaks
, Al Viro
, (Sat May 10, 12:25 pm)
Re: [Patch 7/9] fs/exec.c: fix wrong return value of prepa ...
, Al Viro
, (Sat May 10, 12:31 pm)
Re: [Patch 9/9] fs/exec.c: fix a wrong goto path
, Al Viro
, (Sat May 10, 12:37 pm)
Re: [Patch 3/9] fs/compat.c: fix resource leaks and wrong ...
, Al Viro
, (Sat May 10, 1:35 pm)
Re: [Patch 0/9] Fix resource leaks for exec related stuffs
, Al Viro
, (Sat May 10, 1:47 pm)
Re: [Patch 3/9] fs/compat.c: fix resource leaks and wrong ...
, WANG Cong
, (Sun May 11, 8:46 pm)
Re: [Patch 9/9] fs/exec.c: fix a wrong goto path
, WANG Cong
, (Sun May 11, 8:51 pm)
Re: [Patch 5/9] fs/binfmt_em86.c: fix resource leaks
, WANG Cong
, (Sun May 11, 8:53 pm)
Re: [Patch 7/9] fs/exec.c: fix wrong return value of prepa ...
, WANG Cong
, (Sun May 11, 8:56 pm)
Re: [Patch 9/9] fs/exec.c: fix a wrong goto path
, Al Viro
, (Sun May 11, 8:58 pm)
Re: [Patch 1/9] fs/exec.c: export free_arg_pages
, WANG Cong
, (Sun May 11, 8:59 pm)
Re: [Patch 7/9] fs/exec.c: fix wrong return value of prepa ...
, Al Viro
, (Sun May 11, 9:01 pm)
Re: [Patch 3/9] fs/compat.c: fix resource leaks and wrong ...
, Al Viro
, (Sun May 11, 9:05 pm)
Re: [Patch 7/9] fs/exec.c: fix wrong return value of prepa ...
, WANG Cong
, (Sun May 11, 9:15 pm)
Re: [Patch 7/9] fs/exec.c: fix wrong return value of prepa ...
, Al Viro
, (Sun May 11, 9:37 pm)
Re: [Patch 7/9] fs/exec.c: fix wrong return value of prepa ...
, WANG Cong
, (Sun May 11, 9:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Frederic Weisbecker
[PATCH v2] struct sort_entry has a callback named snprintf that turns an entry int...
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Andrew Morton
Re: [PATCH v3 0/4] Introduce hardware spinlock framework
Ingo Molnar
Re: [GIT PULL] time.c - respin
Alexander van Heukelum
Re: [PATCH] bitops: simplify generic bit finding functions
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Michal Sojka
[PATCHv5 1/2] filter-branch: Fix to allow replacing submodules with another content
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sata_mv: drop unncessary EH callback resetting
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Stephen J. Bevan
GRE over IPsec
Rene Maroufi
smtpd: Aliases only work with for local alias aliases
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Colocation donated by:
Syndicate