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
3 files changed
tree: eeeff0d465d6ce4f1c490a6cee09f5990607d193
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-internal-lib/
  4. car-lib/
  5. car-maps-placeholder/
  6. car-systemtest-lib/
  7. car-test-lib/
  8. car-usb-handler/
  9. car_product/
  10. computepipe/
  11. EncryptionRunner/
  12. evs/
  13. experimental/
  14. FrameworkPackageStubs/
  15. obd2-lib/
  16. packages/
  17. procfs-inspector/
  18. service/
  19. surround_view/
  20. tests/
  21. tools/
  22. user/
  23. vehicle-hal-support-lib/
  24. watchdog/
  25. .clang-format
  26. .gitignore
  27. Android.mk
  28. CleanSpec.mk
  29. CPPLINT.cfg
  30. OWNERS
  31. PREUPLOAD.cfg
  32. README.md
  33. TEST_MAPPING
README.md

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.