On 07/24/2015 09:31 AM, Inamdar Sharif wrote:
>>> 1)      Mount a partition as read only with contextmount_type label
>> 
>>> Which partition?  Which type?  Is this mount specifying a context= mount 
>>> option?  If not, why is the type in contextmount_type?  Is it used 
>>> elsewhere as a context= mount option?
>> 
>> Yes this mount is specifying a context= mount option mount ext4 
>> dev/block/xyz /mnt/abc ro context=u:o:context_type:s0

>1.  Why are you using a context= mount?  Why not just label the ext4 
>filesystem at build time, as is done for system, userdata, etc?
Since its  a read only filesystem I am using "context= "

>2.  The context above is not valid; I assume you mean object_r and some 
>specific type (you can't specify context_type, it is an attribute, not a type).
I have declared it as below:
type abc_file, fs_type, contextmount_type
mount ext4  dev/block/xyz /mnt/abc ro context=u:object_r:abc_file:s0



-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to