Re: [PATCH 3/3] kernel/module.c: Update debug alignment after symtable generation

2015-02-25 Thread Rusty Russell
Laura Abbott writes: > When CONFIG_DEBUG_SET_MODULE_RONX is enabled, the sizes of > module sections are aligned up so appropriate permissions can > be applied. Adjusting for the symbol table may cause them to > become unaligned. Make sure to re-align the sizes afterward. > > Signed-off-by: Laura

[PATCH 3/3] kernel/module.c: Update debug alignment after symtable generation

2015-02-25 Thread Laura Abbott
When CONFIG_DEBUG_SET_MODULE_RONX is enabled, the sizes of module sections are aligned up so appropriate permissions can be applied. Adjusting for the symbol table may cause them to become unaligned. Make sure to re-align the sizes afterward. Signed-off-by: Laura Abbott --- kernel/module.c | 2

[PATCH 3/3] kernel/module.c: Update debug alignment after symtable generation

2015-02-25 Thread Laura Abbott
When CONFIG_DEBUG_SET_MODULE_RONX is enabled, the sizes of module sections are aligned up so appropriate permissions can be applied. Adjusting for the symbol table may cause them to become unaligned. Make sure to re-align the sizes afterward. Signed-off-by: Laura Abbott lau...@codeaurora.org ---

Re: [PATCH 3/3] kernel/module.c: Update debug alignment after symtable generation

2015-02-25 Thread Rusty Russell
Laura Abbott lau...@codeaurora.org writes: When CONFIG_DEBUG_SET_MODULE_RONX is enabled, the sizes of module sections are aligned up so appropriate permissions can be applied. Adjusting for the symbol table may cause them to become unaligned. Make sure to re-align the sizes afterward.