delve/cmd/dlv
Hyang-Ah Hana Kim 669fc2d8d3
dap: add sameuser check (#2494)
On linux, delve RPC server allows only connections from the same user
if --only-same-user is set (true, by default). Do the same for DAP
server.

Moved the sameuser check logic to service/internal/sameuser.
Considered importing service/rpccommon from the dap server,
but when we eventually migrate to multiplex rpc and dap from one
port, I am afraid that can cause cyclic imports.
2021-05-19 10:29:05 -07:00
..
cmds dap: add sameuser check (#2494) 2021-05-19 10:29:05 -07:00
dlv_test.go Skip 'access denied' failures in tests (#2386) 2021-03-15 09:34:26 -07:00
main.go cmd/dlv: actually disable C compiler optimizations when building (#1647) 2019-08-01 16:31:50 -07:00
tools.go cmd/dlv: make core command limitations more prominent (#2031) 2020-05-04 10:00:33 -07:00