Skip to contentSkip to conversation

Query : Regarding csdb barrier with llvm compiler

DISCUSSION Gaurav Kohli 1 participant 1 message Mar 31, 2020 1 message not in the archive Arm Qualcomm mailing list

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

<Resending again, saw some failure messages on previous mail>

Hi ,

Right now we are using array_index_nospec api in linux kernel and using in the place where we think speculative out of bound access may happen.

This thing is applicable with GCC tool chain, as for GCC we have to use builtin api to place csdb in the required places.

Recently llvm toolchain comes with hardening option which will place csdb in the required places, Do we have any plan to use this thing in linux kernel.

Regards
Gaurav

Signature · 3 lines
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center,
Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.