criu/compel/include/uapi
Dmitry Safonov 5f185caa73 compel/x86: Add workaround on ptrace() bug on Skylake
On Skylake processors and kernel older than v4.14
    ptrace(PTRACE_GETREGSET, pid, NT_X86_XSTATE, iov)
may return not full xstate, ommiting FP part (that is XFEATURE_MASK_FP).
There is a patch which describes this bug:
  https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1318800.html
Anyway, it's fixed in v4.14 kernel by (what we believe with Andrey) this:
  https://patchwork.kernel.org/patch/9567939/

As we still support kernels from v3.10 and newer, we need to have a
workaround for this kernel bug on Skylake CPUs.

Big thanks to Shlomi for the reports, the effort and for providing an
Amazon VM to test this. I wish more bug reporters were like you.

Reported-by: Shlomi Matichin <shlomi@binaris.com>
Provided-test-env: Shlomi Matichin <shlomi@binaris.com>
Investigated-with: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2018-03-02 21:52:13 +03:00
..
asm compel: make include/uapi/asm symlink permanent 2017-03-15 00:09:56 +03:00
common compel: uapi -- Add common symlink 2017-03-15 00:06:12 +03:00
compel compel: make include/uapi symlink permanent 2017-03-15 00:09:55 +03:00
compel.h compel: Move relocs stuff into include/uapi/handle-elf.h 2017-03-15 00:06:09 +03:00
cpu.h compel: add compel_ prefix to cpu_has_feature 2017-03-15 09:36:05 +03:00
handle-elf.h compel: rm COMPEL_H_PARASITE_* macros 2017-03-15 00:06:16 +03:00
infect-rpc.h compel: Move in parasite engine 2017-03-15 00:06:06 +03:00
infect-util.h compel: Add recv fd helper 2017-03-15 09:36:09 +03:00
infect.h compel/x86: Add workaround on ptrace() bug on Skylake 2018-03-02 21:52:13 +03:00
ksigset.h compel/ksigset: fix ksigaddset() UB and flushing mask 2017-03-15 09:36:09 +03:00
log.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
loglevels.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
plugins compel: Include compel headers as system ones 2017-03-15 00:06:02 +03:00
plugins.h compel: Add plugins header 2017-03-14 23:58:09 +03:00
ptrace.h compel: return ptrace area helpers back to uapi 2017-04-02 18:12:10 +03:00
sigframe-common.h compel: Move sigframe code into compel 2017-03-15 00:06:05 +03:00
task-state.h Sanitize TASK_ values 2017-03-15 09:36:05 +03:00