sim-se: add ability to get/set sock metadata
authorBrandon Potter <brandon.potter@amd.com>
Wed, 18 Apr 2018 19:00:14 +0000 (15:00 -0400)
committerAnthony Gutierrez <anthony.gutierrez@amd.com>
Tue, 22 Jan 2019 02:12:11 +0000 (02:12 +0000)
commit7936e63336a736ca7d857e4fb7578895b249382e
treeadfa0a7e2087b1059c5d93b48fd71fa95a198d2b
parentbc74c58eaf55005a6a4b2e67657da4121554943c
sim-se: add ability to get/set sock metadata

Add getsockopt, getsockname, setsockname, and getpeername
system calls.

Change-Id: Ifa1d9a95f15b4fb12859dbfd3c4bd248de2e3d32
Reviewed-on: https://gem5-review.googlesource.com/c/12116
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/arch/x86/linux/process.cc
src/sim/syscall_emul.cc
src/sim/syscall_emul.hh