summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2019-11-13 10:44:52 -0800
committer John Reck <jreck@google.com> 2019-11-13 10:44:52 -0800
commit58e18f93f6d749c1825e6e682baef55d2065d8d1 (patch)
tree8dee08a241effcdb02b50ee508e7c36460d8791f
parent03f12ae919911c9f886d17ecf2c768a1e75dc805 (diff)
Add more details on FD sharing
Bug: https://github.com/android/ndk/issues/1127 Test: N/A Change-Id: Ib0c3bd75ba375a8a185a157df266e7da81903805
-rw-r--r--include/android/sharedmem.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/android/sharedmem.h b/include/android/sharedmem.h
index 2aacf11ee4..6efa4f71cb 100644
--- a/include/android/sharedmem.h
+++ b/include/android/sharedmem.h
@@ -62,7 +62,8 @@ extern "C" {
* Use close() to release the shared memory region.
*
* Use {@link android.os.ParcelFileDescriptor} to pass the file descriptor to
- * another process.
+ * another process. File descriptors may also be sent to other processes over a Unix domain
+ * socket with sendmsg and SCM_RIGHTS. See sendmsg(3) and cmsg(3) man pages for more information.
*
* Available since API level 26.
*