Closed Bug 1355083 Opened 9 years ago Closed 9 years ago

[sandbox] don't use compiler defines to parametrize sandbox policies

Categories

(Core :: Security: Process Sandboxing, enhancement)

Unspecified
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: Alex_Gaynor, Assigned: Alex_Gaynor)

References

Details

Attachments

(1 file)

Attachment #8856508 - Flags: review?(haftandilian)
Assignee: nobody → agaynor
Uploaded a straightforward patch for this, but I couldn't find a name for the DEBUG variable that I liked -- you can't just use |debug| because it conflicts with an existing |debug| function -- suggestions welcomed.
Comment on attachment 8856508 [details] Bug 1355083 - Switch from using a #define to alter a sandbox policy to a normal param https://reviewboard.mozilla.org/r/128460/#review130916 Let's go with isDebugBuild. The "Camel Case" matches most of the other variables and we're faking a boolean with this variable. Plus variable names with hyphens are scary. And it should indicate the variable is just for flagging we're in a debug Firefox build and it's not for debugging the sandbox or anything like that.
Attachment #8856508 - Flags: review?(haftandilian) → review+
Comment on attachment 8856508 [details] Bug 1355083 - Switch from using a #define to alter a sandbox policy to a normal param https://reviewboard.mozilla.org/r/128460/#review130926
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/5b7e7bd08789 Switch from using a #define to alter a sandbox policy to a normal param r=haik
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: