summaryrefslogtreecommitdiffstats
path: root/source3/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-06-24 07:39:05 +0200
committerMichael Adam <obnox@samba.org>2014-09-24 08:44:11 +0200
commit64d140197e7d668a773ac2f85c9cabd8c59e4804 (patch)
tree6f26ff1c365c33957508891b0461d53676e5e0f2 /source3/librpc
parent1b35d2ed631631f470dc5a7cff54068a832bfafc (diff)
downloadsamba-64d140197e7d668a773ac2f85c9cabd8c59e4804.tar.gz
samba-64d140197e7d668a773ac2f85c9cabd8c59e4804.tar.xz
samba-64d140197e7d668a773ac2f85c9cabd8c59e4804.zip
s3:messaging: make it possible to receive a fd array from another process
In order to receive the fd array the caller needs to use messaging_filtered_read_send/recv(). For all higher level methods we silently close/ignore the fd array. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/messaging.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/librpc/idl/messaging.idl b/source3/librpc/idl/messaging.idl
index 66d4ae598c..ce40a7bb25 100644
--- a/source3/librpc/idl/messaging.idl
+++ b/source3/librpc/idl/messaging.idl
@@ -130,5 +130,7 @@ interface messaging
server_id dest;
server_id src;
DATA_BLOB buf;
+ uint8 num_fds;
+ dlong fds[num_fds];
} messaging_rec;
}