-
Notifications
You must be signed in to change notification settings - Fork 776
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for fork detection via pthread_atfork()
This provides an alternative way for fork detection that can be used if we are certain the platform does not have other ways of cloning an address space in use that are not noticed by pthread_atfork. This supports using pthread_atfork for fork detection on macOS, iOS, OpenBSD and FreeBSD. Linux continues to use MADVISE for the generation number and fork detection. Change-Id: I79fd7769477dc90bfe37229d2ff2e8c16898dff7 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/59906 Reviewed-by: David Benjamin <davidben@google.com> Auto-Submit: Bob Beck <bbe@google.com> Commit-Queue: Bob Beck <bbe@google.com>
- Loading branch information
Bob Beck
authored and
Boringssl LUCI CQ
committed
Oct 20, 2023
1 parent
39d7ee9
commit bfa8369
Showing
5 changed files
with
112 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters