| Summary: | unhandled amd64-darwin syscall: unix:446 (proc_rlimit_control) | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Hamish Moffatt <hamish+kde> |
| Component: | memcheck | Assignee: | Paul Floyd <pjfloyd> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | pjfloyd, rhyskidd, tom |
| Priority: | NOR | ||
| Version First Reported In: | 3.12.0 | ||
| Target Milestone: | --- | ||
| Platform: | macOS (DMG) | ||
| OS: | macOS | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Hamish Moffatt
2017-02-24 03:55:37 UTC
Hello Hamish, I've tagged this bug report with the macOS attributes. The missing syscall is proc_rlimit_control(). That is one Valgrind needs to have support added for. macOS 10.12 support is also improving in latest SVN trunk of Valgrind, if you're interested in testing the bleeding edge code. Not much info on this to be found on the web. So, XNU source it is. This is the kernel source with wrapped args /* * Resource limit controls * * uap->flavor available flavors: * * RLIMIT_WAKEUPS_MONITOR * RLIMIT_CPU_USAGE_MONITOR * RLIMIT_THREAD_CPULIMITS * RLIMIT_FOOTPRINT_INTERVAL */ int proc_rlimit_control(__unused struct proc *p, struct proc_rlimit_control_args *uap, __unused in t32_t *retval) The syscall interface seems to be int proc_rlimit_control(pid_t pid, int flavor, void *arg); "arg" looks like it can contain an integer or a struct, depending on the flavour. |