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
This commit is contained in:
Nick Kralevich 2015-04-10 17:42:49 -07:00
parent e32c7b2e68
commit fdc56c5ffe
2 changed files with 2 additions and 0 deletions

View file

@ -38,6 +38,7 @@ type pstorefs, fs_type;
type functionfs, fs_type; type functionfs, fs_type;
type oemfs, fs_type, contextmount_type; type oemfs, fs_type, contextmount_type;
type usbfs, fs_type; type usbfs, fs_type;
type binfmt_miscfs, fs_type;
# File types # File types
type unlabeled, file_type; type unlabeled, file_type;

View file

@ -32,3 +32,4 @@ genfscon fuse / u:object_r:fuse:s0
genfscon pstore / u:object_r:pstorefs:s0 genfscon pstore / u:object_r:pstorefs:s0
genfscon functionfs / u:object_r:functionfs:s0 genfscon functionfs / u:object_r:functionfs:s0
genfscon usbfs / u:object_r:usbfs:s0 genfscon usbfs / u:object_r:usbfs:s0
genfscon binfmt_misc / u:object_r:binfmt_miscfs:s0