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

cet/shstk_alloc.c: unable to show content of switched ssp content due… #107

Merged
merged 1 commit into from
Aug 25, 2023

Commits on Aug 23, 2023

  1. cet/shstk_alloc.c: will not show content of switched ssp due to kerne…

    …l improvement
    
    Since the v6.5 cycle latest cet userspace shstk patch improvements, switched
    ssp content will be protected and it makes sense, if code wants to show the
    switched ssp content, it will get fake segfault like this:
    "
    ssp0 & (-8): 7f5d4efffff8
    Segmentation fault (core dumped)
    "
    Dmesg shows the segfault as following:
    "
    shstk_alloc[3080]: segfault at 7f5d4e7ff000 ip 0000000000401258 sp 00007ffcd214f180 error 4 in shstk_alloc[401000+1000] likely on CPU 15 (core 3, socket 0)
    "
    So code should not show worked and switched ssp content to avoid fake failure.
    
    Signed-off-by: Pengfei Xu <[email protected]>
    xupengfe committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    0e3a153 View commit details
    Browse the repository at this point in the history