Re: dereferencing module-internal pointer inscripts/mod/file2alias.c

From: Rusty Russell
Date: Wed Mar 16 2005 - 04:07:53 EST


On Tue, 2005-03-08 at 08:05 +0100, Dominik Brodowski wrote:
> Hi,
>
> Is there any feasible way to dereference a pointer inside
> __mod_*_device_table which points to a string?

No, because we would basically need to perform relocations to do so.
That is why arrays are used in the current structures.

Rusty.
--
A bad analogy is like a leaky screwdriver -- Richard Braakman

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