Home
last modified time | relevance | path

Searched refs:sudo (Results 1 – 25 of 433) sorted by relevance

12345678910>>...18

/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.sh74 sudo umount disk.mnt || true
78 sudo modprobe nbd
79 sudo qemu-nbd -d /dev/nbd0 || true
89 sudo qemu-nbd -c $DISKDEV --format=raw disk.raw
92 echo -en "o\nn\np\n1\n\n\na\nw\n" | sudo fdisk $DISKDEV
95 sudo -E mkfs.ext4 $PARTDEV
98 sudo mount $PARTDEV disk.mnt
100 sudo cp -a $1/. disk.mnt/.
101 sudo cp $2 disk.mnt/vmlinuz
102 sudo sed -i "/^root/ { s/:x:/::/ }" disk.mnt/etc/passwd
[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
43 sudo usermod -aG docker jenkins
[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
48 sudo qemu-nbd -c $DISKDEV --format=raw disk.raw
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
59 sudo cp -a $1/. disk.mnt/.
60 sudo cp $2 disk.mnt/vmlinuz
61 sudo sed -i "/^root/ { s/:x:/::/ }" disk.mnt/etc/passwd
[all …]
/external/autotest/site_utils/
Dsetup_dev_autotest.sh207 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
284 sudo a2ensite autotest-server.conf
[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/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/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/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/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat_tests.sh78 sudo $s_arg chattr -ai $FILE || return $?
79 sudo $s_arg rm -f $FILE || return $?
84 sudo $s_arg -u $test_user touch $FILE || return $?
100 sudo $s_arg chown $2 $FILE || return $?
103 sudo $s_arg chmod $3 $FILE || return $?
106 sudo $s_arg chattr $4 $FILE || return $?
112 if ! sudo $s_arg lsattr -l $FILE | sed 's/, /,/g' | awk '{print "EFAs=" $2}'
229 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
238 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
251 sudo $s_arg -u $test_user $CMD > $RESULT_FILE
[all …]
/external/vboot_reference/scripts/image_signing/
Dalign_rootfs.sh42 sudo mount -o loop "${dst_root_fs}" "${dst_root_fs_dir}" -o loop
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}"
86 sudo dd if=/dev/zero of="${root_fs_dir}/filler" oflag=sync bs=4096 || true
87 sudo rm -f "${root_fs_dir}/filler"
88 sudo sync
Dcommon_minimal.sh96 sudo umount $i 2>/dev/null
129 sudo $GPT show -b -i $2 $1
136 sudo $GPT show -s -i $2 $1
143 sudo touch "$mount_dir/$TAG_NEEDS_TO_BE_SIGNED"
179 set -- sudo LC_ALL=C mount -o loop,offset=${offset},${ro} \
263 sudo dd of="$rootfs" seek=$((offset + ro_compat_offset)) \
274 local sb_value=$(sudo dd if="$rootfs" skip=$((offset + sb_magic_offset)) \
298 sudo dd of="$rootfs" seek=$((offset + ro_compat_offset)) \
312 local ro_value=$(sudo dd if="$rootfs" skip=$((offset + ro_compat_offset)) \
342 sudo grep -q '^chronos:\*:' "$rootfs/etc/shadow"
Dtag_image.sh93 sudo rm "${tag_file_path}"
107 sudo touch "${tag_file_path}"
169 local sudo
172 sudo="sudo"
180 ${sudo} sed -i 's/\btest\b//' "${lsb}" &&
190 ${sudo} sed -i 's/\bdev\b/beta/' "${lsb}" &&
217 sudo umount "${rootfs}"
Dset_chronos_password.sh21 | sudo tee "$temp_shadow" > /dev/null
22 sudo grep -Ev ^chronos: "$rootfs/etc/shadow" \
23 | sudo tee -a "$temp_shadow" > /dev/null
24 sudo mv -f "$temp_shadow" "$rootfs/etc/shadow"
45 sudo umount $rootfs
/external/elfutils/src/
Dmake-debug-archive.in17 SUDO=${SUDO:-/usr/bin/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/vboot_reference/tests/
Dtest_using_qemu.sh21 sudo mkdir -p "${SYSROOT}/proc" "${SYSROOT}/dev"
22 sudo mount --bind /proc "${SYSROOT}/proc"
23 sudo mount --bind /dev "${SYSROOT}/dev"
27 sudo chroot ${SYSROOT} ${QEMU_RUN} -drop-ld-preload \
36 sudo umount -l "${SYSROOT}/proc"
37 sudo umount -l "${SYSROOT}/dev"
/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/grpc-grpc/tools/internal_ci/helper_scripts/
Dprepare_build_macos_rc18 sudo launchctl limit maxfiles unlimited unlimited
30 sudo systemsetup -setusingnetworktime off
31 sudo systemsetup -setnetworktimeserver "$( ipconfig getoption en0 server_identifier )"
32 sudo systemsetup -settimezone America/Los_Angeles
33 sudo systemsetup -setusingnetworktime on
78 sudo installer -pkg ./python-3.7.0-macosx10.9.pkg -target /
81 sudo xcode-select -switch /Applications/Xcode_9.2.app/Contents/Developer/
/external/bcc/snapcraft/
DMakefile39 sudo snap install --devmode bcc_*.snap
44 sudo snap connect bcc:mount-observe
45 sudo snap connect bcc:system-observe
46 sudo snap connect bcc:system-trace
49 sudo snap remove bcc
/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/ltp/doc/
Dmini-howto-building-ltp-from-git.txt35 sudo apt-get install build-essential
36 sudo apt-get install autoconf automake autotools-dev m4
37 sudo apt-get install git
38 sudo apt-get install linux-headers-$(uname -r)
39 sudo apt-get install libaio-dev libattr1-dev libcap-dev
62 sudo make install 2>&1 | tee ../$INSTALL_LOG_FILE
/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/u-boot/test/fs/
Dfs-test.sh352 sudo mount -o loop,rw "$1" "$MOUNT_DIR"
355 sudo mkdir -p "$MOUNT_DIR/SUBDIR"
362 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=1 \
364 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=2 seek=2047 \
366 sudo dd if=/dev/urandom of="${GB2p5}" bs=1M count=1 seek=2499 \
372 sudo dd if=/dev/urandom of="${MB1}" bs=1M count=1 \
378 sudo rm -f "${MB1}.w"
379 sudo rm -f "${MB1}.w2"
406 sudo umount "$MOUNT_DIR"
598 sudo mount -o loop,rw,$uid "$IMAGE" "$MOUNT_DIR"
[all …]

12345678910>>...18