From: Rich Felker Date: Mon, 29 Jul 2019 19:44:58 +0000 (-0400) Subject: use 64-bit shmid_ds layout in the generic version of bits/shm.h X-Git-Tag: v1.1.24~88 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0bf7c65aa2ebc6d3c7f718e7008738c74f12cb58;p=oweals%2Fmusl.git use 64-bit shmid_ds layout in the generic version of bits/shm.h this layout is more common already than the old generic, and should become even more common in the future with new archs added and with 64-bit time_t on 32-bit archs. the duplicate arch-specific copies are not removed yet in this commit, so as to assist git tooling in copy/rename tracking. --- diff --git a/arch/generic/bits/shm.h b/arch/generic/bits/shm.h index 45d1d157..6652d659 100644 --- a/arch/generic/bits/shm.h +++ b/arch/generic/bits/shm.h @@ -4,11 +4,8 @@ struct shmid_ds { struct ipc_perm shm_perm; size_t shm_segsz; time_t shm_atime; - int __unused1; time_t shm_dtime; - int __unused2; time_t shm_ctime; - int __unused3; pid_t shm_cpid; pid_t shm_lpid; unsigned long shm_nattch;