[strace/strace] sysvipc handling is time64-incompatible (#116)

Dmitry V. Levin notifications at github.com
Tue Jan 14 09:59:44 UTC 2020


On Tue, Jan 14, 2020 at 01:27:09AM -0800, arndb wrote:
> Can you be more specific about what the problem is with the uapi headers? I looked at them again now but fail to see what's wrong with them.

x32: I cannot reproduce it any longer where I used to, maybe something has
been fixed in uapi for x32.

sparc:
according to struct compat_ipc64_perm defined in arch/sparc/include/asm/compat.h,
the type of uid is __compat_uid32_t aka u32,
but, according to struct ipc64_perm defined in arch/sparc/include/uapi/asm/ipcbuf.h,
the type of uid is __kernel_uid_t which is defined to unsigned short on sparc.

I suppose the regression was introduced by commit
83c86984bff2d793c91eb710af7857828b9ddb49 aka v2.6.29-rc1~501^2~6

If my guess is correct, then the only working form of IPC_STAT on sparc32
since that commit is sparc64 in compat mode.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/116#issuecomment-574096025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200114/d0183972/attachment.html>


More information about the Strace-devel mailing list