diff options
author | Jarkko Sakkinen <[email protected]> | 2020-11-18 23:39:32 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-11-19 10:51:24 +0100 |
commit | 14132a5b807bb5caf778fe7ae1597e630971e949 (patch) | |
tree | 3018b699e0601055b6187b1b066729261c1a08b5 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 0eaa8d153a1d573e53b8283c90db44057d1376f6 (diff) |
x86/sgx: Return -ERESTARTSYS in sgx_ioc_enclave_add_pages()
Return -ERESTARTSYS instead of -EINTR in sgx_ioc_enclave_add_pages()
when interrupted before any pages have been processed. At this point
ioctl can be obviously safely restarted.
Reported-by: Haitao Huang <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions