Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14f2174c authored by Elliott Hughes's avatar Elliott Hughes Committed by Automerger Merge Worker
Browse files

Merge "Document that ASharedMemory_create fds may or may not be CLOEXEC." am:...

Merge "Document that ASharedMemory_create fds may or may not be CLOEXEC." am: 9e499bc4 am: 6b7a48e0 am: 3767a044 am: b633e4c5 am: 833254d2

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1419344

Change-Id: Id98f206f95d5bf23e1053d65c696750d37575423
parents cc61d0f3 833254d2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -65,6 +65,10 @@ extern "C" {
 * 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.
 *
 * If you intend to share this file descriptor with a child process after
 * calling exec(3), note that you will need to use fcntl(2) with FD_SETFD
 * to clear the FD_CLOEXEC flag for this to work on all versions of Android.
 *
 * Available since API level 26.
 *
 * \param name an optional name.