Home
last modified time | relevance | path

Searched refs:lchown (Results 1 - 25 of 52) sorted by relevance

123

/third_party/node/test/parallel/
H A Dtest-trace-events-fs-async.js133 function lchown({ uid, gid }) { function
136 fs.lchown('fs12.txt', uid, gid, () => {
283 tests.lchown = wrapper(lchown, { uid, gid });
H A Dtest-fs-null-bytes.js61 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 Dtest-fs-promises.js15 lchown,
295 await lchown(newLink, process.getuid(), process.getgid());
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dpolyfills.js51 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 Dlchown02.c24 * 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 DMakefile8 SRCS := $(sort $(wildcard $(abs_srcdir)/lchown*.c))
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dlchown.c30 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 Dlchown.c6 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 Dlchown.c6 int lchown(const char *path, uid_t uid, gid_t gid) in lchown() function
/third_party/eudev/src/shared/
H A Ddev-setup.c70 if (lchown(n, uid, gid) < 0) in dev_setup()
/third_party/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_tst_16.h148 TST_CREATE_SYSCALL(lchown, path, owner, group); in LCHOWN()
H A Dcompat_16.h161 LTP_CREATE_SYSCALL(lchown, cleanup, path, owner, group); in LCHOWN()
/third_party/node/lib/internal/fs/
H A Dpromises.js921 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 Dwpa_ctrl.c164 * 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 Dwpa_ctrl.c146 * 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 Dunistd.h53 int lchown(const char *, uid_t, gid_t);
/third_party/musl/porting/uniproton/kernel/include/
H A Dunistd.h51 int lchown(const char *, uid_t, gid_t);
/third_party/musl/porting/linux/user/include/
H A Dunistd.h57 int lchown(const char *, uid_t, gid_t);
/third_party/musl/porting/liteos_m/user/include/
H A Dunistd.h53 int lchown(const char *, uid_t, gid_t);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dunistd.h51 int lchown(const char *, uid_t, gid_t);
/third_party/musl/porting/liteos_a/kernel/include/
H A Dunistd.h57 int lchown(const char *, uid_t, gid_t);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dunistd.h51 int lchown(const char *, uid_t, gid_t);
/third_party/musl/include/
H A Dunistd.h67 int lchown(const char *, uid_t, gid_t);
/third_party/toybox/toys/posix/
H A Dcpio.c151 err = lchown(name, uid, gid); in cpio_main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface_unix.c573 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()

Completed in 17 milliseconds

123