[tor-commits] [tor-browser-build/master] Avoid using directory with predictable name in /tmp

boklm at torproject.org boklm at torproject.org
Fri Aug 11 10:33:04 UTC 2017


commit 36296855fd4e553fb871c2f03a2fc62597d562a5
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Fri Aug 11 12:28:57 2017 +0200

    Avoid using directory with predictable name in /tmp
    
    Update rbm with support for the rbm_tmp_dir option, and use it in the
    containers directory.
---
 rbm      | 2 +-
 rbm.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rbm b/rbm
index f494d16..6902007 160000
--- a/rbm
+++ b/rbm
@@ -1 +1 @@
-Subproject commit f494d16a1b86700661a029f5eca00c6216bf08d1
+Subproject commit 690200770631f4adcfbbe7988379eb39698e11ab
diff --git a/rbm.conf b/rbm.conf
index 93c5e5b..5e1e66d 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -36,7 +36,7 @@ var:
     build:
     [% c("build", { filename => 'f', output_dir => '/out' }) %]
   container:
-    dir: '[% c("tmp_dir") %]/[% c("uid") %]/rbm-containers/[% sha256(c("build_id")) %]'
+    dir: '[% c("rbm_tmp_dir") %]/rbm-containers/[% sha256(c("build_id")) %]'
     user: rbm
   input_files_list: |
     [% FOREACH file IN c("input_files_by_name").keys.sort -%]



More information about the tor-commits mailing list