Add more details on FD sharing
Bug: https://github.com/android/ndk/issues/1127
Test: N/A
Change-Id: Ib0c3bd75ba375a8a185a157df266e7da81903805
diff --git a/include/android/sharedmem.h b/include/android/sharedmem.h
index 2aacf11..6efa4f7 100644
--- a/include/android/sharedmem.h
+++ b/include/android/sharedmem.h
@@ -62,7 +62,8 @@
* 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.
*