On Tue, Jan 14, 2020 at 01:27:09AM -0800, arndb wrote:<br>
> 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.<br>
<br>
x32: I cannot reproduce it any longer where I used to, maybe something has<br>
been fixed in uapi for x32.<br>
<br>
sparc:<br>
according to struct compat_ipc64_perm defined in arch/sparc/include/asm/compat.h,<br>
the type of uid is __compat_uid32_t aka u32,<br>
but, according to struct ipc64_perm defined in arch/sparc/include/uapi/asm/ipcbuf.h,<br>
the type of uid is __kernel_uid_t which is defined to unsigned short on sparc.<br>
<br>
I suppose the regression was introduced by commit<br>
83c86984bff2d793c91eb710af7857828b9ddb49 aka v2.6.29-rc1~501^2~6<br>
<br>
If my guess is correct, then the only working form of IPC_STAT on sparc32<br>
since that commit is sparc64 in compat mode.<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/strace/strace/issues/116?email_source=notifications&email_token=AAFX7DGQ7KXNDPJ74ZJ2NKTQ5WEI5A5CNFSM4J63O5QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4AFGI#issuecomment-574096025">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFX7DE5YRPOJNYJ6BLKI63Q5WEI5ANCNFSM4J63O5QA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFX7DHO5OCD4JTV5NJNMQDQ5WEI5A5CNFSM4J63O5QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4AFGI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/strace/strace/issues/116?email_source=notifications\u0026email_token=AAFX7DGQ7KXNDPJ74ZJ2NKTQ5WEI5A5CNFSM4J63O5QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4AFGI#issuecomment-574096025",
"url": "https://github.com/strace/strace/issues/116?email_source=notifications\u0026email_token=AAFX7DGQ7KXNDPJ74ZJ2NKTQ5WEI5A5CNFSM4J63O5QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI4AFGI#issuecomment-574096025",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>