Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4.12-rc7 29 lines 733 B view raw
1#ifndef _ASM_POWERPC_IMA_H 2#define _ASM_POWERPC_IMA_H 3 4struct kimage; 5 6int ima_get_kexec_buffer(void **addr, size_t *size); 7int ima_free_kexec_buffer(void); 8 9#ifdef CONFIG_IMA 10void remove_ima_buffer(void *fdt, int chosen_node); 11#else 12static inline void remove_ima_buffer(void *fdt, int chosen_node) {} 13#endif 14 15#ifdef CONFIG_IMA_KEXEC 16int arch_ima_add_kexec_buffer(struct kimage *image, unsigned long load_addr, 17 size_t size); 18 19int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node); 20#else 21static inline int setup_ima_buffer(const struct kimage *image, void *fdt, 22 int chosen_node) 23{ 24 remove_ima_buffer(fdt, chosen_node); 25 return 0; 26} 27#endif /* CONFIG_IMA_KEXEC */ 28 29#endif /* _ASM_POWERPC_IMA_H */