Conversation

FFS Linux *please* stop hiding features behind CONFIG_CHECKPOINT_RESTORE just because checkpoint/restore migration is *one* possible usage case for them!!!
Quote Tweet
Uhg it's not CONFIG_HAVE_ARCH_SOFT_DIRTY but CONFIG_MEM_SOFT_DIRTY, and the latter is hidden behind CONFIG_CHECKPOINT_RESTORE like lots of other useful stuff for no legitimate reason.
Show this thread
1
Replying to and
FWIW, I'm not sure exactly what "SROP mitigation" would look like but I suspect it would break other valid things like sigreturn-based ucontext API implementation (IIRC this is used by glibc on one or more archs, and is a good choice of implementation).
1
Replying to and
Shadow stacks mitigate it so I'm not particularly concerned since software-based shadow stacks work decently on arm (but not x86 via a simple implementation) and superior hardware-based support should be available in a couple years via CET on x86 and memory tagging on ARM.
1
Show replies
I could come up with better examples since I've seen this block fixing tons of things now. Having a guaranteed backwards compatible ABI is problematic enough without having CRIU turning everything they need into a public ABI with guaranteed backwards compatibility without review.