[PATCH v3] vmcore: prevent PT_NOTE p_memsz overflow during header update

2014-02-04 Thread Greg Pearson
= 0x510ae163 n_type = 0x8008 Not yet sure of the source of these extra entries, they seem bogus, but they shouldn't cause crash dump to fail. Signed-off-by: Greg Pearson --- fs/proc/vmcore.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/fs

[PATCH v2] vmcore: prevent PT_NOTE p_memsz overflow during header update

2014-02-03 Thread Greg Pearson
fail. Signed-off-by: Greg Pearson --- fs/proc/vmcore.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index 2ca7ba0..051c803 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c @@ -468,12 +468,14 @@ static int _

[PATCH] vmcore: prevent PT_NOTE p_memsz overflow during header update

2014-01-31 Thread Greg Pearson
encountered with very large n_namesz and n_descsz sizes: n_namesz = 0x8008 n_descsz = 0x510ae163 n_type = 0x8008 Not yet sure of the source of these extra entries, they seem bogus, but they shouldn't cause crash dump to fail. Signed-off-by: Greg Pearson --- fs/proc/vmcore.c

[PATCH] PCDP: use early_ioremap/early_iounmap to access pcdp table

2012-07-18 Thread Greg Pearson
during early boot. This patch was tested on an x86_64 prototype system which uses the HCDP/PCDP table for early console setup. Signed-off-by: Greg Pearson --- drivers/firmware/pcdp.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/pcdp.c b/drivers/firmware