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

12

/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dlchown.h1 /* Declare a replacement for lchown on hosts that lack it.
27 # undef lchown macro
28 # define lchown rpl_chown macro
31 int lchown (char const *, uid_t, gid_t);
H A Dfchownat.c32 #include "lchown.h"
37 Invoke chown or lchown on file, FILE, using OWNER and GROUP, in the
39 use lchown, otherwise, use chown. If possible, do it without changing
45 #define AT_FUNC_F1 lchown
H A Dlchown.c1 /* Provide a stub lchown function for systems that lack it.
24 #include "lchown.h"
34 lchown (const char *file, uid_t uid, gid_t gid) function
H A Dgnulib.mk12 # Reproduce by: gnulib-tool --import --dir=. --local-dir=gl --lib=libtar --source-base=.#bootmp/lib --m4-base=.#bootmp/m4 --doc-base=.#bootmp/doc --aux-dir=.#bootmp/build-aux --avoid=lock --avoid=size_max --avoid=xsize --no-libtool --macro-prefix=gl alloca argmatch argp backupfile closeout configmake dirname error exclude exitfail fileblocks fnmatch-gnu ftruncate full-write getdate getline getopt getpagesize gettext gettime hash human inttostr inttypes lchown localcharset memset mkdtemp modechange obstack quote quotearg rmdir rpmatch safe-read save-cwd savedir setenv stat-time stdbool stdint stpcpy strdup strerror strtol strtoul timespec unlinkdir unlocked-io utime utimens version-etc-fsf xalloc xalloc-die xgetcwd xstrtoumax
558 ## begin gnulib module lchown
561 EXTRA_DIST += lchown.c lchown.h
563 EXTRA_libtar_a_SOURCES += lchown.c
565 ## end gnulib module lchown
/macosx-10.10.1/xnu-2782.1.97/libsyscall/wrappers/legacy/
H A Dlchown.c42 * lchown stub, legacy version
45 lchown(const char *path, uid_t owner, gid_t group) function
/macosx-10.10.1/ksh-23/ksh/src/lib/libcmd/
H A Dchgrp.c101 __STDPP__directive pragma pp:hide lchown
103 #define lchown ______lchown
119 __STDPP__directive pragma pp:nohide lchown
121 #undef lchown
142 #define OPT_LCHOWN 0x0008 /* lchown */
150 extern int lchown(const char*, uid_t, gid_t);
215 * NOTE: we only use the native lchown() on symlinks just in case
405 chownf = lchown;
406 op = "lchown";
/macosx-10.10.1/file_cmds-242/mtree/
H A Dverify.c199 if (lchown(path, p->st_uid, p->st_gid) == -1) {
203 else if (lchown(path, (uid_t)-1,
/macosx-10.10.1/rsync-45/rsync/
H A Dsyscall.c94 #define lchown chown macro
96 return lchown(path, owner, group);
/macosx-10.10.1/Libc-1044.1.2/include/
H A Dunistd.h641 int lchown(const char *, uid_t, gid_t) __DARWIN_ALIAS(lchown); variable
644 int lchown(const char *, uid_t, gid_t) LIBC_ALIAS(lchown); variable
/macosx-10.10.1/xnu-2782.1.97/bsd/man/man2/
H A DMakefile109 lchown.2 \
/macosx-10.10.1/file_cmds-242/chown/
H A Dchown.c226 if (((hflag || symlink_found) ? lchown : chown)(p->fts_accpath, uid, gid) == -1) {
/macosx-10.10.1/ruby-106/ruby/lib/
H A Dfileutils.rb1333 File.lchown uid, gid, path() if have_lchown?
1389 File.lchown st.uid, st.gid, path
1519 return false unless File.respond_to?(:lchown)
1520 File.lchown nil, nil
/macosx-10.10.1/file_cmds-242/cp/
H A Dutils.c390 (islink ? lchown(to.p_path, fs->st_uid, fs->st_gid) :
/macosx-10.10.1/zsh-61/zsh/Src/
H A Dzsh_system.h703 # define lchown chown macro
/macosx-10.10.1/file_cmds-242/pax/
H A Dfile_subs.c516 /* Mac OS X doesn't have lchown, so don't bother */
877 if (lchown(fnm, uid, gid) < 0) {
/macosx-10.10.1/zsh-61/zsh/Src/Modules/
H A Dfiles.c649 if(lchown(rp, chm->uid, chm->gid)) {
/macosx-10.10.1/ruby-106/ruby/test/pathname/
H A Dtest_pathname.rb798 path.lchown(0, 0)
804 path.lchown(old_uid, old_gid)
/macosx-10.10.1/libarchive-30/libarchive/
H A DCMakeLists.txt388 CHECK_FUNCTION_EXISTS_GLIBC(lchown HAVE_LCHOWN)
/macosx-10.10.1/gnutar-453/gnutar/src/
H A Dextract.c249 probably more configuration. For now, just use lchown if it exists, and
298 /* When lchown exists, it should be used to change the attributes of
307 chown_result = lchown (file_name, st->stat.st_uid, st->stat.st_gid);
/macosx-10.10.1/xar-254/xar/lib/
H A Dstat.c631 if( lchown(file, u, g) ) {
634 xar_err_set_string(x, "perm: could not lchown symlink");
/macosx-10.10.1/libarchive-30/libarchive/libarchive/
H A Darchive_write_disk.c1818 /* We prefer lchown() but will use chown() if that's all we have. */
1821 if (lchown(a->name, a->uid, a->gid) == 0) {
/macosx-10.10.1/ruby-106/ruby/
H A Dfile.c2198 * symbolic links. See also <code>File#lchown</code>.
2235 if (lchown(path, args->owner, args->group) < 0)
2241 * File.lchown(owner_int, group_int, file_name,..) -> integer
5536 rb_define_singleton_method(rb_cFile, "lchown", rb_file_s_lchown, -1);
/macosx-10.10.1/xar-254/xar/
H A Dconfigure4413 for ac_func in lchown
4415 ac_fn_c_check_func "$LINENO" "lchown" "ac_cv_func_lchown"
/macosx-10.10.1/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.c1108 * Test chown, fchown, lchown, lstat, readlink, symlink system calls.
1237 /* create a link file and test lchown */
1253 my_err = lchown( my_link_pathp, my_orig_uid, my_new_gid1 );
1255 printf( "lchown call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1266 printf( "lchown call failed. st_gid is not correct! \n" );
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dvfs_syscalls.c6055 lchown(__unused proc_t p, struct lchown_args *uap, __unused int32_t *retval) function

Completed in 368 milliseconds

12