|
|
Mojo: Add NotifyBadMessage API
Adds a new public API for rejecting user messages read from
a message pipe. The EDK can in some simple cases (e.g. messages
from a direct child to its parent process) determine the source
process of the bad message and notify the embedder via a callback
API.
BUG= 607293
Committed: https://crrev.com/b46bf91c3d28d5da2fcbcde544d5aaf8c6fde7c6
Cr-Commit-Position: refs/heads/master@{#399382}
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+333 lines, -35 lines) |
Patch |
 |
M |
mojo/edk/embedder/embedder.h
|
View
|
1
2
3
4
5
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/embedder.cc
|
View
|
1
2
3
4
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/embedder/entrypoints.cc
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/core.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/core.cc
|
View
|
1
2
3
4
|
3 chunks |
+23 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_for_transit.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/multiprocess_message_pipe_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/node_channel.h
|
View
|
1
2
3
4
|
7 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/node_channel.cc
|
View
|
1
2
3
4
|
6 chunks |
+59 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/node_controller.h
|
View
|
1
2
3
4
|
4 chunks |
+15 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/node_controller.cc
|
View
|
1
2
3
4
|
10 chunks |
+43 lines, -15 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/ports_message.h
|
View
|
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/test/mojo_test_base.h
|
View
|
1
2
3
4
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/test/mojo_test_base.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/test/multiprocess_test_helper.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/test/multiprocess_test_helper.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/message_pipe.h
|
View
|
1
2
3
4
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/thunks.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/thunks.cc
|
View
|
1
2
3
4
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/public/cpp/system/message.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
Total messages: 17 (6 generated)
|