I meant only for AOSP. I want the distinction on Mac perms to live in our
tree. We could just move it to the ramdisk to keep everything cohesive...
Or build a zip on system that is Mac perms + version... So at build time 3
zips are produced..
All containing the same version file and then differentiated from there:
1. All files
2. Mac perms
3. Set 1 - set 2
On Aug 26, 2013 9:30 AM, "Stephen Smalley" <[email protected]> wrote:

> On 08/26/2013 09:19 AM, William Roberts wrote:
> > On Aug 26, 2013 8:53 AM, "Stephen Smalley" <[email protected]> wrote:
> >>
> >> On 08/23/2013 04:41 PM, William Roberts wrote:
> >>> On Fri, Aug 23, 2013 at 1:40 PM, Stephen Smalley <[email protected]>
> > wrote:
> >>>> Ok, I don't think that is too hard, just a matter of having libselinux
> >>>> use the appropriate library for accessing zip files and adding the
> >>>> corresponding logic on that side.
> >>>>
> >>>>
> >>>> My biggest concern is having another library added to init...
> >>>
> >>> What do you  think will have the smallest, easiest signed format to
> work
> >>> with?
> >>
> >> It seems like reusing the whole-file signed zip format already used for
> >> OTA updates would be simplest as it is already in use within Android and
> >> is already security-critical.
> >>
> >> However, one additional complication to work out is how we want to
> >> handle mac_permissions.xml.  It presently gets installed under /system
> >> rather than / and is only used by the system_server, not by the kernel
> >> or init.  And the current SELinuxPolicyInstallReceiver does not handle
> >> it at all.
> >>
> >>
> > I think you keep the packaging the same... But drop the data path in the
> > reload code for Mac perms.
>
> I'm ok with using a different approach for handling updates to
> mac_permissions.xml, but we still need a way to do it.  Being able to
> override the default mac_permissions.xml is a requirement for us.
>
>
>

Reply via email to