aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm26/kernel/compat.c
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2005-09-16 22:28:06 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-17 14:50:02 -0400
commit53d2be79d5981b7efc8c5ec1169613bba95bde20 (patch)
tree0827b66ad3ffb70f0e7503c3db3b01d6d7a1037b /arch/arm26/kernel/compat.c
parentdda8577fb5a00507e5aea737833190a10516b257 (diff)
[PATCH] epoll: fix delayed initialization bug
Al found a potential problem in epoll_create(), where the file->private_data member was set after fd_install(). This is obviously wrong since another thread might do a close() on that fd# before we set the file->private_data member. This goes over 2.6.13 and passes a few basic tests I've done here. (akpm: snuck in a kzalloc() cleanup too) Signed-off-by: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/arm26/kernel/compat.c')
0 files changed, 0 insertions, 0 deletions