diff options
author | Hugh Dickins <hughd@google.com> | 2010-05-14 19:44:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-14 19:45:06 -0700 |
commit | 16a2164bb03612efe79a76c73da6da44445b9287 (patch) | |
tree | 980cb743acfe0a295d3bc70c263abcd20fd6ba80 /fs/open.c | |
parent | bfcc6e2eca507819e297a4c758ebd6b26e625330 (diff) |
profile: fix stats and data leakage
If the kernel is large or the profiling step small, /proc/profile
leaks data and readprofile shows silly stats, until readprofile -r
has reset the buffer: clear the prof_buffer when it is vmalloc()ed.
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions