diff options
| author | Bowgo Tsai <bowgotsai@google.com> | 2019-02-18 14:28:37 +0800 |
|---|---|---|
| committer | Bowgo Tsai <bowgotsai@google.com> | 2019-02-21 10:32:18 +0800 |
| commit | 918668a2cd8c453282c2ad644e412ea5baadebff (patch) | |
| tree | ecac3fbfb5f987e8d0f5a5abbac3e4ada40183fa /libcutils/socket_local_server_unix.cpp | |
| parent | f80c326d2e90c648196e9da5b536fa382b1ee7ad (diff) | |
libfs_avb: support rollback protection for Live GSI
This commit extracts the security patch level (SPL), e.g.,
com.android.build.system.security_patch = 2019-04-05 from AVB property
descriptors when attempting to mount a standalone image (e.g., live
GSI). Then compares the SPL between the old system.img and the new live
system.img for rollback protection.
Bug: 122705329
Test: boot an old Live GSI, checks rollback is detected
Change-Id: I7aae58c0b2062a3ff57ed932ad58e7b604453fed
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions
