I wrote:
>
> Here's the story:
>
> struct thing
> {
> char *s;
> int i;
> };
>
> struct thing t1 = { "foo", 4 };
> struct thing t2 = { "foo", 4 };
Change the declaration to
struct thing
{
char s[16];
int i;
};
and the strings are separated and placed in .data, just as we want.
Then it's just a matter of running all over the kernel enforcing an
upper limit on the length of net device names :-(
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:33 EST