Re: [PATCH v26 23/30] x86/cet/shstk: Handle thread shadow stack

From
Borislav Petkov <bp@alien8.de>
Date
2021-05-12 18:06:05
Also in
linux-arch, linux-doc, linux-mm, lkml
Reply to
Yu, Yu-cheng, 2021-05-11
On Tue, May 11, 2021 at 11:35:03AM -0700, Yu, Yu-cheng wrote:
io_bitmap_share() does refcount_inc(&current->thread.io_bitmap->refcnt), and
the function won't fail.  However, shadow stack allocation can fail.  So,
maybe leave io_bitmap_share() at the end?
Yap, makes sense.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Thread (82 messages) 82 messages, 10 authors, last reply 2021-05-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help