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

12

/external/ltp/testcases/kernel/syscalls/lchown/
H A DMakefile23 SRCS := $(wildcard $(abs_srcdir)/lchown*.c)
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.
121 UID16_CHECK(user_id, lchown, cleanup);
123 GID16_CHECK(group_id, lchown, cleanup);
133 * Call lchown(
[all...]
/external/autotest/server/site_tests/provision_CheetsUpdate/
H A Dshift_uid.py27 os.lchown(path, stat_info.st_uid + 655360, stat_info.st_gid + 655360)
32 os.lchown(path, stat_info.st_uid + 655360, stat_info.st_gid + 655360)
/external/valgrind/memcheck/tests/solaris/
H A Dscalar_obsolete.stderr.exp230 Syscall param lchown(path) contains uninitialised byte(s)
233 Syscall param lchown(owner) contains uninitialised byte(s)
236 Syscall param lchown(group) contains uninitialised byte(s)
239 Syscall param lchown(path) points to unaddressable byte(s)
/external/ltp/testcases/kernel/syscalls/utils/
H A Dcompat_16.h151 LTP_CREATE_SYSCALL(lchown, cleanup, path, owner, group);
/external/toybox/toys/posix/
H A Dcpio.c153 err = lchown(name, uid, gid);
/external/autotest/client/site_tests/network_ShillInitScripts/
H A Dnetwork_ShillInitScripts.py622 os.lchown(path, 1000, 1000)
/external/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp251 TLI.setUnavailable(LibFunc::lchown);
829 case LibFunc::lchown:
/external/python/cpython2/Lib/test/
H A Dtest_posix.py299 """Common code for chown, fchown and lchown tests."""
381 @unittest.skipUnless(hasattr(posix, 'lchown'), "test needs os.lchown()")
386 self._test_all_chown_common(posix.lchown, test_support.TESTFN,
/external/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp592 case LibFunc::lchown:
/external/python/cpython3/Modules/
H A Dposixmodule.c19 # pragma weak lchown macro
3083 * This is for Mac OS X 10.3, which doesn't have lchown.
3084 * (But we still have an lchown symbol because of weak-linking.)
3088 if ((!follow_symlinks) && (lchown == NULL)) {
3102 result = lchown(path->narrow, uid, gid);
3158 os.lchown
3176 res = lchown(path->narrow, uid, gid);
13074 if (lchown == NULL) {
13075 if (PyObject_DelAttrString(m, "lchown") == -1) {
/external/python/cpython3/Lib/test/
H A Dtest_posix.py488 """Common code for chown, fchown and lchown tests."""
570 @unittest.skipUnless(hasattr(posix, 'lchown'), "test needs os.lchown()")
575 self._test_all_chown_common(posix.lchown, support.TESTFN,
H A Dtest_os.py2861 if hasattr(os, "lchown"):
2862 funcs.append((self.filenames, os.lchown, 0, 0))
/external/valgrind/memcheck/tests/x86-linux/
H A Dscalar.stderr.exp2750 Syscall param lchown(path) contains uninitialised byte(s)
2754 Syscall param lchown(owner) contains uninitialised byte(s)
2758 Syscall param lchown(group) contains uninitialised byte(s)
2762 Syscall param lchown(path) points to unaddressable byte(s)
/external/python/cpython2/Modules/
H A Dposixmodule.c20 # pragma weak lchown macro
2113 "lchown(path, uid, gid)\n\n\
2124 if (!PyArg_ParseTuple(args, "etO&O&:lchown",
2130 res = lchown(path, uid, gid);
8852 {"lchown", posix_lchown, METH_VARARGS, posix_lchown__doc__},
9534 if (lchown == NULL) {
9535 if (PyObject_DelAttrString(m, "lchown") == -1) {
/external/e2fsprogs/contrib/
H A Dfsstress.c953 rval = lchown(name->path, owner, group);
/external/ltp/testcases/kernel/fs/fsstress/
H A Dfsstress.c926 rval = lchown(name->path, owner, group);
/external/python/cpython2/Lib/
H A Dtarfile.py2309 if tarinfo.issym() and hasattr(os, "lchown"):
2310 os.lchown(targetpath, u, g)
/external/python/cpython3/Lib/
H A Dtarfile.py2246 if tarinfo.issym() and hasattr(os, "lchown"):
2247 os.lchown(targetpath, u, g)
/external/squashfs-tools/squashfs-tools/
H A Dunsquashfs.c1112 if(lchown(pathname, i->uid, i->gid) == -1)
/external/python/cpython2/
H A Dconfigure10574 initgroups kill killpg lchmod lchown lstat mkfifo mknod mktime mmap \
/external/python/cpython3/
H A Dconfigure11217 initgroups kill killpg lchmod lchown linkat lstat lutimes mmap \
/external/robolectric/v3/runtime/
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 852 milliseconds

12