commit | 6a4d11c2abc57ed7ca42041e5f68ae4f7f640a81 | [log] [tgz] |
---|---|---|
author | Sergey Vlasov <vsu@altlinux.ru> | Fri Mar 24 03:18:38 2006 -0800 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Mar 24 07:33:30 2006 -0800 |
tree | 93a839de19cf3f49bbbb3668f31c8a002c2f7f7f | |
parent | b5a7c4f5835ae2805d00ca39709002cb03364143 [diff] |
[PATCH] Fix module refcount leak in __set_personality() If the change of personality does not lead to change of exec domain, __set_personality() returned without releasing the module reference acquired by lookup_exec_domain(). Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>