diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-11-08 14:15:02 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-11-11 18:45:04 +0100 |
commit | 0f90d6204d79223fd32248c774df0cb7f0e604de (patch) | |
tree | 4b0c9b65f68d726cfca2af954d303a858758c7eb /sysdeps/aarch64 | |
parent | 70410f2286cc36c9ccb133878811c728ae51725f (diff) | |
download | glibc-0f90d6204d79223fd32248c774df0cb7f0e604de.tar.gz glibc-0f90d6204d79223fd32248c774df0cb7f0e604de.tar.xz glibc-0f90d6204d79223fd32248c774df0cb7f0e604de.zip |
Linux: Support __IPC_64 in sysvctl *ctl command arguments (bug 29771)
Old applications pass __IPC_64 as part of the command argument because old glibc did not check for unknown commands, and passed through the arguments directly to the kernel, without adding __IPC_64. Applications need to continue doing that for old glibc compatibility, so this commit enables this approach in current glibc. For msgctl and shmctl, if no translation is required, make direct system calls, as we did before the time64 changes. If translation is required, mask __IPC_64 from the command argument. For semctl, the union-in-vararg argument handling means that translation is needed on all architectures. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> (cherry picked from commit 22a46dee24351fd5f4f188ad80554cad79c82524)
Diffstat (limited to 'sysdeps/aarch64')
0 files changed, 0 insertions, 0 deletions