Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 708430 | Differences between
and this patch

Collapse All | Expand All

(-)compiler-rt.orig/lib/sanitizer_common/sanitizer_platform_limits_posix.cc (-2 / +3 lines)
Lines 1126-1133 Link Here
1126
CHECK_SIZE_AND_OFFSET(ipc_perm, gid);
1126
CHECK_SIZE_AND_OFFSET(ipc_perm, gid);
1127
CHECK_SIZE_AND_OFFSET(ipc_perm, cuid);
1127
CHECK_SIZE_AND_OFFSET(ipc_perm, cuid);
1128
CHECK_SIZE_AND_OFFSET(ipc_perm, cgid);
1128
CHECK_SIZE_AND_OFFSET(ipc_perm, cgid);
1129
#if !defined(__aarch64__) || !SANITIZER_LINUX || __GLIBC_PREREQ (2, 21)
1129
#if !SANITIZER_LINUX || __GLIBC_PREREQ (2, 31)
1130
/* On aarch64 glibc 2.20 and earlier provided incorrect mode field.  */
1130
/* glibc 2.30 and earlier provided 16-bit mode field instead of 32-bit
1131
   on many architectures.  */
1131
CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
1132
CHECK_SIZE_AND_OFFSET(ipc_perm, mode);
1132
#endif
1133
#endif
1133
1134
(-)compiler-rt.orig/lib/sanitizer_common/sanitizer_platform_limits_posix.h (-8 / +1 lines)
Lines 214-228 Link Here
214
    unsigned short __seq;
214
    unsigned short __seq;
215
    unsigned long long __unused1;
215
    unsigned long long __unused1;
216
    unsigned long long __unused2;
216
    unsigned long long __unused2;
217
#elif defined(__mips__) || defined(__aarch64__) || defined(__s390x__)
218
    unsigned int mode;
219
    unsigned short __seq;
220
    unsigned short __pad1;
221
    unsigned long __unused1;
222
    unsigned long __unused2;
223
#else
217
#else
224
    unsigned short mode;
218
    unsigned int mode;
225
    unsigned short __pad1;
226
    unsigned short __seq;
219
    unsigned short __seq;
227
    unsigned short __pad2;
220
    unsigned short __pad2;
228
#if defined(__x86_64__) && !defined(_LP64)
221
#if defined(__x86_64__) && !defined(_LP64)

Return to bug 708430