Thanks a lot for the patches. I had trouble setting up my workspace. I will update the result on Monday.
On Thu, Jun 12, 2014 at 11:27 AM, Stephen Smalley <s...@tycho.nsa.gov> wrote: > On 06/12/2014 08:41 AM, Stephen Smalley wrote: > > On 06/12/2014 03:08 AM, Dinesh Garg wrote: > >>>> Is that good enough or do you need this to be done for all device > >> nodes automatically when > >> created by ueventd? > >> I am not sure about the need to do it for all device. While setting the > >> symlink, i get the corresponding device and then label from policy and > >> use setfilecon to apply it. Is my understanding correct ? > > > > If we create a patch for system/core/init, can you test it with your > > setup to see if it resolves your issue? > > The code changes for external/libselinux and system/core are: > https://android-review.googlesource.com/#/c/97701/ > and > https://android-review.googlesource.com/#/c/97721/ > and a change to test the support on hammerhead is: > https://android-review.googlesource.com/#/c/97750/ > > The latter rewrites the file_contexts entries for hammerhead to use the > /dev/block/platform/msm_sdcc.1/by-name/<name> symlink pathnames rather > than the /dev/block/mmcblk* real pathnames, thereby demonstrating that > the label-by-symlink support works correctly. This allows you to label > based on the partition name rather than the partition number. Does that > address your issue? >
_______________________________________________ Seandroid-list mailing list Seandroid-list@tycho.nsa.gov To unsubscribe, send email to seandroid-list-le...@tycho.nsa.gov. To get help, send an email containing "help" to seandroid-list-requ...@tycho.nsa.gov.