Re: CET/IBT support and live-patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/23/21 4:16 PM, Peter Zijlstra wrote:
> On Tue, Nov 23, 2021 at 03:58:51PM -0500, Joe Lawrence wrote:
> 
>> Yep, kpatch-build uses its own klp-relocation conversion and not kallsyms.
>>
>> I'm not familiar with CET/IBT, but it sounds like if a function pointer
>> is not taken at build time (or maybe some other annotation), the
>> compiler won't generate the needed endbr landing spot in said function?
> 
> Currently it does, but then I'm having objtool scribble it on purpose.
> 

Hi Peter -- to follow up on the objtool part: what criteria is used to
determine that it may scribble out the endbr?

Thanks,
-- 
Joe




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux