Re: [patch] thread-aware coredumps, 2.5.43-C3

Bill Davidsen (davidsen@tmr.com)
Sat, 19 Oct 2002 15:26:14 -0400 (EDT)


On Fri, 18 Oct 2002, Mark Gross wrote:

> I think I fixed it to set namesz to 5, with the +1 it was making it 6. My
> patch is supposed to remove the +1.
>
> The value for men-name for the extended registers case is "LINUX".

But the terminating '\0' is required in ELF, no? Or are you going to drop
the name to "LINU" and put the required character in?

In modern size machines I think the limit is way too low, but it is a
standard. I'm sure some code will rely on the NUL and run off the end of
the Earth looking for it, so you can't just leave it off.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/