[PATCH 4/6] sysvipc: Return EINVAL for invalid msgctl commands
Adhemerval Zanella
adhemerval.zanella@linaro.org
Tue Sep 29 13:26:09 GMT 2020
On 29/09/2020 04:58, Florian Weimer wrote:
> * Adhemerval Zanella via Libc-alpha:
>
>> It avoids regressions on possible future commands that might require
>> additional libc support. The downside is new commands added by newer
>> kernels will need further glibc support.
>
> Looks okay to me for now.
>
> I think eventually we need to rethink what we want to do about these,
> for the architectures that don't need translation.
We already have __IPC_TIME64 to tell apart the ABI that require it,
we might to put the switch only if it is set. However, I am not sure
if it is really an improvement, since we will still need to revise
it for architecture with __IPC_TIME64 == 1 anyway.
More information about the Libc-alpha
mailing list