From 9e7229321a8a8c5314c1fd1198eb27c0460b025e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 21 Oct 2013 17:35:57 +0000 Subject: [PATCH] GUIdocs changed update msg_hdr struct --- GUIdocs.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GUIdocs.md b/GUIdocs.md index 0fc0b72d..983be81e 100644 --- a/GUIdocs.md +++ b/GUIdocs.md @@ -103,6 +103,12 @@ Each message starts with the following header struct msghdr { uint32_t type; uint32_t window; + /* This field is intended for use by gui_agents to skip unknown + * messages from the (trusted) guid. Guid, on the other hand, + * should never rely on this field to calculate the actual len of + * message to be read, as the (untrusted) agent can put here + * whatever it wants! */ + uint32_t untrusted_len; }; ```