IPC Protocols: Difference between revisions

Jump to navigation Jump to search
Line 77: Line 77:


A BasicType is a C++ type that can be transferred in a message.  We will provide a set of BuiltinTypes like void, int, and so on.  Protocol writers can also ''import'' foreign types for which marshall/unmarshall traits are defined, and/or that can be allocated in shared memory.  (We may need to support union types for NPAPI.)
A BasicType is a C++ type that can be transferred in a message.  We will provide a set of BuiltinTypes like void, int, and so on.  Protocol writers can also ''import'' foreign types for which marshall/unmarshall traits are defined, and/or that can be allocated in shared memory.  (We may need to support union types for NPAPI.)
If desired, we can add a notion of "privilege" to the message type system.  For example, chrome is more privileged than content, which is more privileged than plugin.  With this system, we can cheaply guarantee that privileged objects don't flow to unprivileged actors.


=== Strawman transition grammar ===
=== Strawman transition grammar ===
Confirmed users
699

edits

Navigation menu