Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the challenges and proposed solutions for generating klprelocations in kernel live patching during this Linux Plumbers Conference talk. Dive into the complexities of resolving relocations for livepatches that reference symbols outside their scope, particularly when dealing with unexported symbols. Learn about the current limitations in embedding required information in livepatch ELF objects and examine two proposed approaches: using a symbol map built during kernel compilation and utilizing annotations in the ELF object. Discuss the development of a minimalistic klp-convert utility that relies on specific symbol prefixes and predefined macros. Consider the implications for upstreaming this tool and engage in a community discussion about the most effective approach for handling klprelocation generation in the Linux kernel ecosystem.
Syllabus
Kbuild support for klprelocation generation - Lukáš Hruška
Taught by
Linux Plumbers Conference