diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-06-30 01:55:54 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-30 11:25:37 -0700 |
commit | c2b7a4bb30008dc256d63802e02b6fb950958443 (patch) | |
tree | 355e20a2295099dad5878c2034d39739e984d9d1 /arch/i386 | |
parent | dd673bca474a199fb8d1b6a311832592977ecb5f (diff) | |
download | kernel_samsung_aries-c2b7a4bb30008dc256d63802e02b6fb950958443.zip kernel_samsung_aries-c2b7a4bb30008dc256d63802e02b6fb950958443.tar.gz kernel_samsung_aries-c2b7a4bb30008dc256d63802e02b6fb950958443.tar.bz2 |
[PATCH] uml: fix /proc/mounts parsing boundary condition
When parsing /proc/mounts looking for a tmpfs mount on /dev/shm, if a string
that we are looking for if split across reads, then it won't be recognized.
Fix this by refilling the buffer whenever we advance the cursor.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386')
0 files changed, 0 insertions, 0 deletions