| Index: mojo/edk/embedder/platform_channel_utils_posix.h
|
| diff --git a/mojo/edk/embedder/platform_channel_utils_posix.h b/mojo/edk/embedder/platform_channel_utils_posix.h
|
| index 8bf2632e0ba6cc6a2889dbebf924c58ed840bb84..23cfa92a344945f29558305ae00962c5068f14a3 100644
|
| --- a/mojo/edk/embedder/platform_channel_utils_posix.h
|
| +++ b/mojo/edk/embedder/platform_channel_utils_posix.h
|
| @@ -74,10 +74,12 @@ PlatformChannelRecvmsg(PlatformHandle h,
|
| // Returns false if |server_handle| encounters an unrecoverable error.
|
| // Returns true if it's valid to keep listening on |server_handle|. In this
|
| // case, it's possible that a connection wasn't successfully established; then,
|
| -// |connection_handle| will be invalid.
|
| +// |connection_handle| will be invalid. If |check_peer_user| is True, the
|
| +// connection will be rejected if the peer is running as a different user.
|
| MOJO_SYSTEM_IMPL_EXPORT bool ServerAcceptConnection(
|
| PlatformHandle server_handle,
|
| - ScopedPlatformHandle* connection_handle);
|
| + ScopedPlatformHandle* connection_handle,
|
| + bool check_peer_user = true);
|
|
|
| } // namespace edk
|
| } // namespace mojo
|
|
|