diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-09 23:54:45 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-09 23:54:45 -0700 |
| commit | a48558313e0c6bd79c624a782eb93f4d0b09b016 (patch) | |
| tree | 27fee3343eaa45bbb259544565ede33d4895f6e2 /kernel | |
| parent | ed258d80221050c4e14bd891fbfb6c273be86d12 (diff) | |
[PATCH] Fixes in 32 bit ioctl emulation code
From: Raghavan <raghav@in.ibm.com>,
me
I am submitting a patch that fixes 2 race conditions in the 32 bit ioctl
emulation code.(fs/compat.c) Since the search is not locked; when a
ioctl_trans structure is deleted, corruption can occur.
The following scenarios discuss the race conditions:
1) When the search is hapenning, if any ioctl_trans structure gets
deleted; then rather than searching the hash table, the code will start
searching the free list.
while (t && t->cmd != cmd)
-
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
