No description
33327b651f
-> [1] added tests to ensure nano timespecs are below 1000000000 -> Legacy blobs before N were able to use tv_nsec > 100000000 -> One such example would be our libmmcamera2_sensor_modules.so, which have instances of timeouts of 5000000000 nsecs. -> The previous workaround was to shim the old libc functions to skip these tests, but that was really ugly since we leave out bug fixes and security patches introduced from MM up till Oreo. -> Current workaround is applied on the latest bionic code by correcting the invalid timespecs, taking out each second from tv_nsec, and then adding them to tv_sec, until tv_nsec goes below 1 second. -> Due to bionic's tight security, we've got no choice but to copy-paste its functions here. [1]: https://android.googlesource.com/platform/bionic/+/c9a659c Change-Id: I271f2899db54a252d0d2a018cf4eb7877b97a02a |
||
---|---|---|
interfaces | ||
libbase | ||
libbinder | ||
libc | ||
libcamera_metadata | ||
libcomparetf2 | ||
libcutils | ||
libgui | ||
libmemset | ||
libpiex | ||
libtinyxml2 | ||
libui | ||
libutils | ||
.clang-format | ||
Android.bp |