summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_proxy.cc
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 11:48:05 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 11:48:05 +0000
commitb773963cde9a134fa712c63cced13fb7d1e81f13 (patch)
treef055fc8881dcf34b48aaa2d83ff3a47f1804627e /ipc/ipc_channel_proxy.cc
parent6383460160eb17dcb87c3cd74b0924f83471c192 (diff)
downloadchromium_src-b773963cde9a134fa712c63cced13fb7d1e81f13.zip
chromium_src-b773963cde9a134fa712c63cced13fb7d1e81f13.tar.gz
chromium_src-b773963cde9a134fa712c63cced13fb7d1e81f13.tar.bz2
Revert 80602 - Limit access to named IPC channels with SO_PEERCRED, not file permissions.BUG=TEST=Run Chrome & configure a service, to get the service process to start. Close Chrome and run a copy as a different user, but from the same user-data-dir. New Chrome should not be able to communicate with the service process.Review URL: http://codereview.chromium.org/6631002
TBR=wez@chromium.org Review URL: http://codereview.chromium.org/6806006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_proxy.cc')
-rw-r--r--ipc/ipc_channel_proxy.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index c219829..a92d511 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -375,13 +375,6 @@ int ChannelProxy::GetClientFileDescriptor() const {
DCHECK(channel) << context_.get()->channel_id_;
return channel->GetClientFileDescriptor();
}
-
-bool ChannelProxy::GetClientEuid(uid_t* client_euid) const {
- Channel *channel = context_.get()->channel_.get();
- // Channel must have been created first.
- DCHECK(channel) << context_.get()->channel_id_;
- return channel->GetClientEuid(client_euid);
-}
#endif
//-----------------------------------------------------------------------------