[PATCH] i386: clear segment register padding in core dumps

2007-03-23 Thread Roland McGrath
The segment register slots in struct pt_regs are padded to 32 bits. Some of these are stored with instructions like "pushl %es", which leaves the high 16 bits as they were. So the high bits of these fields in struct pt_regs contain kernel stack garbage. These bits are ignored by everything and

[PATCH] i386: clear segment register padding in core dumps

2007-03-23 Thread Roland McGrath
The segment register slots in struct pt_regs are padded to 32 bits. Some of these are stored with instructions like pushl %es, which leaves the high 16 bits as they were. So the high bits of these fields in struct pt_regs contain kernel stack garbage. These bits are ignored by everything and