/macosx-10.10.1/gnutar-453/gnutar/lib/ |
H A D | lchown.h | 1 /* 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 D | fchownat.c | 32 #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 D | lchown.c | 1 /* 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 D | gnulib.mk | 12 # 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 D | lchown.c | 42 * 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 D | chgrp.c | 101 __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 D | verify.c | 199 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 D | syscall.c | 94 #define lchown chown macro 96 return lchown(path, owner, group);
|
/macosx-10.10.1/Libc-1044.1.2/include/ |
H A D | unistd.h | 641 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 D | Makefile | 109 lchown.2 \
|
/macosx-10.10.1/file_cmds-242/chown/ |
H A D | chown.c | 226 if (((hflag || symlink_found) ? lchown : chown)(p->fts_accpath, uid, gid) == -1) {
|
/macosx-10.10.1/ruby-106/ruby/lib/ |
H A D | fileutils.rb | 1333 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 D | utils.c | 390 (islink ? lchown(to.p_path, fs->st_uid, fs->st_gid) :
|
/macosx-10.10.1/zsh-61/zsh/Src/ |
H A D | zsh_system.h | 703 # define lchown chown macro
|
/macosx-10.10.1/file_cmds-242/pax/ |
H A D | file_subs.c | 516 /* 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 D | files.c | 649 if(lchown(rp, chm->uid, chm->gid)) {
|
/macosx-10.10.1/ruby-106/ruby/test/pathname/ |
H A D | test_pathname.rb | 798 path.lchown(0, 0) 804 path.lchown(old_uid, old_gid)
|
/macosx-10.10.1/libarchive-30/libarchive/ |
H A D | CMakeLists.txt | 388 CHECK_FUNCTION_EXISTS_GLIBC(lchown HAVE_LCHOWN)
|
/macosx-10.10.1/gnutar-453/gnutar/src/ |
H A D | extract.c | 249 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 D | stat.c | 631 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 D | archive_write_disk.c | 1818 /* 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 D | file.c | 2198 * 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 D | configure | 4413 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 D | tests.c | 1108 * 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 D | vfs_syscalls.c | 6055 lchown(__unused proc_t p, struct lchown_args *uap, __unused int32_t *retval) function
|