summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_proxy.h
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 12:01:44 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-06 12:01:44 +0000
commit8ec3fbec285daa194f6397b998b4c4bc0c1b2a37 (patch)
tree8e0d6acc844cf4780ae36435f56bbef69d35c043 /ipc/ipc_channel_proxy.h
parentffc44870db7ad9b179b27644c497e813221888e0 (diff)
downloadchromium_src-8ec3fbec285daa194f6397b998b4c4bc0c1b2a37.zip
chromium_src-8ec3fbec285daa194f6397b998b4c4bc0c1b2a37.tar.gz
chromium_src-8ec3fbec285daa194f6397b998b4c4bc0c1b2a37.tar.bz2
Revert 80604 - 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/6631002TBR=wez@chromium.orgReview URL: http://codereview.chromium.org/6806006
TBR=wez@chromium.org Review URL: http://codereview.chromium.org/6806007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80606 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_proxy.h')
-rw-r--r--ipc/ipc_channel_proxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h
index 950edff..0c0176f 100644
--- a/ipc/ipc_channel_proxy.h
+++ b/ipc/ipc_channel_proxy.h
@@ -146,6 +146,7 @@ class ChannelProxy : public Message::Sender {
#if defined(OS_POSIX)
// Calls through to the underlying channel's methods.
int GetClientFileDescriptor() const;
+ bool GetClientEuid(uid_t* client_euid) const;
#endif // defined(OS_POSIX)
protected: