blob: 7cb2e675a6e3eece2ecbd33fb8da780ca9208cc0 [file] [log] [blame]
Alex Klyubinf5446eb2017-03-23 14:27:32 -07001typeattribute recovery_persist coredomain;
2
dcashmancc39f632016-07-22 13:13:11 -07003init_daemon_domain(recovery_persist)
dcashman2e00e632016-10-12 14:58:09 -07004
5# recovery_persist is not allowed to write anywhere other than recovery_data_file
Pirama Arumuga Nainarce9c0c52019-06-13 15:05:15 -07006neverallow recovery_persist {
7 file_type
8 -recovery_data_file
9 userdebug_or_eng(`-coredump_file')
10 with_native_coverage(`-method_trace_data_file')
11}:file write;