Stephen removed it recently... I cannot remember the commit but it is on
Gerrit.
On Dec 5, 2012 10:06 AM, "Radzykewycz, T (Radzy)" <[email protected]>
wrote:

> Hi folks
>
> I cloned a new 4.0.4 tree recently, but when I try to build it, I get the
> following error:
>
> system/core/init/init.c: In function 'selinux_load_policy':
> system/core/init/init.c:851: error: 'SELINUXMNT' undeclared (first use in
> this function)
> system/core/init/init.c:851: error: (Each undeclared identifier is
> reported only once
> system/core/init/init.c:851: error: for each function it appears in.)
>
> From system/ I tried grepping for it:
>
> find . \( -name .repo -prune \) -o \( -name .git -prune \) -o \( -exec
> egrep "SELINUXMNT" {} /dev/null \\\; \)
> ./core/init/init.c:    mkdir(SELINUXMNT, 0755);
> ./core/init/init.c:    if (mount("selinuxfs", SELINUXMNT, "selinuxfs", 0,
> NULL)) {
> ./core/init/init.c:    set_selinuxmnt(SELINUXMNT);
>
> So it isn't defined there.  I tried re-cloning system/core, but I get the
> same results.  I checked the 4.2 branch, and I don't see SELINUXMNT at all.
>
> Adding the following to system/core/init/init.c allows it to build:
>
> #define SELINUXMNT "/sys/fs/selinux"
>
> But I'm worried that there may be something else I'm doing wrong, with
> other consequences I haven't seen yet.
>
> Has anyone else seen this?  What am I doing wrong?
>
> Enjoy!
>
>                                                   -- radzy
>
>
> --
> This message was distributed to subscribers of the seandroid-list mailing
> list.
> If you no longer wish to subscribe, send mail to [email protected]
> the words "unsubscribe seandroid-list" without quotes as the message.
>

Reply via email to