| /src/tools/compat/ |
| lchmod.c | 1 /* $NetBSD: lchmod.c,v 1.4 2008/04/28 20:24:12 martin Exp $ */ 32 /* Emulate lchmod(2), checking path with lstat(2) first to ensure that 43 lchmod(const char *path, mode_t mode) function
|
| Makefile | 11 issetugid.c lchflags.c lchmod.c lchown.c libyywrap.c \
|
| compat_defs.h | 561 int lchmod(const char *, mode_t);
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| sys_stat.in.h | 559 _GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode) 562 _GL_CXXALIAS_SYS (lchmod, int, (const char *filename, mode_t mode)); 563 _GL_CXXALIASWARN (lchmod); 565 # undef lchmod 567 _GL_WARN_ON_USE (lchmod, "lchmod is unportable - " 568 "use gnulib module lchmod for portability");
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| sys_stat.in.h | 559 _GL_FUNCDECL_SYS (lchmod, int, (const char *filename, mode_t mode) 562 _GL_CXXALIAS_SYS (lchmod, int, (const char *filename, mode_t mode)); 563 _GL_CXXALIASWARN (lchmod); 565 # undef lchmod 567 _GL_WARN_ON_USE (lchmod, "lchmod is unportable - " 568 "use gnulib module lchmod for portability");
|
| /src/bin/chmod/ |
| chmod.c | 119 * 1.3, lchmod(2) is introduced and this 163 change_mode = lchmod;
|
| /src/sys/sys/ |
| stat.h | 268 int lchmod(const char *, mode_t);
|
| /src/usr.bin/sort/ |
| sort.c | 366 if (lchmod(outfile, st.st_mode & ALLPERMS) != 0) {
|
| /src/usr.sbin/mtree/ |
| verify.c | 300 if (lchmod(path, p->st_mode))
|
| compare.c | 293 if (lchmod(p->fts_accpath, s->st_mode))
|
| /src/external/bsd/kyua-testers/dist/ |
| fs.c | 255 if (lchmod(path, new_mode) == -1) { 256 warnx("lchmod(%s, %04o) failed", path, new_mode); 261 warnx("lchmod(%s, %04o) failed; system call not implemented", path, 324 // not possible, and lchmod(3) is not available.
|
| fs_test.c | 200 return lchmod("test", 0700) == -1 && chmod("test", 0700) != -1; 289 atf_tc_expect_fail("lchmod(2) is not implemented in your system");
|
| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_write_disk_secure.c | 283 /* Verify if we are able to lchmod() */ 285 if (lchmod("testlink_to_dir",
|
| /src/bin/cp/ |
| utils.c | 386 if (fd ? fchmod(fd, fs->st_mode) : lchmod(to.p_path, fs->st_mode)) {
|
| /src/lib/libc/sys/ |
| Makefile.inc | 129 lchflags.S lchmod.S lchown.S lfs_bmapv.S lfs_markv.S lfs_segclean.S \ 307 MLINKS+=chmod.2 fchmod.2 chmod.2 lchmod.2
|
| /src/bin/pax/ |
| file_subs.c | 898 if (lchmod(fnm, mode)) {
|
| /src/lib/libpuffs/ |
| null.c | 68 if (lchmod(path, va->va_mode) == -1)
|
| /src/usr.bin/unzip/ |
| unzip.c | 648 if (lchmod(*path, mode) == -1)
|
| /src/sbin/restore/ |
| tape.c | 706 (void) lchmod(name, mode);
|
| /src/external/bsd/libarchive/dist/libarchive/ |
| archive_write_disk_posix.c | 2671 lchmod(p->name, p->mode & 07777); 3852 * If this is a symlink, use lchmod(). If the 3853 * platform doesn't support lchmod(), just skip it. A 3859 if (lchmod(a->name, (mode_t)mode) != 0) { 3867 * if lchmod is defined but the platform
|
| archive_write_disk_windows.c | 2773 * If this is a symlink, use lchmod(). If the 2774 * platform doesn't support lchmod(), just skip it. A 2780 if (lchmod(a->name, mode) != 0) {
|
| /src/lib/librumphijack/ |
| hijack.c | 343 { DUALCALL_LCHMOD, "lchmod", RSYS_NAME(LCHMOD) }, 2696 PATHCALL(int, lchmod, DUALCALL_LCHMOD, \
|
| /src/sys/rump/librump/rumpkern/ |
| rump_syscalls.c | 3074 __weak_alias(lchmod,rump___sysimpl_lchmod); 7797 }, /* 274 = lchmod */
|