[Fault-injection-developer] semaphore usage in xxx_store()
Status: Alpha
Brought to you by:
rustyl
From: Zhuang, L. <lou...@in...> - 2003-01-06 09:35:17
|
Dear Rusty, I noticed you always down an semaphore in attribute store function. But I wonder if it is too paranoia... The only race condition I can image is somebody write the sysfs file with unloading module... But kernel/module.c should be the right place to care about it. If it is broken by that condition, we should challenge another Rusty. ;-> Could you give me some light about it? Yours truly, Louis Zhuang --------------- Fault Injection Test Harness Project BK tree: http://fault-injection.bkbits.net/linux-2.5 Home Page: http://sf.net/projects/fault-injection |