OSDN Git Service

Don't use client passed PID
authorNick Kralevich <nnk@google.com>
Fri, 22 Feb 2013 05:24:30 +0000 (21:24 -0800)
committerNick Kralevich <nnk@google.com>
Fri, 22 Feb 2013 05:24:30 +0000 (21:24 -0800)
commit52b17bcfdf63a9d00f3ab1bc6ff738cbc4d30b0b
treee1d1e237ddda7a919833cc97fdbc5e14bb417d5c
parent109899bc63139c5260cb9a7dc409f92efaf2c4b7
Don't use client passed PID

Don't assume the client is telling the truth about their PID.
Always take their PID directly from the socket, which is
guaranteed by the kernel to be accurate.

Change-Id: Id3374306fd7043da22065921bd49aced60df32f5
DnsProxyListener.cpp
DnsProxyListener.h