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)

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: bbondy, Assigned: bbondy)

References

Details

Attachments

(1 file)

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.
Attached patch Patch v1.Splinter Review
Attachment #823526 - Flags: review?(dhylands)
Attachment #823526 - Flags: review?(dhylands) → review+
Blocks: 925570
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.

Attachment

General

Created:
Updated:
Size: