Closed Bug 1288644 Opened 8 years ago Closed 8 years ago

Don't define RTLD_NOLOAD when __ANDROID_API__ >= 21

Categories

(Core :: Security: PSM, defect, P1)

Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

Details

(Whiteboard: [psm-assigned])

Attachments

(1 file)

When using --with-android-version=21 such as Android 64-bit, RTLD_NOLOAD is defined in NDK.  So it will be conflict with our definition.
Priority: -- → P1
Whiteboard: [psm-assigned]
Attachment #8773641 - Flags: review?(mh+mozilla)
Comment on attachment 8773641 [details]
Bug 1288644 - Don't define RTLD_NOLOAD when __ANDROID_API__ >= 21.

https://reviewboard.mozilla.org/r/66396/#review63908

::: security/manager/android_stub.h:22
(Diff revision 1)
>  #include <linux/kernel.h>
>  #include <unistd.h>
>  
> +#ifndef ANDROID_VERSION
> +#include <android/api-level.h>
> +#define ANDROID_VERISON __ANDROID_API__

You have a typo here.
Comment on attachment 8773641 [details]
Bug 1288644 - Don't define RTLD_NOLOAD when __ANDROID_API__ >= 21.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/66396/diff/1-2/
Attachment #8773641 - Flags: review?(mh+mozilla)
Attachment #8773641 - Flags: review?(mh+mozilla) → review+
Comment on attachment 8773641 [details]
Bug 1288644 - Don't define RTLD_NOLOAD when __ANDROID_API__ >= 21.

https://reviewboard.mozilla.org/r/66396/#review64776
Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/135382fd463d
Don't define RTLD_NOLOAD when __ANDROID_API__ >= 21. r=glandium
https://hg.mozilla.org/mozilla-central/rev/135382fd463d
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: