diff options
| author | Dmitry V. Levin <[email protected]> | 2015-11-30 21:54:36 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-12-05 17:52:14 +0000 |
| commit | 22eab1108781eff09961ae7001704f7bd8fb1dce (patch) | |
| tree | 1d3ce8386a1a7242db508f30e71b0f5fa8c71b74 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | x86/mpx: Fix instruction decoder condition (diff) | |
| download | kernel-22eab1108781eff09961ae7001704f7bd8fb1dce.tar.gz kernel-22eab1108781eff09961ae7001704f7bd8fb1dce.zip | |
x86/signal: Fix restart_syscall number for x32 tasks
When restarting a syscall with regs->ax == -ERESTART_RESTARTBLOCK,
regs->ax is assigned to a restart_syscall number. For x32 tasks, this
syscall number must have __X32_SYSCALL_BIT set, otherwise it will be
an x86_64 syscall number instead of a valid x32 syscall number. This
issue has been there since the introduction of x32.
Reported-by: strace/tests/restart_syscall.test
Reported-and-tested-by: Elvira Khabirova <[email protected]>
Signed-off-by: Dmitry V. Levin <[email protected]>
Cc: Elvira Khabirova <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
