Closed
Bug 931998
Opened 12 years ago
Closed 12 years ago
Enable MOZ_CONTENT_SANDBOX for XP_UNIX instead of XP_LINUX so it gets included in B2G
Categories
(Core :: Security, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: bbondy, Assigned: bbondy)
References
Details
Attachments
(1 file)
|
1.81 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
In Bug 922756 I added code for content sandboxing in Windows. This re-used the flag MOZ_CONTENT_SANDBOX.
To ensure that the linux/unix specific bits didn't get compiled on Windows I also added a guard:
> ifdef MOZ_CONTENT_SANDBOX #{
> +ifeq ($(OS_ARCH),Linux)
and
> #if defined(MOZ_CONTENT_SANDBOX) && defined(XP_LINUX)
(See this changeset: http://hg.mozilla.org/integration/mozilla-inbound/rev/f00c0b788fd7)
After I landed that though I noticed that we want MOZ_CONTENT_SANDBOX on for B2G now:
http://dxr.mozilla.org/mozilla-central/source/configure.in#l6343
I think that OS_ARCH is Linux is defined for b2g, but not XP_LINUX.
On #b2g they said what I want is XP_UNIX.
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #823526 -
Flags: review?(dhylands)
Updated•12 years ago
|
Attachment #823526 -
Flags: review?(dhylands) → review+
| Assignee | ||
Comment 2•12 years ago
|
||
Target Milestone: --- → mozilla28
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•