From fdc56c5ffec126b5d5ee257b816cfc6633667ace Mon Sep 17 00:00:00 2001 From: Nick Kralevich Date: Fri, 10 Apr 2015 17:42:49 -0700 Subject: [PATCH] genfs_contexts: provide a label for binfmt_misc Provide a default label for binfmt_misc. This is not used by the core policy, although it may be used in device specific policy. Bug: 20152930 Change-Id: Id51d69333bfeda40720d0e65e1539fab0b6e1e95 --- file.te | 1 + genfs_contexts | 1 + 2 files changed, 2 insertions(+) diff --git a/file.te b/file.te index 42cc8ac3f..2022b950b 100644 --- a/file.te +++ b/file.te @@ -38,6 +38,7 @@ type pstorefs, fs_type; type functionfs, fs_type; type oemfs, fs_type, contextmount_type; type usbfs, fs_type; +type binfmt_miscfs, fs_type; # File types type unlabeled, file_type; diff --git a/genfs_contexts b/genfs_contexts index 31b7e4f64..4b16ffc1f 100644 --- a/genfs_contexts +++ b/genfs_contexts @@ -32,3 +32,4 @@ genfscon fuse / u:object_r:fuse:s0 genfscon pstore / u:object_r:pstorefs:s0 genfscon functionfs / u:object_r:functionfs:s0 genfscon usbfs / u:object_r:usbfs:s0 +genfscon binfmt_misc / u:object_r:binfmt_miscfs:s0