Setup group and permission of /sys/block/zram0 files at mmd.rc

mmd access triggers of "writeback", "recompress", "idle" files under
/sys/block/zram0/.

mmd also updates "writeback_limit" to control pages to be written.

/sys/block/zram0/idle and /sys/block/zram0/writeback are used by
existing ZramWriteback.java in system_server and
"system/core/rootdir/init.rc" configures the group and permissions of
them. This copies the configurations to mmd.rc so that the files are
configured correctly with/without mmd.rc. Duplicated configuration has
no effect and safe.

Bug: 375432468
Test: confirm file access succeeds by strace

Change-Id: I47581d1afa45e6160ba10da68ad9631bd525d4ce
1 file changed
tree: 24df320083038fd5868b4b853747c1715a7430db
  1. aidl/
  2. src/
  3. .gitignore
  4. Android.bp
  5. flags.aconfig
  6. mmd.rc
  7. OWNERS
  8. PREUPLOAD.cfg
  9. TEST_MAPPING