commit | dda5fef84c57462e043b2e4d63701e4d9a187fc8 | [log] [tgz] |
---|---|---|
author | Yiming Jing <yimingjing@google.com> | Thu Sep 03 16:12:05 2020 -0700 |
committer | Yiming Jing <yimingjing@google.com> | Thu Sep 03 16:12:05 2020 -0700 |
tree | eeeff0d465d6ce4f1c490a6cee09f5990607d193 | |
parent | dd9ad89a047741ccc855ef499c52590d16afaf2f [diff] |
Revert "Remove the sysfs_fs_lifetime_write type" This reverts the change to car_product/sepolicy/public/file.te in commit 0b8205346b8c5cb7dd4cd98152d7cfa2534f2127. The private sepolicy is adapted to keep sysfs_fs_ext4 and sysfs_fs_f2fs still readable by carservice_app. Reason for revert: b/165797366, breaking API compatibility Bug: 157793539 Bug: 165797366 Test: m Test: flash the bench and check the label of /sys/fs/ext4; Test: check /system/product/etc/selinux/product_sepolicy.cil; Test: adb pull /vendor/etc/selinux/precompiled_sepolicy; and Test: sesearch -A -s carservice_app -t sysfs precompiled_sepolicy Change-Id: Ie633df42364272ae2af016d3d396a17430323ba0
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.