Re: [PATCH 2/5] Fix race between rmmod and cat /proc/kallsyms [message #11694 is a reply to message #11680] |
Mon, 02 April 2007 23:06  |
Rusty Russell
Messages: 10 Registered: March 2007
|
Junior Member |
|
|
On Mon, 2007-04-02 at 19:01 +0400, Alexey Dobriyan wrote:
> +static inline int module_get_kallsym(unsigned int symnum, unsigned long *value,
> + char *type, char *name,
> + char *module_name, int *exported)
> {
> - return NULL;
> + return -ERANGE;
> }
This would normally by -ENOSYS, but since the return value is used as a
binary anyway, it doesn't matter.
Thanks,
Rusty.
|
|
|