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

Linux-Hardened: Restore align_vdso_addr #86

Commits on Aug 23, 2023

  1. Linux-Hardened: Restore align_vdso_addr

    Clang16 and 17 throw a C99 error for the missing `align_vdso_addr`
    function referenced in arch/x86/entry/vdso/vma.c. Daniel removed
    it in 06aba60 x86_64: move vdso to mmap region from stack region.
    
    Restore the function delcalration and header without reverting the
    original mapping mechanism using `vdso_addr` in vma.c.
    
    Fixes:
    ```
    error: call to undeclared function 'align_vdso_addr'; ISO C99 and
    later do not support implicit function declarations
    [-Wimplicit-function-declaration]
    ```
    RageLtMan committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    2a3f93d View commit details
    Browse the repository at this point in the history