commit | a73f58aee166047412213df3c3a0c8b91864cfcb | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Oct 17 10:13:25 2018 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed Oct 17 10:14:40 2018 -0700 |
tree | 01b8311d4596da54d9f60ed6c86c06dc6a787b2d | |
parent | bab267a88fa553f8e05ad6afef279219f19b74f5 [diff] |
mediaprovider: add functionfs ioctl Addresses the following denial: type=1400 audit(0.0:51894): avc: denied { ioctl } for comm="MtpServer" path="/dev/usb-ffs/mtp/ep1" dev="functionfs" ino=30291 ioctlcmd=0x6782 scontext=u:r:mediaprovider:s0:c512,c768 tcontext=u:object_r:functionfs:s0 tclass=file permissive=0 app=com.android.providers.media Test: policy compiles. Change-Id: I5290abb2848e5824669dae4cea829d4cbea98ab4