Use 'regular' chown, libreplace will provide (dummy) replacement if necessary.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 02:29:06 +0000 (03:29 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 1 Nov 2008 02:29:06 +0000 (03:29 +0100)
source3/lib/fault.c
source3/modules/vfs_default.c

index d4c1142937984673af64acd8e6df47d4b98bf17a..d038e57e1a9e2124593cf7b0ab614645a92c3a8c 100644 (file)
@@ -129,7 +129,7 @@ void dump_core_setup(const char *progname)
        }
        mkdir(corepath,0700);
 
-       sys_chown(corepath,getuid(),getgid());
+       chown(corepath,getuid(),getgid());
        chmod(corepath,0700);
 
        SAFE_FREE(logbase);
index 275c2f53c417bd13d60bc8c2ee3ea4ffcacbe506..808adf3b282eae0302cf9b3a3d3cf34884aa3d1a 100644 (file)
@@ -596,7 +596,7 @@ static int vfswrap_chown(vfs_handle_struct *handle, const char *path, uid_t uid,
        int result;
 
        START_PROFILE(syscall_chown);
-       result = sys_chown(path, uid, gid);
+       result = chown(path, uid, gid);
        END_PROFILE(syscall_chown);
        return result;
 }