am: 6da6ad9
* commit '6da6ad9ffa98b548b61fcee344b7174f270befd6':
bootstat: Two changes to aid in debugging TimeSinceFactoryReset.
Change-Id: I2d56fd25e817a63962ea4855432fc023914c244b
am: a348dfc
* commit 'a348dfcd651d8410bba41cde63c45e3c4d760d5a':
bootstat: Two changes to aid in debugging TimeSinceFactoryReset.
Change-Id: I4f91e3ac286ce02885089ac63cd0201f996b53c9
am: bebd381
* commit 'bebd38114c47965ab475c7736d689b564dc54890':
mkbootimg: use int for os_version and os_patch_level
Change-Id: I56cee9e16544a0603544f143a204cb1bf3d53275
am: e4052d2
* commit 'e4052d2ca544d47e104f4ff842a013429463420d':
mkbootimg: use int for os_version and os_patch_level
Change-Id: I61c57e45900da7dbdb303565ed5219f19b1e10b1
am: adbe06d
* commit 'adbe06db4870e9829ddc8c702f8789df6f2401b1':
mkbootimg: use int for os_version and os_patch_level
Change-Id: I23125c4f1842491effa903b2e30aee07664a6b98
The parse_int function attempts to interpret the string to detect
base, which leads to it assuming strings starting with 0 are base
8. This obviously fails for certain dates, so use int instead.
Bug: 27498078
Bug: 22914603
Change-Id: I50b1fb3d7876f2ec17d00649cc9a2d23af2aec2b
(cherry picked from commit 294eb9dac3)
Switch insmod from using init_module to finit_module. From
"man finit_module":
The finit_module() system call is like init_module(), but reads the
module to be loaded from the file descriptor fd. It is useful when the
authenticity of a kernel module can be determined from its location in
the file system; in cases where that is possible, the overhead of
using cryptographically signed modules to determine the authenticity
of a module can be avoided.
finit_module is preferred over init_module because it allows LSMs, such
as SELinux, to perform a permission check on kernel module loads based on
the file from which the module is loaded. This functionality is not yet
implemented in the Linux kernel, but is on the SEAndroid TODO list.
See https://bitbucket.org/seandroid/wiki/wiki/ToDo
Bug: 27824855
Change-Id: Id0ea88cd1930393c8c73ce38e63d5b2eeadf946a
* Also log to the BootEventRecordStore to check lossiness.
* Log factory_reset_current_time_failure separately.
Bug: 27550578
Change-Id: Id3d579a74a59ac28290cb7d6048765519f9ba59b
target_sdk_version=0 is a valid version, it basically
means 1 (the very first version of android) not current one.
Bug: http://b/27702070
Change-Id: Ib7843718f364b975e1d09a05377bf8580b407d9d
The parse_int function attempts to interpret the string to detect
base, which leads to it assuming strings starting with 0 are base
8. This obviously fails for certain dates, so use int instead.
Bug: 27498078
Bug: 22914603
Change-Id: I50b1fb3d7876f2ec17d00649cc9a2d23af2aec2b
am: 5e635f7
* commit '5e635f7c06a01ec635a9774d4cf942e058dddb11':
liblog: gate write on log id available
Change-Id: I011c845762d9899f4f01361e13b7ce040447cb5a
am: f44cb4c
* commit 'f44cb4c6cb11a4a2cd6af8f72d84a092bcfcf513':
liblog: gate write on log id available
Change-Id: Ida839dd23ea2b3b1b860c6e8e2b32af61b2fea29
am: fbdbf10
* commit 'fbdbf100cb48f18d308c96f1959945cf7d1909ec':
liblog: gate write on log id available
Change-Id: Ia715fa8f520a9f7893c07a06eca4cacd2962e9cb
(cherry pick from commit c33103c440)
- Secure LOG_ID_KERNEL in writer
- Secure LOG_ID_SECURITY in reader and writer
- if writer transport says not available, do not write to that log id
Bug: 27566046
Bug: 27896341
Change-Id: If63a78a56fb94adfbf9979454c4cadb81af45c19
am: 7f9a1aa
* commit '7f9a1aaf05dda20904f08a667dadcf555a41477e':
A workaround for apps using custom classloaders
Change-Id: I0e0c8325f2b1403bd6534f9f97434f0ce2b3c64d
- Secure LOG_ID_KERNEL in writer
- Secure LOG_ID_SECURITY in reader and writer
- if writer transport says not available, do not write to that log id
Bug: 27566046
Bug: 27896341
Change-Id: If63a78a56fb94adfbf9979454c4cadb81af45c19
Allow custom classloaders to load native libraries
from anywhere under /data
Bug: http://b/27588281
Change-Id: Idb87b33361903f52b734ddd0ceaabe1ff9c281eb
am: c1b10a9
* commit 'c1b10a9e84d675a3611e8bb5ee93001e8a286932':
Revert "Revert "bootstat: Handle v1 record files which do not contain file contents.""