From b3b401862e1a39dda7c38179c0690d9a5a1a823e Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 19 Oct 2016 17:29:10 -0700 Subject: [PATCH] Update libfuzzer-pipeline.groovy --- infra/libfuzzer-pipeline.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/libfuzzer-pipeline.groovy b/infra/libfuzzer-pipeline.groovy index fe32bbaba..87e40c86b 100644 --- a/infra/libfuzzer-pipeline.groovy +++ b/infra/libfuzzer-pipeline.groovy @@ -85,7 +85,7 @@ def call(body) { sh "mkdir $out" stage("$sanitizer sanitizer") { // Run image to produce fuzzers - sh "docker run -u $uid -v $out:/out -e SANITIZER_FLAGS=\"-fsanitize=$sanitizer\" -t $dockerTag" + sh "docker run --user $uid -v $out:/out -e SANITIZER_FLAGS=\"-fsanitize=$sanitizer\" -t $dockerTag" } } } @@ -110,7 +110,7 @@ def call(body) { echo "skipping: $file" continue } - sh "docker run -u $uid --rm -v $d:/out -t ossfuzz/libfuzzer-runner /out/$file -runs=32" + sh "docker run --user $uid --rm -v $d:/out -t ossfuzz/libfuzzer-runner /out/$file -runs=32" fuzzersFound += 1 }