You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #1245 from robgjansen/name-lookup-syscall
Add a shadow-specific name lookup syscall
Added a shadow-specific syscall to perform hostname to address lookups. The new syscall takes precedence over scanning the /etc/hosts file. Scanning the hosts file is still done as a fallback in case the new syscall fails.
This was done primarily to support phold experiments that make lots of getaddrinfo calls where we need the work performed to be constant no matter the number of hosts we run in the experiment.
Also refactored the shadow-specific syscall handling code into a single module, so that the syscalls go through the syscall handler. This means we can count the frequency with which shadow-specific syscalls are made (using the --enable-syscall-counters option).
Closes#1094
0 commit comments