https://bugs.kde.org/show_bug.cgi?id=410743
Bug ID: 410743 Summary: shmat() calls for 32-bit programs fail when running in 64-bit valgrind Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: memcheck Assignee: jsew...@acm.org Reporter: emr...@psu.edu Target Milestone: --- a9fc7bc seems to have injected an error that breaks calls to shmat() on amd64 Linux. In this case I'm running a 32-bit executable. Details: Emulation of shmat() fails with errno=ENOSYS after the syscall in syswrap-generic.c:1974, as __NR_shmctl is 396. Checking /usr/include/asm-generic/unistd.h on my RHEL6 system (2.6.32), __NR_shmctl is defined as 195, and (oddly) in /usr/include/asm/unistd_64.h it is {re}defined as 31. unistd_32.h does not define __NR_shmctl. -- You are receiving this mail because: You are watching all bug changes.