ユーザ用ツール

サイト用ツール


20180205_linux_4_15_1_retp_gcc

文書の過去の版を表示しています。


linux-4.15.1 と retpoline 対応 gcc を組み合わせる.

linux-4.15.1 では,spectre v2 の緩和対策が入ったようです.

https://lkml.org/lkml/2018/1/28/173 によると,

You can do

cat /sys/devices/system/cpu/vulnerabilities/spectre_v2

and if you don't have a compiler that supports the retpoline
mitigations, you'll get:

Vulnerable: Minimal generic ASM retpoline

上記のように,コンパイラ(gcc) で retpoline をサポートしている

20180205_linux_4_15_1_retp_gcc.1517840058.txt.gz · 最終更新: 2018-02-05 23:14 by tosihisa@netfort.gr.jp