From 478d626e142f2c4357aab1a0ce8720cd4ddcdd34 Mon Sep 17 00:00:00 2001 From: Jin Qian Date: Thu, 22 Jun 2017 17:32:05 -0700 Subject: [PATCH] sepolicy for mke2fs tools Move policy from global file to device specific file Bug: 62908056 Change-Id: I72557ca5120df8cdea59e843cd20f9cf676b5e01 Merged-In: I20f0cc40276ef434fae1e4390c10765a4c9fd909 --- sepolicy/private/file_contexts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/private/file_contexts b/sepolicy/private/file_contexts index f52868dc..ef9960b6 100644 --- a/sepolicy/private/file_contexts +++ b/sepolicy/private/file_contexts @@ -1 +1,4 @@ +/system/bin/e2fsdroid u:object_r:e2fs_exec:s0 +/system/bin/mke2fs u:object_r:e2fs_exec:s0 +/sys/fs/ext4/features(/.*)? u:object_r:sysfs_fs_ext4_features:s0 /system/bin/folio_daemon u:object_r:folio_daemon_exec:s0