Hi, Here it is what I am trying to do:
1) Mount a partition as read only with contextmount_type label 2) Remount this folder as Read write 3) Write some files in this folder 4) Again Remount this partition as read only I am doing this from init I am able to do 1 and 2 but not 3 and it fails to write to the mounted partition. I know that this happens due to a neverallow rule which says any domain should not try to write to contextmount_type. Can any one help me how to solve this issue?? What I am thinking is this (not to use contextmount_type): 1) Use fstab for mounting. 2) Label mount point with a file_type 3) Do restorecon_recursive 4) Remount as read write 5) Write files and again remount as read only. Is this approach OK?? Thanks. ----------------------------------------------------------------------------------- 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].
