Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change .so load policy and fix symbol visibility problems #210

Merged
merged 1 commit into from
Jun 28, 2024

Commits on Jun 28, 2024

  1. Change .so load policy and fix symbol visibility problems

    Previously, libpulp used RTLD_LAZY in dlopen, which resulted in
    livepatch that should have failed to apply being applied. In SLE-15-SP4,
    those patches seems to work regardless of that, but in SP5 it result in
    problems. Hence, change this policy to RTLD_NOW to force all symbols
    to be loaded by the linker at patch load time.
    
    Also, this commit now encode the symbol references on packer even if
    not specified in .dsc by capturing it from the .json dumps, which
    should improve the support for strong externalizations.
    
    Signed-off-by: Giuliano Belinassi <[email protected]>
    giulianobelinassi committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    f2167ab View commit details
    Browse the repository at this point in the history