diff options
author | Robo <hop2deep@gmail.com> | 2021-06-22 18:42:30 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 18:42:30 +0300 |
commit | 92999c339e2666998bd45d13fa355cecc7947b8b (patch) | |
tree | 8f9290142426bb6027a0eaac7a97be18df588e87 /scripts | |
parent | 70c2130eaf4c31d4bbcffb29543f7250afc9f2d7 (diff) |
fix: setuid helper permission (#126798)
* ci: fix setuid helper binary permission
* ci: allow privilege for CLONE_NEWPID | CLONE_NEWNET
* ci: fix chrome-sandbox permission with rpm
* ci: fix permissions on snap
* ci: download electron earlier for arm builds
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test-integration.sh | 3 | ||||
-rwxr-xr-x | scripts/test.sh | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/scripts/test-integration.sh b/scripts/test-integration.sh index ad22b609539..d529a5bc394 100755 --- a/scripts/test-integration.sh +++ b/scripts/test-integration.sh @@ -6,10 +6,9 @@ if [[ "$OSTYPE" == "darwin"* ]]; then ROOT=$(dirname $(dirname $(realpath "$0"))) else ROOT=$(dirname $(dirname $(readlink -f $0))) - # --disable-setuid-sandbox: setuid sandboxes requires root and is used in containers so we disable this # --disable-dev-shm-usage --use-gl=swiftshader: when run on docker containers where size of /dev/shm # partition < 64MB which causes OOM failure for chromium compositor that uses the partition for shared memory - LINUX_EXTRA_ARGS="--disable-setuid-sandbox --disable-dev-shm-usage --use-gl=swiftshader" + LINUX_EXTRA_ARGS="--disable-dev-shm-usage --use-gl=swiftshader" fi VSCODEUSERDATADIR=`mktemp -d 2>/dev/null` diff --git a/scripts/test.sh b/scripts/test.sh index 68f75db60d8..10ffb97c71f 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -6,10 +6,9 @@ if [[ "$OSTYPE" == "darwin"* ]]; then ROOT=$(dirname $(dirname $(realpath "$0"))) else ROOT=$(dirname $(dirname $(readlink -f $0))) - # --disable-setuid-sandbox: setuid sandboxes requires root and is used in containers so we disable this # --disable-dev-shm-usage --use-gl=swiftshader: when run on docker containers where size of /dev/shm # partition < 64MB which causes OOM failure for chromium compositor that uses the partition for shared memory - LINUX_EXTRA_ARGS="--disable-setuid-sandbox --disable-dev-shm-usage --use-gl=swiftshader" + LINUX_EXTRA_ARGS="--disable-dev-shm-usage --use-gl=swiftshader" fi cd $ROOT |