base: Teach the socket listeners how to bind to the loopback.
authorGabe Black <gabeblack@google.com>
Fri, 5 May 2017 23:50:22 +0000 (16:50 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 9 May 2017 16:44:30 +0000 (16:44 +0000)
commitf2b6dc8d2701dc8da5d365a73336d4a8a3dd3478
tree7ea103b6d3de20eee5783787abde491ab0c67b6e
parent20e221c9c9d4fb4314af062f062a196fafdbb515
base: Teach the socket listeners how to bind to the loopback.

The loopback device will allow access to various services like remote GDB
debugging, connecting to the terminal, etc., without letting external
agents like port scanners connect and disrupting the simulation.

Change-Id: I76dccbf152fa278ae9f342b25f7e345a1329fbe4
Reviewed-on: https://gem5-review.googlesource.com/3080
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
src/base/socket.cc
src/base/socket.hh