| /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. |
| * Written by David Howells (dhowells@redhat.com) |
| /* pointer to module in temporary copy, freed at end of load_module() */ |
| char *secstrings, *strtab; |
| unsigned long symoffs, stroffs, init_typeoffs, core_typeoffs; |
| unsigned long mod_kallsyms_init_off; |
| #ifdef CONFIG_MODULE_DECOMPRESS |
| unsigned int sym, str, mod, vers, info, pcpu; |
| extern int mod_verify_sig(const void *mod, struct load_info *info); |
| #ifdef CONFIG_MODULE_DECOMPRESS |
| int module_decompress(struct load_info *info, const void *buf, size_t size); |
| void module_decompress_cleanup(struct load_info *info); |
| static inline int module_decompress(struct load_info *info, |
| const void *buf, size_t size) |
| static inline void module_decompress_cleanup(struct load_info *info) |