Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cet/shstk_alloc.c: unable to show content of switched ssp content due…
… to kernel protection 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]>
- Loading branch information