rpcraig wrote:
On 12/07/2012 11:30 AM, Joshua Brindle wrote:
while trying to figure out labels for devices on mako I came across
/dev/kgsl-3d0, which appears to be the gpu (it is created by
kernel/msm/arch/arm/mach-msm/lge/mako/board-mako-gpu.c) so I labeled
it video_device (which I believe is used for this sort of thing).
Unfortunately, and to my dismay it looks like everything in the OS
accesses this directly:

<snip>
Looks like graphics_device to me. I had a similar problem with the manta
gpu. I made a new type.

I see in the manta policy:

app.te:allow appdomain graphics_device:chr_file rw_file_perms;

Isn't that unsafe?

--
This message was distributed to subscribers of the seandroid-list mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe seandroid-list" without quotes as the message.

Reply via email to