mirror of git://sourceware.org/git/glibc.git
At issue for INLINE_SYSCALL was that it used "err" and "val" as variable names in a #define, so that if it was used in a context where the "caller" was also using "err" or "val", and those variables were passed in to INLINE_SYSCALL, we would end up referencing the internal shadowed variables instead. For example, "char val" in check_may_shrink_heap() in sysdeps/unix/sysv/linux/malloc-sysdep.h was being shadowed by the syscall return "val" in INLINE_SYSCALL, causing the "char val" not to get updated at all, and may_shrink_heap ended up always false. A similar fix was made to INTERNAL_VSYSCALL_CALL. |
||
|---|---|---|
| .. | ||
| bits | ||
| sys | ||
| tilegx | ||
| tilepro | ||
| Implies | ||
| Makefile | ||
| Versions | ||
| arch-fork.h | ||
| cacheflush.c | ||
| clone.S | ||
| dl-static.c | ||
| getcontext.S | ||
| init-first.c | ||
| kernel-features.h | ||
| ldsodefs.h | ||
| libc-vdso.h | ||
| makecontext.c | ||
| profil-counter.h | ||
| pt-vfork.c | ||
| set_dataplane.c | ||
| setcontext.S | ||
| shlib-versions | ||
| sigcontextinfo.h | ||
| swapcontext.S | ||
| syscall.S | ||
| sysconf.c | ||
| sysdep-cancel.h | ||
| sysdep.c | ||
| sysdep.h | ||
| ucontext_i.h | ||
| vfork.S | ||
| waitpid.S | ||