|
Add rights for get/set options. Update message pipe and data pipe APIs.
Rationale for having separate get/set options rights: Otherwise, you can
control the abilities to read from a data pipe consumer and set its
options independently, but the abilities to write to a data pipe
producer and set its options are tied to a single right.
Still to do separately: I still have to update docs for other APIs.
Also, I can't really test these in a reasonable way until I've
implemented MojoGetRights() and MojoReduceRights().
R=azani@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/67c8e97e69bf3e4782adfa2cf2c15f336d6a0986
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+112 lines, -64 lines) |
Patch |
 |
M |
mojo/edk/system/core.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/core_test_base.cc
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe_consumer_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/data_pipe_producer_dispatcher.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/handle_unittest.cc
|
View
|
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/edk/system/message_pipe_dispatcher.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
mojo/edk/system/shared_buffer_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/data_pipe.h
|
View
|
|
21 chunks |
+64 lines, -32 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/handle.h
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
mojo/public/c/system/message_pipe.h
|
View
|
|
4 chunks |
+23 lines, -14 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 4 (1 generated)
|