/bootable/recovery/ |
recovery.cpp | 359 chown(LOG_FILE, 1000, 1000); // system user 361 chown(LAST_KMSG_FILE, 1000, 1000); // system user 485 chown(head->name, head->st.st_uid, head->st.st_gid); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_unix.c | 419 if (gid_set && chown(dir, -1, gid) < 0) { 420 wpa_printf(MSG_ERROR, "chown[ctrl_interface=%s,gid=%d]: %s", 487 if (gid_set && chown(fname, -1, gid) < 0) { 488 wpa_printf(MSG_ERROR, "chown[ctrl_interface=%s,gid=%d]: %s", 1011 if (chown(ctrl, -1, gid) < 0) { 1013 "chown[global_ctrl_interface=%s,gid=%d]: %s",
|
/external/wpa_supplicant_8/hostapd/ |
ctrl_iface.c | [all...] |
/build/libs/host/ |
CopyFile.c | 190 if (chown(dst, pSrcStat->st_uid, pSrcStat->st_gid) != 0) {
|
/device/asus/flo/conn_init/ |
wfc_util_fctrl.c | 648 if (chown(pDestFName, uID, gID) < 0) { 655 wfc_util_log_error("wfc_util_ffile_check_copy : we can not excute chown[uid = %d, gid = %d]", uid, getgid());
|
/external/ipsec-tools/src/racoon/ |
admin.c | 591 if (chown(sunaddr.sun_path, adminsock_owner, adminsock_group) != 0) { 593 "chown(%s, %d, %d): %s\n",
|
/external/toybox/ |
Android.mk | 234 chown \
|
/external/zlib/src/examples/ |
gun.c | 65 #include <unistd.h> /* read(), write(), close(), chown(), unlink() */ 530 (void)chown(to, was.st_uid, was.st_gid);
|
/frameworks/base/core/java/android/os/ |
FileUtils.java | 79 * @param uid to apply through {@code chown}, or -1 to leave unchanged 80 * @param gid to apply through {@code chown}, or -1 to leave unchanged 91 * @param uid to apply through {@code chown}, or -1 to leave unchanged 92 * @param gid to apply through {@code chown}, or -1 to leave unchanged 105 Os.chown(path, uid, gid); 107 Slog.w(TAG, "Failed to chown(" + path + "): " + e); 119 * @param uid to apply through {@code chown}, or -1 to leave unchanged 120 * @param gid to apply through {@code chown}, or -1 to leave unchanged
|
/hardware/qcom/wlan/qcwcn/wcnss-service/ |
wcnss_service.c | 322 rc = chown(WLAN_INI_FILE_DEST, -1, grp->gr_gid);
|
/libcore/luni/src/main/java/libcore/io/ |
Os.java | 50 public void chown(String path, int uid, int gid) throws ErrnoException; method in interface:Os
|
ForwardingOs.java | 59 public void chown(String path, int uid, int gid) throws ErrnoException { os.chown(path, uid, gid); } method in class:ForwardingOs
|
/system/core/adb/ |
file_sync_service.cpp | 68 ret = chown(name, uid, gid);
|
/bootable/recovery/applypatch/ |
applypatch.c | 340 if (chown(filename, file->st.st_uid, file->st.st_gid) != 0) { 341 printf("chown of \"%s\" failed: %s\n", filename, strerror(errno)); [all...] |
/external/selinux/libsepol/tests/policies/test-expander/ |
small-base.conf | 358 chown
|
/external/sepolicy/ |
access_vectors | 409 chown
|
/external/valgrind/memcheck/tests/darwin/ |
scalar.stderr.exp | 171 Syscall param chown(path) contains uninitialised byte(s) 174 Syscall param chown(owner) contains uninitialised byte(s) 177 Syscall param chown(group) contains uninitialised byte(s) 180 Syscall param chown(path) points to unaddressable byte(s) [all...] |
/libcore/luni/src/main/java/android/system/ |
Os.java | 65 * See <a href="http://man7.org/linux/man-pages/man2/chown.2.html">chown(2)</a>. 67 public static void chown(String path, int uid, int gid) throws ErrnoException { Libcore.os.chown(path, uid, gid); } method in class:Os
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_posix.py | 226 """Common code for chown, fchown and lchown tests.""" 234 # test a successful chown call 244 # large unsigned values. (chown lets you use any 264 # HP-UX and Solaris can allow a non-root user to chown() to root 266 raise unittest.SkipTest("Skipping because of non-standard chown() " 269 # non-root cannot chown to root, raises OSError 284 @unittest.skipUnless(hasattr(posix, 'chown'), "test needs os.chown()") 288 self.assertRaises(OSError, posix.chown, test_support.TESTFN, -1, -1) 292 self._test_all_chown_common(posix.chown, test_support.TESTFN [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_posix.py | 226 """Common code for chown, fchown and lchown tests.""" 234 # test a successful chown call 244 # large unsigned values. (chown lets you use any 264 # HP-UX and Solaris can allow a non-root user to chown() to root 266 raise unittest.SkipTest("Skipping because of non-standard chown() " 269 # non-root cannot chown to root, raises OSError 284 @unittest.skipUnless(hasattr(posix, 'chown'), "test needs os.chown()") 288 self.assertRaises(OSError, posix.chown, test_support.TESTFN, -1, -1) 292 self._test_all_chown_common(posix.chown, test_support.TESTFN [all...] |
/system/core/init/ |
devices.cpp | 157 chown(buf, dp->uid, dp->gid); 252 * some device nodes, so the uid has to be set with chown() and is still 257 chown(path, uid, -1);
|
/external/openssh/openbsd-compat/ |
bsd-cray.c | 582 * (for chown etc), etc. 778 if (chown(cray_tmpdir, pw->pw_uid, pw->pw_gid) != 0) {
|
/external/wpa_supplicant_8/src/common/ |
wpa_ctrl.c | 140 chown(ctrl->local.sun_path, AID_SYSTEM, AID_WIFI);
|
/frameworks/native/cmds/dumpstate/ |
utils.c | 636 chown(anr_traces_dir, AID_SYSTEM, AID_SYSTEM);
|
/frameworks/native/cmds/installd/ |
installd.cpp | 434 if (chown(user_data_dir, AID_SYSTEM, AID_SYSTEM) < 0) {
|