Re: [PATCH] Race between cat /proc/kallsyms and rmmod

From: Andi Kleen
Date: Wed Mar 14 2007 - 07:12:23 EST


Alexey Dobriyan <adobriyan@xxxxx> writes:
>
> --- a/kernel/kallsyms.c
> +++ b/kernel/kallsyms.c
> @@ -40,6 +40,8 @@ extern const u16 kallsyms_token_index[]
>
> extern const unsigned long kallsyms_markers[] __attribute__((weak));
>
> +extern struct mutex module_mutex;

No externs in .c files

-Andi
-
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/