| commit | 7f14924d0209e18fcbc46d3d3beec1241bb0c16c | [log] [tgz] |
|---|---|---|
| author | Nick Kralevich <[email protected]> | Sat Jan 31 14:56:46 2015 -0800 |
| committer | Nick Kralevich <[email protected]> | Sat Jan 31 15:05:48 2015 -0800 |
| tree | 29f38b33cfbb7a886a4ffb5e0698390570f298c6 | |
| parent | 0e7ddd0a86f8006501afd74463914054abcef353 [diff] |
Allow init to rm /dev/diag
Commit 69e1ad839d8a89f55eb226a639c760ac09e7135a
(AOSP cherrypick 3ac5654c0a144eda4925c70e5c2f275e95c31e7c) ensures
that /dev/diag is always removed on boot. Allow for it in
SELinux policy.
Addresses the following denial:
audit(1422745424.741:5): avc: denied { unlink } for pid=1 comm="init" name="diag" dev="tmpfs" ino=8302 scontext=u:r:init:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file
Change-Id: If20ae7eb64356c06e94873dec89fc1ca576fe74a