HomeSort by relevance Sort by last modified time
    Searched refs:lchown (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /bionic/libc/bionic/
lchown.cpp 34 int lchown(const char* path, uid_t uid, gid_t gid) { function
  /external/ltp/testcases/kernel/syscalls/lchown/
Makefile 23 SRCS := $(wildcard $(abs_srcdir)/lchown*.c)
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.
121 UID16_CHECK(user_id, lchown, cleanup);
123 GID16_CHECK(group_id, lchown, cleanup);
133 * Call lchown(2) to test different test conditions
    [all...]
  /external/autotest/server/site_tests/provision_CheetsUpdate/
shift_uid.py 27 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/
scalar_obsolete.stderr.exp 230 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)
  /device/linaro/bootloader/edk2/StdLib/Include/
unistd.h 186 int lchown(const char *, uid_t, gid_t);
  /external/ltp/testcases/kernel/syscalls/utils/
compat_16.h 149 int LCHOWN(void (cleanup)(void), const char *path, UID_T owner, GID_T group)
151 LTP_CREATE_SYSCALL(lchown, cleanup, path, owner, group);
  /external/toybox/toys/posix/
cpio.c 153 err = lchown(name, uid, gid);
  /prebuilts/go/darwin-x86/src/os/
os_unix_test.go 150 if err = Lchown(linkname, -1, gid); err != nil {
151 t.Fatalf("lchown %s -1 %d: %s", linkname, gid, err)
163 if err = Lchown(linkname, -1, g); err != nil {
164 t.Fatalf("lchown %s -1 %d: %s", linkname, g, err)
file_posix.go 79 // Lchown changes the numeric uid and gid of the named file.
85 func Lchown(name string, uid, gid int) error {
86 if e := syscall.Lchown(name, uid, gid); e != nil {
87 return &PathError{"lchown", name, e}
  /prebuilts/go/linux-x86/src/os/
os_unix_test.go 150 if err = Lchown(linkname, -1, gid); err != nil {
151 t.Fatalf("lchown %s -1 %d: %s", linkname, gid, err)
163 if err = Lchown(linkname, -1, g); err != nil {
164 t.Fatalf("lchown %s -1 %d: %s", linkname, g, err)
file_posix.go 79 // Lchown changes the numeric uid and gid of the named file.
85 func Lchown(name string, uid, gid int) error {
86 if e := syscall.Lchown(name, uid, gid); e != nil {
87 return &PathError{"lchown", name, e}
  /libcore/luni/src/main/java/libcore/io/
BlockGuardOs.java 175 @Override public void lchown(String path, int uid, int gid) throws ErrnoException { method in class:BlockGuardOs
177 os.lchown(path, uid, gid);
Os.java 109 public void lchown(String path, int uid, int gid) throws ErrnoException; method in interface:Os
ForwardingOs.java 123 public void lchown(String path, int uid, int gid) throws ErrnoException { os.lchown(path, uid, gid); } method in class:ForwardingOs
  /bionic/libc/include/
unistd.h 149 int lchown(const char* __path, uid_t __owner, gid_t __group);
  /libcore/ojluni/src/main/java/sun/nio/fs/
UnixFileAttributeViews.java 249 lchown(file, uid, gid); method
UnixCopyFile.java 320 lchown(target, attrs.uid(), attrs.gid()); method
UnixNativeDispatcher.java 344 * lchown(const char* path, uid_t owner, gid_t group)
346 static void lchown(UnixPath path, int uid, int gid) throws UnixException { method in class:UnixNativeDispatcher
  /bionic/tests/headers/posix/
unistd_h.c 338 FUNCTION(lchown, int (*f)(const char*, uid_t, gid_t));
  /build/make/tools/libhost/
CopyFile.c 428 if (lchown(dst, pSrcStat->st_uid, pSrcStat->st_gid) != 0)
429 DBUG(("--- lchown failed: %s\n", strerror(errno)));
  /system/core/init/
util.cpp 142 if (lchown(addr.sun_path, uid, gid)) {
143 PLOG(ERROR) << "Failed to lchown socket '" << addr.sun_path << "'";
builtins.cpp 275 if (lchown(args[1].c_str(), *uid, *gid) == -1) {
276 return ErrnoError() << "lchown failed";
843 if (lchown(path.c_str(), *uid, *gid) == -1) {
844 return ErrnoError() << "lchown() failed";
    [all...]
  /libcore/luni/src/main/java/android/system/
Os.java 286 * See <a href="http://man7.org/linux/man-pages/man2/lchown.2.html">lchown(2)</a>.
288 public static void lchown(String path, int uid, int gid) throws ErrnoException { Libcore.os.lchown(path, uid, gid); } method in class:Os
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_posix.py 215 """Common code for chown, fchown and lchown tests."""
257 @unittest.skipUnless(hasattr(posix, 'lchown'), "test needs os.lchown()")
262 self._test_all_chown_common(posix.lchown, test_support.TESTFN)

Completed in 506 milliseconds

1 2 3 4