OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 1/5] Simplify module_get_kallsym() by dropping length arg
Re: [PATCH 1/5] Simplify module_get_kallsym() by dropping length arg [message #11693 is a reply to message #11679] Mon, 02 April 2007 23:02 Go to previous message
Rusty Russell is currently offline  Rusty Russell
Messages: 10
Registered: March 2007
Junior Member
On Mon, 2007-04-02 at 19:01 +0400, Alexey Dobriyan wrote:
> ------------------------------------------------------------ -----------------
> [PATCH 1/5] Simplify module_get_kallsym() by dropping length arg
>
> module_get_kallsym() could in theory truncate module symbol name to fit
> in buffer, but nobody does this. Always use KSYM_NAME_LEN + 1 bytes for name.
>
> Suggested by lg^WRusty.
>
> Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>

Acked-by: Rusty Russell <rusty@rustcorp.com.au>

Cheers,
Rusty.
 
Read Message
Read Message
Previous Topic: [PATCH 3/5] Simplify kallsyms_lookup()
Next Topic: [PATCH 2/5] Fix race between rmmod and cat /proc/kallsyms
Goto Forum:
  


Current Time: Mon Aug 04 13:17:48 GMT 2025

Total time taken to generate the page: 1.01776 seconds