diff options
author | Arnd Bergmann <[email protected]> | 2020-01-14 14:26:14 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-01-21 13:26:19 +0100 |
commit | 34ca70ef7d3a9fa7e89151597db5e37ae1d429b4 (patch) | |
tree | 367a62fa3bacef7fbacbdf1f73dab910b9e4eaf1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | e2b9fc2dd6911b730279352a676251e70e51643b (diff) |
sparc32: fix struct ipc64_perm type definition
As discussed in the strace issue tracker, it appears that the sparc32
sysvipc support has been broken for the past 11 years. It was however
working in compat mode, which is how it must have escaped most of the
regular testing.
The problem is that a cleanup patch inadvertently changed the uid/gid
fields in struct ipc64_perm from 32-bit types to 16-bit types in uapi
headers.
Both glibc and uclibc-ng still use the original types, so they should
work fine with compat mode, but not natively. Change the definitions
to use __kernel_uid32_t and __kernel_gid32_t again.
Fixes: 83c86984bff2 ("sparc: unify ipcbuf.h")
Link: https://github.com/strace/strace/issues/116
Cc: <[email protected]> # v2.6.29
Cc: Sam Ravnborg <[email protected]>
Cc: "Dmitry V . Levin" <[email protected]>
Cc: Rich Felker <[email protected]>
Cc: [email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions