login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
4
Re: Race condition: calling remove_proc_entry in cleanup_module (module_exit) while someone's using procfile
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Alexey Dobriyan <adobriyan@...>
To: anon... anon.al <anon.asdf@...>
Cc: <linux-kernel@...>
Subject:
Re: Race condition: calling remove_proc_entry in cleanup_module (module_exit) while someone's using procfile
Date: Tuesday, September 4, 2007 - 12:56 pm
On Tue, Sep 04, 2007 at 06:39:33PM +0200, anon... anon.al wrote:
quoted text
> There is a race condition if an instance is executing "__exit > device_exit" and calls remove_proc_entry, while someone is still using > the procfile, right?. > > static void __exit device_exit(void) > { > // what if the procfile is still in use? > remove_proc_entry(PROC_FILE_NAME, &proc_root); > }
For regular proc files, this is fixed in 2.6.23-rc1 and later. -
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:
Race condition: calling remove_proc_entry in cleanup_module ...
, anon... anon.al
, (Tue Sep 4, 12:39 pm)
Re: Race condition: calling remove_proc_entry in cleanup_mod...
, Alexey Dobriyan
, (Tue Sep 4, 12:56 pm)
Re: Race condition: calling remove_proc_entry in cleanup_mod...
, anon... anon.al
, (Tue Sep 4, 1:35 pm)
Re: Race condition: calling remove_proc_entry in cleanup_mod...
, anon... anon.al
, (Tue Sep 4, 12:45 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Linus Torvalds
Re: init's children list is long and slows reaping children.
Kohei KaiGai
[PATCH 0/3] exporting capability name/code pairs (final#2)
git
:
linux-netdev
:
Gerrit Renker
[PATCH 33/37] dccp: Initialisation framework for feature negotiation
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Arjan van de Ven
Re: [GIT]: Networking
Mark Ryden
Re: Linux Wireless Mini-Summit -- Ottawa -- July 22, 2008
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
775 guests
online.
Online users
strcmp
Syndicate