From 58e18f93f6d749c1825e6e682baef55d2065d8d1 Mon Sep 17 00:00:00 2001 From: John Reck Date: Wed, 13 Nov 2019 10:44:52 -0800 Subject: Add more details on FD sharing Bug: https://github.com/android/ndk/issues/1127 Test: N/A Change-Id: Ib0c3bd75ba375a8a185a157df266e7da81903805 --- include/android/sharedmem.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. * -- cgit v1.2.3-59-g8ed1b