Home
last modified time | relevance | path

Searched full:sudo (Results 1 – 25 of 710) sorted by relevance

12345678910>>...29

/external/syzkaller/tools/
Dcreate-image.sh12 sudo rm -rf $DIR
14 sudo debootstrap --include=openssh-server,curl,tar,gcc,libc6-dev,time,strace,sudo,less,psmisc,selin…
17 sudo sed -i '/^root/ { s/:x:/::/ }' $DIR/etc/passwd
18 echo 'T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100' | sudo tee -a $DIR/etc/inittab
19 printf '\nauto eth0\niface eth0 inet dhcp\n' | sudo tee -a $DIR/etc/network/interfaces
20 echo 'debugfs /sys/kernel/debug debugfs defaults 0 0' | sudo tee -a $DIR/etc/fstab
21 echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a $DIR/etc/fstab
22 echo 'SELINUX=disabled' | sudo tee $DIR/etc/selinux/config
23 echo "kernel.printk = 7 4 1 3" | sudo tee -a $DIR/etc/sysctl.conf
24 echo 'debug.exception-trace = 0' | sudo tee -a $DIR/etc/sysctl.conf
[all …]
Dcreate-gce-image.sh10 # sudo debootstrap --include=openssh-server,curl,tar,gcc,libc6-dev,time,strace,sudo,less,psmisc,s…
14 # sudo apt-get install grub-efi
74 sudo umount disk.mnt || true
78 sudo modprobe nbd
79 sudo qemu-nbd -d /dev/nbd0 || true
85 DISKDEV="$(sudo losetup -f --show -P disk.raw)"
86 CLEANUP="sudo losetup -d $DISKDEV; $CLEANUP"
89 sudo qemu-nbd -c $DISKDEV --format=raw disk.raw
90 CLEANUP="sudo qemu-nbd -d $DISKDEV; $CLEANUP"
92 echo -en "o\nn\np\n1\n\n\na\nw\n" | sudo fdisk $DISKDEV
[all …]
/external/syzkaller/pkg/build/
Dlinux_generated.go33 sudo umount disk.mnt || true
37 sudo modprobe nbd
38 sudo qemu-nbd -d /dev/nbd0 || true
44 DISKDEV="$(sudo losetup -f --show -P disk.raw)"
45 CLEANUP="sudo losetup -d $DISKDEV; $CLEANUP"
48 sudo qemu-nbd -c $DISKDEV --format=raw disk.raw
49 CLEANUP="sudo qemu-nbd -d $DISKDEV; $CLEANUP"
51 echo -en "o\nn\np\n1\n\n\na\nw\n" | sudo fdisk $DISKDEV
54 sudo -E mkfs.ext4 $PARTDEV
57 sudo mount $PARTDEV disk.mnt
[all …]
/external/grpc-grpc/tools/gce/
Dlinux_kokoro_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
66 sudo apt-get install -y google-perftools libgoogle-perftools-dev
69 sudo apt-get install -y netperf
72 sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
75 sudo pip install --upgrade pip==10.0.1
76 sudo pip install tabulate
77 sudo pip install google-api-python-client
[all …]
Dlinux_performance_worker_init.sh22 sudo apt-get update
25 sudo apt-get install -y openjdk-8-jdk
26 sudo apt-get install -y unzip lsof
28 sudo apt-get install -y \
66 sudo apt-get install -y google-perftools libgoogle-perftools-dev
69 sudo apt-get install -y netperf
72 sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
75 sudo pip install --upgrade pip==10.0.1
76 sudo pip install tabulate
77 sudo pip install google-api-python-client
[all …]
Dlinux_worker_init.sh23 sudo dd if=/dev/zero of=/swap bs=1024 count=10485760
24 sudo chmod 600 /swap
25 sudo mkswap /swap
26 sudo sed -i '$ a\/swap none swap sw 0 0' /etc/fstab
27 sudo swapon -a
30 sudo apt-get update
33 sudo apt-get install -y openjdk-8-jre
34 sudo apt-get install -y unzip lsof
40 sudo adduser jenkins --disabled-password || true
42 # Enable jenkins to use docker without sudo:
[all …]
/external/bcc/
DINSTALL.md60 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4052245BD4284CDD
61 echo "deb https://repo.iovisor.org/apt/xenial xenial main" | sudo tee /etc/apt/sources.list.d/iovis…
62 sudo apt-get update
63 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
70 echo "deb [trusted=yes] https://repo.iovisor.org/apt/xenial xenial-nightly main" | sudo tee /etc/ap…
71 sudo apt-get update
72 sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
82 sudo dnf config-manager --add-repo=http://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/fedo…
83 sudo dnf update
94 …ps://repo.iovisor.org/yum/nightly/f27/$basearch\nenabled=1\ngpgcheck=0' | sudo tee /etc/yum.repos.…
[all …]
/external/bcc/tests/python/
DCMakeLists.txt23 COMMAND ${TEST_WRAPPER} py_bpf_prog sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_bpf_log.py)
33 …COMMAND ${TEST_WRAPPER} py_trace1 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace1.py test_trace1.b kp…
35 COMMAND ${TEST_WRAPPER} py_trace2 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace2.py)
37 COMMAND ${TEST_WRAPPER} py_trace3_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace3.py test_trace3.c)
39 COMMAND ${TEST_WRAPPER} py_trace4 sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_trace4.py)
41 COMMAND ${TEST_WRAPPER} py_probe_count sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_probe_count.py)
43 COMMAND ${TEST_WRAPPER} py_test_debuginfo sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_debuginfo.py)
45 COMMAND ${TEST_WRAPPER} py_brb_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_brb.py test_brb.c)
47 COMMAND ${TEST_WRAPPER} py_brb2_c sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_brb2.py test_brb2.c)
49 COMMAND ${TEST_WRAPPER} py_clang sudo ${CMAKE_CURRENT_SOURCE_DIR}/test_clang.py)
[all …]
/external/scapy/
D.travis.yml48 sudo: required
51 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
54 sudo: required
57 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
60 sudo: required
63 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
66 sudo: required
69 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
72 sudo: required
75 - SCAPY_SUDO=sudo SCAPY_COVERAGE=yes
[all …]
/external/lz4/
D.travis.yml13 sudo: false
17 sudo: required
18 …env: Ubu=12.04cont Cmd='sudo sysctl -w vm.mmap_min_addr="4096" && make -C tests test-frametest tes…
21 sudo: false
28 sudo: required
38 sudo: required
46 sudo: required
54 sudo: false
58 sudo: required
66 …- env: Ubu=14.04 Cmd='sudo sysctl -w vm.mmap_min_addr="4096" && make -C tests test-frametest32 tes…
[all …]
/external/bcc/tests/
Dwrapper.sh.in19 sudo ip netns delete $ns
26 sudo ip netns add $ns
27 sudo ip link add $ns.in type veth peer name $ns.out
28 sudo ip link set $ns.in netns $ns
29 sudo ip netns exec $ns ip link set $ns.in name eth0
30 sudo ip netns exec $ns ip addr add dev eth0 172.16.1.2/24
31 sudo ip netns exec $ns ip link set eth0 up
32 sudo ip netns exec $ns ethtool -K eth0 tx off
33 sudo ip addr add dev $ns.out 172.16.1.1/24
34 sudo ip link set $ns.out up
[all …]
/external/autotest/site_utils/
Dsetup_dev_autotest.sh99 echo "Running with sudo / as root is not recommended"
207 if ! sudo apt-get install -y ${PKG_LIST}; then
224 sudo ln -s "$INFRA_VENV_PATH" "$INFRA_VENV_SYMLINK"
230 sudo mkdir -p "${AT_DIR}"
231 sudo mount --bind "${AUTOTEST_DIR}" "${AT_DIR}"
234 sudo chown -R "$(whoami)" "${AT_DIR}"
244 sudo su -c \
277 sudo mkdir /etc/apache2/run
279 sudo ln -sf "${AT_DIR}"/apache/apache-conf \
283 sudo a2dissite 000-default default || true
[all …]
/external/kmod/
D.travis.yml3 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
4 - sudo apt-get update -qq
5 - sudo apt-get install -qq liblzma-dev
6 - sudo apt-get install -qq zlib1g-dev
7 - sudo apt-get install -qq xsltproc docbook-xsl
8 - sudo apt-get install -qq cython
9 - sudo apt-get install -qq linux-headers-generic
10 …- if [ "$MYCC" = "gcc-4.8" ]; then sudo apt-get install -qq gcc-4.8; sudo update-alternatives --in…
11 …- if [ "$MYCC" = "gcc-4.9" ]; then sudo apt-get install -qq gcc-4.9; sudo update-alternatives --in…
/external/protobuf/
Dtests.sh24 sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
25 sudo apt-get update -qq
26 sudo apt-get install -qq g++-4.8
59sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D8…
60 …echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.li…
61 …echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | sudo tee -a /…
62 sudo apt-get update -qq
63 sudo apt-get install -qq mono-devel referenceassemblies-pcl nunit
80 sudo apt-get update -qq
81 sudo apt-get install -qq golang
[all …]
/external/vboot_reference/scripts/image_signing/
Dalign_rootfs.sh36 add_cleanup_action "sudo rm -rf \"${src_root_fs_dir}\""
38 add_cleanup_action "sudo umount \"${src_root_fs_dir}\""
41 add_cleanup_action "sudo rm -rf \"${dst_root_fs_dir}\""
42 sudo mount -o loop "${dst_root_fs}" "${dst_root_fs_dir}" -o loop
43 add_cleanup_action "sudo umount \"${dst_root_fs_dir}\""
49 sudo find "${dst_root_fs_dir}" -xdev -type f |
51 immutable=$(sudo lsattr "${file}" | cut -d' ' -f1 | grep -q i ; echo $?)
54 sudo chattr -i "${file}"
61 sudo rsync -v -a -H -A -x --force --inplace --numeric-ids --delete \
66 sudo chattr +i "${file}"
[all …]
/external/elfutils/src/
Dmake-debug-archive.in17 SUDO=${SUDO:-/usr/bin/sudo}
30 echo " or: $0 --kernel [--sudo] [--force] [RELEASE]"
37 echo "With --sudo, touches the installed file via $SUDO."
56 sudo=
65 x--sudo) sudo=$SUDO ;;
71 if [ $kernel = no ] && [ $force_kernel = yes -o -n "$sudo" ]; then
100 [ ! -e "$archive" ] || $sudo $RM -f "$archive" || exit
117 if [ -z "$sudo" ]; then
130 $sudo $MV -f "$new_archive" "$archive"
/external/grpc-grpc/src/php/
DREADME.md24 $ sudo apt-get install php5 php5-dev php-pear phpunit
30 $ sudo apt-get install php7.0 php7.0-dev php-pear phpunit
34 $ sudo apt-get install php php-dev php-pear phpunit
39 $ sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
40 $ sudo rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
41 $ sudo yum install php56w php56w-devel php-pear phpunit gcc zlib-devel
48 $ sudo php -d detect_unicode=0 go-pear.phar
54 $ sudo mv composer.phar /usr/local/bin/composer
61 $ sudo mv phpunit-old.phar /usr/bin/phpunit
73 sudo pecl install grpc
[all …]
/external/openssh/regress/
Dagent-getpeereid.sh16 case "x$SUDO" in
17 xsudo) sudo=1;;
20 echo "need SUDO to switch to uid $UNPRIV"
23 echo "unsupported $SUDO - "doas" and "sudo" are allowed"
40 if test -z "$sudo" ; then
42 ${SUDO} -n -u ${UNPRIV} ${SSHADD} -l 2>/dev/null
44 # sudo
45 < /dev/null ${SUDO} -S -u ${UNPRIV} ${SSHADD} -l 2>/dev/null
/external/wpa_supplicant_8/hs20/server/
Dhs20-osu-server.txt22 sudo apt-get update
23 sudo apt-get upgrade
26 sudo apt-get install sqlite3
27 sudo apt-get install apache2
28 sudo apt-get install php-sqlite3 php-xml libapache2-mod-php
31 sudo apt-get install build-essential
32 sudo apt-get install libsqlite3-dev
33 sudo apt-get install libssl-dev
34 sudo apt-get install libxml2-dev
44 sudo mkdir -p /home/user/hs20-server
[all …]
/external/perf_data_converter/
D.travis.yml3 sudo: required
6 - sudo apt-get -qq update
7 …- sudo apt-get install -y libelf-dev libssl-dev libcap-dev linux-tools-`uname -r` linux-cloud-tool…
12 - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
13 - sudo apt-get update
14 - sudo apt-get install g++-4.8
15 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
16 - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
/external/mesa3d/docs/
Dvmware-guest.html97 sudo apt-get install git-core
98 sudo apt-get install automake libtool libpthread-stubs0-dev
99 sudo apt-get install xserver-xorg-dev x11proto-xinerama-dev libx11-xcb-dev
100 sudo apt-get install libxcb-glx0-dev libxrender-dev
101 sudo apt-get build-dep libgl1-mesa-dri libxcb-glx0-dev
105 sudo yum install mesa-libGL-devel xorg-x11-server-devel xorg-x11-util-macros
106 sudo yum install libXrender-devel.i686
107 sudo yum install automake gcc libtool expat-devel kernel-devel git-core
108 sudo yum install makedepend flex bison
179 sudo make install
[all …]
/external/flatbuffers/
D.travis.yml84 …- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test…
85 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
86 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq g++-$GCC_VERSION; fi
87 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -qq gcc-$GCC_VERSION; fi
88 …- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which g++-$GCC_VERSION) /usr/bin/g+…
89 …- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ln -s -v -f $(which gcc-$GCC_VERSION) /usr/bin/gc…
103 …- if [ "$CONAN" == "true" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo pip install conan && co…
160 sudo: true
177 …- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test…
178 - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update -qq; fi
[all …]
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DREADME.md23 sudo tc qdisc del dev lo root
25 sudo tc qdisc add dev lo root handle 1: prio
27 sudo tc qdisc add dev lo parent 1:1 handle 2: netem delay 0.1ms rate 10gbit
29 sudo tc filter add dev lo parent 1:0 protocol ip prio 1 u32 match ip dst 127.127.127.127 flowid 2:1
31 sudo ip addr add dev lo 127.127.127.127/32 label lo:benchmark
37 sudo tc qdisc del dev lo root
38 sudo ip addr del dev lo 127.127.127.127/32 label lo:benchmark
/external/google-breakpad/src/third_party/libdisasm/swig/
DMakefile38 cd python && sudo make -f Makefile-swig install
41 cd ruby && sudo make -f Makefile-swig install
44 cd perl && sudo make -f Makefile-swig install
47 cd tcl && sudo make -f Makefile-swig install
54 cd python && sudo make -f Makefile-swig uninstall
57 cd ruby && sudo make -f Makefile-swig uninstall
60 cd perl && sudo make -f Makefile-swig uninstall
63 cd tcl && sudo make -f Makefile-swig uninstall
/external/autotest/site_utils/lxc/
Dutils.py37 utils.run('sudo test -e "%s"' % path)
75 virt = utils.run('sudo -n virt-what').stdout.strip()
97 cmd = (('sudo lxc-copy --lxcpath {lxcpath} --newpath {newpath} '
166 utils.run('sudo mkdir -p %s' % full_dst)
168 utils.run('sudo mount --bind %s %s' % (src, full_dst))
170 utils.run('sudo mount -o remount,ro,bind %s' % full_dst)
197 utils.run('sudo umount %s' % full_dst)
202 utils.run('sudo bash -c "cd %s; rmdir -p --ignore-fail-on-non-empty %s"'
222 of sudo. Saves ~400 ms per command.
226 @return The return code of the sudo call.
[all …]

12345678910>>...29