Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove use of mach_absolute_time (#15554) #16593

Merged
merged 1 commit into from
Apr 26, 2024
Merged

remove use of mach_absolute_time (#15554) #16593

merged 1 commit into from
Apr 26, 2024

Conversation

zhangskz
Copy link
Member

Cherry-pick 76d05d4 to 19.x. 19.x is out-of-support and should not receive further patch releases, but cherry picking to help #16358 (comment)

mach_absolute_time is one of Apple's required reason APIs (https://developer.apple.com/documentation/kernel/1462446-mach_absolute_time?language=objc). Replace it with the suggested clock_gettime_nsec_np(CLOCK_UPTIME_RAW) so that we don't need a RRA entry in a privacy manifest.

issue #15029

Closes #15554

COPYBARA_INTEGRATE_REVIEW=#15554 from protocolbuffers:dmaclach-mach_absolute_time 295d831 PiperOrigin-RevId: 601370915

`mach_absolute_time` is one of Apple's required reason APIs (https://developer.apple.com/documentation/kernel/1462446-mach_absolute_time?language=objc). Replace it with the suggested `clock_gettime_nsec_np(CLOCK_UPTIME_RAW)` so that we don't need a RRA entry in a privacy manifest.

issue #15029

Closes #15554

COPYBARA_INTEGRATE_REVIEW=#15554 from protocolbuffers:dmaclach-mach_absolute_time 295d831
PiperOrigin-RevId: 601370915
@zhangskz zhangskz merged commit fd15ad2 into 3.19.x Apr 26, 2024
4 checks passed
@zhangskz zhangskz deleted the cp-19 branch April 26, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants