| Summary: | unhandled ppc64le-linux syscall: 147 (getsid) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Luke-Jr <luke-jr+kdebugs> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | mark |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Luke-Jr
2020-11-26 14:53:09 UTC
This is getsid, which seems enabled for all other arches.
Untested fix:
diff --git a/coregrind/m_syswrap/syswrap-ppc64-linux.c b/coregrind/m_syswrap/syswrap-ppc64-linux.c
index 7026e4ac6..6f682923b 100644
--- a/coregrind/m_syswrap/syswrap-ppc64-linux.c
+++ b/coregrind/m_syswrap/syswrap-ppc64-linux.c
@@ -772,7 +772,7 @@ static SyscallTableEntry syscall_table[] = {
GENXY(__NR_readv, sys_readv), // 145
GENX_(__NR_writev, sys_writev), // 146
-// _____(__NR_getsid, sys_getsid), // 147
+ GENX_(__NR_getsid, sys_getsid), // 147
GENX_(__NR_fdatasync, sys_fdatasync), // 148
LINXY(__NR__sysctl, sys_sysctl), // 149
Tested, that was indeed the right fix. commit b092ed44abf80ee6861203133803d4924a8d3ce9 Author: Mark Wielaard <mark@klomp.org> Date: Fri Nov 27 12:53:18 2020 +0100 Hook up unhandled ppc64le-linux syscall: 147 (getsid) https://bugs.kde.org/show_bug.cgi?id=429692 |