Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Unified Diff: mojo/edk/system/shared_buffer_dispatcher.cc

Issue 1953293003: EDK: Add handle rights checking to the various entrypoints. (Closed) Base URL: https://github.com/domokit/mojo.git@work788_edk_handle_13.9-x-work787_edk_handle_13.8
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/edk/system/shared_buffer_dispatcher.cc
diff --git a/mojo/edk/system/shared_buffer_dispatcher.cc b/mojo/edk/system/shared_buffer_dispatcher.cc
index 43af5f11900d5a4840a93eb13205f2670582ee55..903d338c3fd1e92995c924aa82564e4ffb5a9fd2 100644
--- a/mojo/edk/system/shared_buffer_dispatcher.cc
+++ b/mojo/edk/system/shared_buffer_dispatcher.cc
@@ -102,7 +102,8 @@ Dispatcher::Type SharedBufferDispatcher::GetType() const {
bool SharedBufferDispatcher::SupportsEntrypointClass(
EntrypointClass entrypoint_class) const {
- return (entrypoint_class == EntrypointClass::BUFFER);
+ return (entrypoint_class == EntrypointClass::NONE ||
+ entrypoint_class == EntrypointClass::BUFFER);
}
// static
« no previous file with comments | « mojo/edk/system/platform_handle_dispatcher_unittest.cc ('k') | mojo/edk/system/shared_buffer_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698