/third_party/node/test/parallel/ |
H A D | test-trace-events-fs-async.js | 133 function lchown({ uid, gid }) { function 136 fs.lchown('fs12.txt', uid, gid, () => { 283 tests.lchown = wrapper(lchown, { uid, gid });
|
H A D | test-fs-null-bytes.js | 61 check(fs.lchown, fs.lchownSync, 'foo\u0000bar', 12, 34); 96 check(fs.lchown, fs.lchownSync, fileUrl, 12, 34); 128 check(fs.lchown, fs.lchownSync, fileUrl2, 12, 34);
|
H A D | test-fs-promises.js | 15 lchown, 295 await lchown(newLink, process.getuid(), process.getgid());
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
H A D | polyfills.js | 51 fs.lchown = chownFix(fs.lchown) 73 // if lchmod/lchown do not exist, then make them no-ops 80 if (fs.chown && !fs.lchown) { 81 fs.lchown = function (path, uid, gid, cb) {
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
H A D | lchown02.c | 24 * 1) lchown(2) returns -1 and sets errno to EPERM if the effective user id 27 * 2) lchown(2) returns -1 and sets errno to EACCES if search permission is 29 * 3) lchown(2) returns -1 and sets errno to EFAULT if pathname points 31 * 4) lchown(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 33 * 5) lchown(2) returns -1 and sets errno to ENOTDIR if the directory 35 * 6) lchown(2) returns -1 and sets errno to ENOENT if the specified file 39 * lchown() should fail with return value -1 and set expected errno. 118 UID16_CHECK(user_id, lchown, cleanup); in main() 120 GID16_CHECK(group_id, lchown, cleanup); in main() 130 * Call lchown( in main() [all...] |
H A D | Makefile | 8 SRCS := $(sort $(wildcard $(abs_srcdir)/lchown*.c))
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | lchown.c | 30 FILE_ABSOLUTE_PATH("lchown", pathname); in lchown_0100() 31 int ret = lchown(pathname, TEST_ID_VALUE, TEST_ID_VALUE); in lchown_0100()
|
/third_party/musl/src/unistd/ |
H A D | lchown.c | 6 int lchown(const char *path, uid_t uid, gid_t gid) in lchown() function
|
/third_party/musl/porting/liteos_a/user/src/unistd/ |
H A D | lchown.c | 6 int lchown(const char *path, uid_t uid, gid_t gid) in lchown() function
|
/third_party/eudev/src/shared/ |
H A D | dev-setup.c | 70 if (lchown(n, uid, gid) < 0) in dev_setup()
|
/third_party/ltp/testcases/kernel/syscalls/utils/ |
H A D | compat_tst_16.h | 148 TST_CREATE_SYSCALL(lchown, path, owner, group); in LCHOWN()
|
H A D | compat_16.h | 161 LTP_CREATE_SYSCALL(lchown, cleanup, path, owner, group); in LCHOWN()
|
/third_party/node/lib/internal/fs/ |
H A D | promises.js | 921 async function lchown(path, uid, gid) { 925 return binding.lchown(pathModule.toNamespacedPath(path), 1053 lchown,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | wpa_ctrl.c | 164 * The lchown() calls below after bind() are also part of the needed in wpa_ctrl_open2() 208 lchown(ctrl->local.sun_path, -1, AID_WIFI); in wpa_ctrl_open2() 209 lchown(ctrl->local.sun_path, AID_SYSTEM, AID_WIFI); in wpa_ctrl_open2()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | wpa_ctrl.c | 146 * The lchown() calls below after bind() are also part of the needed in wpa_ctrl_open2() 170 lchown(ctrl->local.sun_path, -1, AID_WIFI); in wpa_ctrl_open2() 171 lchown(ctrl->local.sun_path, AID_SYSTEM, AID_WIFI); in wpa_ctrl_open2()
|
/third_party/musl/porting/liteos_a/user/include/ |
H A D | unistd.h | 53 int lchown(const char *, uid_t, gid_t);
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | unistd.h | 51 int lchown(const char *, uid_t, gid_t);
|
/third_party/musl/porting/linux/user/include/ |
H A D | unistd.h | 57 int lchown(const char *, uid_t, gid_t);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | unistd.h | 53 int lchown(const char *, uid_t, gid_t);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | unistd.h | 51 int lchown(const char *, uid_t, gid_t);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | unistd.h | 57 int lchown(const char *, uid_t, gid_t);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | unistd.h | 51 int lchown(const char *, uid_t, gid_t);
|
/third_party/musl/include/ |
H A D | unistd.h | 67 int lchown(const char *, uid_t, gid_t);
|
/third_party/toybox/toys/posix/ |
H A D | cpio.c | 151 err = lchown(name, uid, gid); in cpio_main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | ctrl_iface_unix.c | 573 if (gid_set && lchown(dir, -1, gid) < 0) { in wpas_ctrl_iface_open_sock() 574 wpa_printf(MSG_ERROR, "lchown[ctrl_interface=%s,gid=%d]: %s", in wpas_ctrl_iface_open_sock() 641 if (gid_set && lchown(fname, -1, gid) < 0) { in wpas_ctrl_iface_open_sock() 642 wpa_printf(MSG_ERROR, "lchown[ctrl_interface=%s,gid=%d]: %s", in wpas_ctrl_iface_open_sock() 1238 if (lchown(ctrl, -1, gid) < 0) { in wpas_global_ctrl_iface_open_sock() 1240 "lchown[global_ctrl_interface=%s,gid=%d]: %s", in wpas_global_ctrl_iface_open_sock()
|