Bug 1597150 - Bump RLBox library to the latest version. r=froydnj
authorshravanrn@gmail.com <shravanrn@gmail.com>
Mon, 18 Nov 2019 18:24:44 +0000
changeset 502448 eb382c9e27fb60efddc8061d9e2837f33056cf33
parent 502447 90678a02990b0a6e81066a5c790d0b60a6a792d2
child 502449 b42230b2ad6e97d7399a608d5297348a1906a754
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1597150
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1597150 - Bump RLBox library to the latest version. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D53374
third_party/rlbox/README-mozilla
third_party/rlbox/include/rlbox_policy_types.hpp
--- a/third_party/rlbox/README-mozilla
+++ b/third_party/rlbox/README-mozilla
@@ -1,10 +1,10 @@
 This directory contains the rlbox source from the upstream repo:
 https://github.com/PLSysSec/rlbox_sandboxing_api/
 
-Current version: [commit 521dcd664b60d03e7b7082199407fa20c3f812b7]
+Current version: [commit 5f107fed30f2dc578ca4f82dc3c7d3907abbd86b]
 
 UPDATING:
 
 This in-tree copy can be updated by running
   sh update.sh
 from within the third_party/rlbox directory.
--- a/third_party/rlbox/include/rlbox_policy_types.hpp
+++ b/third_party/rlbox/include/rlbox_policy_types.hpp
@@ -118,16 +118,24 @@ private:
     , callback_trampoline(p_callback_trampoline)
     , key(p_key)
   {
     detail::dynamic_check(sandbox != nullptr,
                           "Unexpected null sandbox when creating a callback");
   }
 
 public:
+  sandbox_callback()
+    : sandbox(nullptr)
+    , callback(nullptr)
+    , callback_interceptor(nullptr)
+    , callback_trampoline(0)
+    , key(nullptr)
+  {}
+
   sandbox_callback(sandbox_callback&& other)
   {
     move_obj(std::forward<sandbox_callback>(other));
   }
 
   inline sandbox_callback& operator=(sandbox_callback&& other)
   {
     if (this != &other) {