did you push the new policy to the device? 1. rebuild the policy with make sepolicy 2. push the newly generated file_contexts file to data/system, look in the output from make telling you where it installed the policy file your concerned with. 3. adb shell setprop selinux.reload_policy 1
However, file contexts are a bit tricky, any existing labeled files don't automatically get their labels changed, so you may need to restorecon the offending file or rebuild the whole image and flash that. Bill On Tue, Jan 8, 2013 at 11:36 AM, Alex Gerdov <[email protected]> wrote: > Hello, > > I've trouble creating a new label and applying to the filesystem. > I've declared a new type in the file.te file and added a map in the > file_contexts file. Then I ran make, set selinux.reload_policy to 1 and > rebooted the emulator but the label didn't changed. > Can you please tell me what i'm missing or doing incorrectly? > Thanks. -- Respectfully, William C Roberts -- 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.
