Hi,


I am using Android 4.4.4. I have a requirement that a database file would be 
accessible (read and write) to only a certain application. It is to be noted 
that the database file is also owned by that application.  I am very new to 
SEAndroid and therefore, with whatever little understanding I have so far, I 
believe , to meet this requirement, I have to do the following:-

a) Define a new domain type (for the application) and an object (here it is the 
database file) type.

b) write a new policy file

c) Perform an union of the custom policy file with /external/sepolicy/*.te 
files through BoardConfig.mk

d) Update seapp_contexts file.



Following are my queries:-



a) Are the above steps correct or am I missing something here?

b) Do I have to update /external/sepolicy/file.te to add new object type?

c) Should the new domain type be defined in the policy file?



Thanks and Regards,

Souvik


_______________________________________________
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