Re: [PATCH] Add empty top level Android.mk / CleanSpec.mk files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 16, 2015 at 4:58 AM, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:
>
> On 04/15/2015 06:07 PM, Nick Kralevich wrote:
> > Needed to allow Android to keep building with a copy of the SELinux
> > source code checked into external/selinux
> >
> > Bug: 19963152
> > Change-Id: I4e192bb6ca5d185e11540aca7253e729d92a00c1
>
> Thanks, applied.  I assume at some point you'll switch over to using the
> external/selinux/{libsepol,checkpolicy,secilc} and drop
> external/{libsepol,checkpolicy}, but retain external/libselinux since it
> is a fork and differs substantially as described in its README.android
> file.

Yes that's my hope. Plus there's other utilities I want there, such as
audit2allow, where I don't want to rely on what's installed on the
host.

> I suppose someone could try to upstream all the changes, some
> under conditional guards for ANDROID, but it wouldn't be trivial; I took
> a hacksaw to libselinux originally for Android.

I haven't looked yet to see how far apart the two sets of code are.
Ideally we could merge them but as you point out, it's not trivial.

>
> > ---
> >  Android.mk   | 2 ++
> >  CleanSpec.mk | 2 ++
> >  2 files changed, 4 insertions(+)
> >  create mode 100644 Android.mk
> >  create mode 100644 CleanSpec.mk
> >
> > diff --git a/Android.mk b/Android.mk
> > new file mode 100644
> > index 0000000..02f35a9
> > --- /dev/null
> > +++ b/Android.mk
> > @@ -0,0 +1,2 @@
> > +# This empty Android.mk file will prevent the build system
> > +# from building anything below this point.
> > diff --git a/CleanSpec.mk b/CleanSpec.mk
> > new file mode 100644
> > index 0000000..1ac5a62
> > --- /dev/null
> > +++ b/CleanSpec.mk
> > @@ -0,0 +1,2 @@
> > +# This empty CleanSpec.mk file will prevent the build system
> > +# from descending into subdirs.
> >
>



-- 
Nick Kralevich | Android Security | nnk@xxxxxxxxxx | 650.214.4037
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux