Bug 448341

Summary: getsockopt, sendmsg and recvmsg syscalls are unhanded on ppc32-linux
Product: [Developer tools] valgrind Reporter: Chris Packham <judge.packham>
Component: generalAssignee: Julian Seward <jseward>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 3.18.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Patch for ppc32-linux

Description Chris Packham 2022-01-13 02:32:55 UTC
SUMMARY

getsockopt syscall is unhanded on ppc32-linux

STEPS TO REPRODUCE
1. running valgrind on ppc32-linux against an application that uses getsockopt

OBSERVED RESULT

--680-- WARNING: unhandled ppc32-linux syscall: 340                                                                                                                                                                                                              
--680-- You may be able to write your own handler.                                                                                                                                                                                                                             
--680-- Read the file README_MISSING_SYSCALL_OR_IOCTL.                                                                                                                                                                                                                         
--680-- Nevertheless we consider this a bug.  Please report                                                                                                                                                                                                                    
--680-- it at http://valgrind.org/support/bug_reports.html. 


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  embedded target, built from source.
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Chris Packham 2022-01-13 02:36:48 UTC
Update: sendmsg and recvmsg also appear to be missing so I've re-titled the bug to cover them. Hopefully I can submit a patch that covers all 3.
Comment 2 Chris Packham 2022-01-13 03:11:52 UTC
Created attachment 145386 [details]
Patch for ppc32-linux