/external/libcap/contrib/ |
D | pcaps4server | 85 chown $VERBOSE -R apache:apache /var/run/apache/ 86 chown $VERBOSE -R apache:apache /etc/apache/ 87 chown $VERBOSE -R apache:apache /var/log/apache/ 88 chown $VERBOSE apache:apache /usr/sbin/httpd 95 chown $VERBOSE -R root:root /var/run/apache/ 96 chown $VERBOSE -R root:root /etc/apache/ 97 chown $VERBOSE -R root:root /var/log/apache/ 98 chown $VERBOSE root:root /usr/sbin/httpd 120 chown $VERBOSE -R apache:apache /var/run/httpd/ 121 chown $VERBOSE -R apache:apache /etc/httpd/ [all …]
|
/external/toybox/tests/ |
D | chown.test | 7 echo "$SHOWSKIP: chown (not root)" 12 # We chown between user "root" and the last user in /etc/passwd, 32 testing "initial" "chown root:root $F $OUT" "root root\n" "" "" 33 testing "usr:grp" "chown $USR:$GRP $F $OUT" "$USR $GRP\n" "" "" 34 testing "root" "chown root $F $OUT" "root $GRP\n" "" "" 36 testing ":grp" "chown root:root $F && chown :$GRP $F $OUT" \ 38 testing ":" "chown $USR:$GRP $F && chown : $F $OUT" \
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown04.c | 26 * 1) chown(2) returns -1 and sets errno to EPERM if the effective user id 29 * 2) chown(2) returns -1 and sets errno to EACCES if search permission is 31 * 3) chown(2) returns -1 and sets errno to EFAULT if pathname points 33 * 4) chown(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 35 * 5) chown(2) returns -1 and sets errno to ENOTDIR if the directory 37 * 6) chown(2) returns -1 and sets errno to ENOENT if the specified file 107 UID16_CHECK((user_id = geteuid()), "chown", cleanup) in main() 108 GID16_CHECK((group_id = getegid()), "chown", cleanup) in main() 114 TEST(CHOWN(cleanup, tc[i].pathname, user_id, group_id)); in main() 117 tst_resm(TFAIL, "chown succeeded unexpectedly"); in main() [all …]
|
D | chown01.c | 42 * TEST TITLE : Basic test for chown(2) 62 * 1.) chown(2) returns...(See Description) 90 * This is a Phase I test for the chown(2) system call. It is intended 93 * chown(2). 142 TEST(CHOWN(cleanup, fname, uid, gid)); in main() 145 tst_resm(TFAIL | TTERRNO, "chown(%s, %d,%d) failed", in main() 148 tst_resm(TPASS, "chown(%s, %d,%d) returned %ld", in main() 167 UID16_CHECK((uid = geteuid()), "chown", cleanup) in setup() 168 GID16_CHECK((gid = getegid()), "chown", cleanup) in setup()
|
D | chown03.c | 24 * Verify that, chown(2) succeeds to change the group of a file specified 29 * Also, verify that chown() clears the setuid/setgid bits set on the file. 32 * chown(2) should return 0 and the ownership set on the file should match 114 UID16_CHECK((user_id = geteuid()), "chown", cleanup) in main() 115 GID16_CHECK((group_id = getegid()), "chown", cleanup) in main() 117 TEST(CHOWN(cleanup, TESTFILE, -1, group_id)); in main() 120 tst_resm(TFAIL | TTERRNO, "chown(%s, ..) failed", in main() 143 tst_resm(TPASS, "chown(%s, ..) was successful", in main()
|
D | chown02.c | 24 * Verify that, when chown(2) invoked by super-user to change the owner and 31 * chown(2) should return 0 and the ownership set on the file should match 141 * Call chown(2) with different user id and in main() 144 TEST(CHOWN(cleanup, file_name, user_id, group_id)); in main() 148 "chown(%s, ..) failed", file_name); in main() 176 * chown(). in main() 194 "chown(%s, ..) succeeded", in main() 229 * setup1() - Setup function for chown(2) to verify setuid/setgid bits 251 * setup2() - Setup function for chown(2) to verify setgid bit set
|
D | chown05.c | 24 * Verify that, chown(2) succeeds to change the owner and group of a file 29 * chown(2) should return 0 and the ownership set on the file should match 123 TEST(CHOWN(cleanup, TESTFILE, user_id, group_id)); in main() 126 tst_resm(TFAIL | TTERRNO, "chown failed"); in main() 143 tst_resm(TPASS, "chown succeeded"); in main()
|
/external/toybox/toys/posix/ |
D | chgrp.c | 5 * See http://opengroup.org/onlinepubs/9699919799/utilities/chown.html 9 USE_CHOWN(OLDTOY(chown, chgrp, TOYFLAG_BIN)) 15 usage: chgrp/chown [-RHLP] [-fvh] group file... 27 config CHOWN 28 bool "chown" 81 // Distinguish chown from chgrp in chgrp_main()
|
/external/autotest/client/site_tests/platform_CryptohomeBadPerms/ |
D | platform_CryptohomeBadPerms.py | 42 os.chown(path, 0, 0) 49 os.chown(path, 1, 1) 63 os.chown(parent_path, 1, 1) 67 os.chown(parent_path, 0, 0) 79 os.chown(parent_path, 0, 0)
|
/external/bcc/tools/ |
D | capable_example.txt | 15 22:11:23 0 7006 chown 4 CAP_FSETID 1 16 22:11:23 0 7006 chown 4 CAP_FSETID 1 25 22:11:24 0 7029 chown 4 CAP_FSETID 1 26 22:11:24 0 7029 chown 4 CAP_FSETID 1
|
D | execsnoop_example.txt | 37 chown 9664 0 /bin/chown nobody:nobody ./main 41 chown 9668 0 /bin/chown nobody:nobody ./main
|
/external/perfetto/infra/git_mirror_bot/ |
D | startup-script.sh | 20 chown gitbot.gitbot /home/gitbot 43 chown gitbot /home/gitbot/deploy_key 47 chown gitbot /home/gitbot/mirror_aosp_to_ghub_repo.py
|
/external/linux-kselftest/tools/testing/selftests/capabilities/ |
D | test_execve.c | 238 if (chown("validate_cap_suidroot", 0, -1) != 0) in do_tests() 239 ksft_exit_fail_msg("chown - %s\n", strerror(errno)); in do_tests() 245 if (chown("validate_cap_suidnonroot", uid + 1, -1) != 0) in do_tests() 246 ksft_exit_fail_msg("chown - %s\n", strerror(errno)); in do_tests() 252 if (chown("validate_cap_sgidroot", -1, 0) != 0) in do_tests() 253 ksft_exit_fail_msg("chown - %s\n", strerror(errno)); in do_tests() 259 if (chown("validate_cap_sgidnonroot", -1, gid + 1) != 0) in do_tests() 260 ksft_exit_fail_msg("chown - %s\n", strerror(errno)); in do_tests()
|
/external/openssh/ |
D | sshpty.c | 99 if (chown(tty, (uid_t) 0, (gid_t) 0) < 0) in pty_release() 100 error("chown %.100s 0 0 failed: %.100s", tty, strerror(errno)); in pty_release() 226 if (chown(tty, pw->pw_uid, gid) < 0) { in pty_setowner() 229 debug("chown(%.100s, %u, %u) failed: %.100s", in pty_setowner() 233 fatal("chown(%.100s, %u, %u) failed: %.100s", in pty_setowner()
|
/external/python/cpython2/Lib/test/ |
D | test_posix.py | 304 """Common code for chown, fchown and lchown tests.""" 312 # test a successful chown call 322 # large unsigned values. (chown lets you use any 342 # HP-UX and Solaris can allow a non-root user to chown() to root 344 raise unittest.SkipTest("Skipping because of non-standard chown() " 347 # non-root cannot chown to root, raises OSError 362 @unittest.skipUnless(hasattr(posix, 'chown'), "test needs os.chown()") 366 self.assertRaises(OSError, posix.chown, test_support.TESTFN, -1, -1) 370 self._test_all_chown_common(posix.chown, test_support.TESTFN,
|
/external/autotest/client/site_tests/platform_TLSDate/ |
D | platform_TLSDate.py | 30 os.chown(self._testdir, self._tlsdate_uid, -1) 32 os.chown(self._test_obj.srcdir + '/time.sh', self._tlsdate_uid, -1) 40 os.chown(fake_tlsdate, self._tlsdate_uid, -1)
|
/external/strace/linux/aarch64/ |
D | syscallent.h | 23 [1029] = { 3, TF, SEN(chown), "chown" }, 26 [1032] = { 3, TF, SEN(chown), "lchown" },
|
/external/libcxx/utils/docker/scripts/ |
D | run_buildbot.sh | 26 chown buildbot:buildbot $BOT_DIR 50 chown -R buildbot:buildbot $BOT_DIR
|
/external/skqp/docker/skia-release/ |
D | Dockerfile | 16 ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/li… 17 ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/l…
|
/external/skia/docker/skia-release/ |
D | Dockerfile | 16 ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/li… 17 ADD --chown=skia:skia https://storage.googleapis.com/swiftshader-binaries/OpenGL_ES/Latest/Linux/l…
|
/external/curl/docs/cmdline-opts/ |
D | quote.d | 35 .IP "chown user file" 36 The chown command sets the owner of the file named by the file operand to the
|
/external/minijail/ |
D | system_unittest.cc | 272 // Passing -1 for user ID/group ID tells chown to make no changes. in TEST() 299 // Passing -1 for user ID/group ID tells chown to make no changes. in TEST() 332 // Passing -1 for user ID/group ID tells chown to make no changes. in TEST() 345 // Passing -1 for user ID/group ID tells chown to make no changes. in TEST() 358 // Passing -1 for user ID/group ID tells chown to make no changes. in TEST()
|
/external/autotest/client/tests/sysbench/ |
D | sysbench.py | 66 os.chown(data, self.dbuid, 0) 70 os.chown(self.debugdir, self.dbuid, 0) 111 os.chown(data, self.dbuid, 0)
|
/external/curl/docs/libcurl/opts/ |
D | CURLOPT_QUOTE.3 | 54 .IP "chown user file" 55 The chown command sets the owner of the file named by the file operand to the
|
/external/python/cpython3/Lib/test/ |
D | test_shutil.py | 1316 @unittest.skipUnless(hasattr(os, 'chown'), 'requires os.chown') 1322 write_file(filename, 'testing chown function') 1325 shutil.chown(filename) 1328 shutil.chown(filename, user='non-existing username') 1331 shutil.chown(filename, group='non-existing groupname') 1334 shutil.chown(filename, b'spam') 1337 shutil.chown(filename, 3.14) 1349 shutil.chown(filename, uid, gid) 1351 shutil.chown(filename, uid) 1353 shutil.chown(filename, user=uid) [all …]
|