canonical / nvidia-graphics-drivers

Packaging scripts for nvidia-graphics-drivers in Ubuntu
43 stars 34 forks source link

templates: version restrict disable_fstack-clash-protection_fcf-protection patch #50

Closed xnox closed 2 years ago

xnox commented 2 years ago

Add PATCH_MATCH[0] stanza to disable_fstack-clash-protection_fcf-protection.patch to only apply from v4 to v5.12 kernels. v5.13 kernels already disable both by default. But in jammy/kinetic v5.19+ kernels may need fcf-protection=branch as inherited from kernel config with CET IBT turned on.

This patch is needed in jammy+ nvidia packages, but is safe to apply everywhere.

xnox commented 2 years ago

has this been merged too, please?

tseliot commented 2 years ago

Approved, thanks!