[PATCH v2 04/11] kexec_file: Search symbols in read-only kexec_purgatory

2018-03-21 Thread Philipp Rudo
The stripped purgatory does not contain a symtab. So when looking for symbols this is done in read-only kexec_purgatory. Highlight this by marking the corresponding variables as 'const'. Signed-off-by: Philipp Rudo --- kernel/kexec_file.c | 38

[PATCH v2 04/11] kexec_file: Search symbols in read-only kexec_purgatory

2018-03-21 Thread Philipp Rudo
The stripped purgatory does not contain a symtab. So when looking for symbols this is done in read-only kexec_purgatory. Highlight this by marking the corresponding variables as 'const'. Signed-off-by: Philipp Rudo --- kernel/kexec_file.c | 38 ++ 1 file