Re: [PATCH v6 2/2] staging: ion: create one device entry per heap

From: Laura Abbott
Date: Tue Dec 05 2017 - 18:01:51 EST


On 12/02/2017 07:53 AM, Greg KH wrote:
This is one of the item in the TODO list before been able to unstage ION
which is my real need.
Why does it matter where in the tree this code is? Don't go adding new
things to it that are not needed. Who needs this? What userspace code
wants this type of multiple ion devices?


Requirements came in from several places to split /dev/ion -> /dev/ion0
and /dev/ion1 so that security policy (i.e. selinux) could be used to
protect access to certain heaps. I wanted the ABI to be settled before
trying to move out of staging, hence the line in the TODO list about
doing the split.

thanks,

greg k-h

Thanks,
Laura