Go to file
Marc-Andre Lureau 267391c8fd protocol: learn to describe fd passing in messages
Add a new type, "unix_fd", used to describe file descriptor sharing via
socket ancillary data (these messages are local only).

The marshaller/demarshaller can't serialize this in memory (consume_fd
implementation is empty), so it is the responsability of the marshaller
user to handle sending and receiving the handles, which are appended at
the end of the message with an extra stream byte (because some Unix
requires sending at least a byte with ancillary data).

Even if there is no fd to send (or if the fd is invalid etc), the
receiver side expects an extra byte anyway.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
2016-01-14 11:46:16 +00:00
m4 build-sys: Add m4 file for AX_PYTHON_MODULE 2015-08-07 12:53:59 +02:00
python_modules protocol: learn to describe fd passing in messages 2016-01-14 11:46:16 +00:00
spice Use gcc builtin rather than asm for memory barriers 2016-01-08 15:31:38 +01:00
AUTHORS Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
autogen.sh build-sys: Add --enable-code-generator 2015-08-07 11:54:47 +02:00
ChangeLog Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
configure.ac post-release version bump 2015-09-25 13:17:20 -05:00
COPYING Add MIT style COPYING file 2010-02-04 16:23:24 +01:00
git.mk Update git.mk to latest version 2012-09-21 15:48:39 +02:00
includes.sed Add includes.sed file to handle include renaming 2010-02-04 18:12:07 +01:00
Makefile.am build-sys: Use $datadir for .proto files/codegen scripts 2015-10-02 12:51:51 +02:00
NEWS Update NEWS for 0.12.10 release 2015-09-22 15:30:54 -05:00
README Add autoconf and pkg-config setup 2010-02-04 16:47:27 +01:00
rename-identifiers.sh Add utility script to do C identifier renaming 2010-02-04 16:43:24 +01:00
renames fix up reames 2010-02-04 18:11:09 +01:00
spice1.proto proto: Remove space before tab 2015-07-20 20:55:47 +02:00
spice_codegen.py codegen: Fix enums.h generation with python3 2015-07-23 10:29:10 +02:00
spice-protocol.pc.in build-sys: Use $datadir for .proto files/codegen scripts 2015-10-02 12:51:51 +02:00
spice.proto proto: Use proper type for preferred_compression field 2015-08-07 12:07:26 +02:00