/macosx-10.10/uucp-11/uucp/unix/ |
H A D | isdir.c | 17 return S_ISDIR (s.st_mode);
|
H A D | mode.c | 29 if ((s.st_mode & 0777) == 0) 32 return s.st_mode & 0777;
|
H A D | umode.c | 36 if ((s.st_mode & 0777) == 0) 39 return s.st_mode & 0777;
|
/macosx-10.10/mail_cmds-30/biff/ |
H A D | biff.c | 86 sb.st_mode & S_IXUSR ? "y" : 87 sb.st_mode & S_IXGRP ? "b" : "n"); 88 return (sb.st_mode & (S_IXUSR | S_IXGRP) ? 0 : 1); 94 if (chmod(name, sb.st_mode & ~(S_IXUSR | S_IXGRP)) < 0) 98 if (chmod(name, (sb.st_mode & ~(S_IXUSR | S_IXGRP)) | S_IXUSR) 103 if (chmod(name, (sb.st_mode & ~(S_IXUSR | S_IXGRP)) | S_IXGRP) 110 return (sb.st_mode & (S_IXUSR | S_IXGRP) ? 0 : 1);
|
/macosx-10.10/libarchive-30/libarchive/libarchive/test/ |
H A D | test_write_disk_perms.c | 167 failure("file_overwrite_0144: st.st_mode=%o", st.st_mode); 168 assert((st.st_mode & 07777) != 0144); 190 failure("dir_overwrite_0744: st.st_mode=%o", st.st_mode); 191 assert((st.st_mode & 0777) == 0744); 201 failure("dir_overwrite_0744: st.st_mode=%o", st.st_mode); 202 assert((st.st_mode & 0777) == 0744); 377 failure("file_0755: st.st_mode [all...] |
H A D | test_write_disk_secure.c | 128 assert(S_ISLNK(st.st_mode)); 150 assert(S_ISDIR(st.st_mode)); 178 assert(S_ISDIR(st.st_mode)); 185 failure("dir: st.st_mode=%o", st.st_mode); 186 assert((st.st_mode & 0777) == 0755); 189 failure("link_to_dir: st.st_mode=%o", st.st_mode); 190 assert(S_ISLNK(st.st_mode)); 193 failure("link_to_dir: st.st_mode [all...] |
/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/ |
H A D | safefile.c | 73 switch (s.st_mode & S_IFMT) { 79 (s.st_mode & S_IFMT)); 85 if ((s.st_mode & S_IRWXG) != 0 || (s.st_mode & S_IRWXO) != 0) {
|
/macosx-10.10/cxxfilt-11/cxxfilt/libiberty/ |
H A D | unlink-if-ordinary.c | 68 && (S_ISREG (st.st_mode) || S_ISLNK (st.st_mode)))
|
/macosx-10.10/gnutar-453/gnutar/lib/ |
H A D | lstat.c | 53 if (lstat_result != 0 || !S_ISLNK (sbuf->st_mode)) 68 if (S_ISDIR (sbuf->st_mode))
|
H A D | fstatat.c | 39 if (result == 0 && (flag & AT_SYMLINK_NOFOLLOW) && S_ISLNK (st->st_mode) 45 if (result == 0 && ! S_ISDIR (st->st_mode))
|
H A D | lchown.c | 39 if (lstat (file, &stats) == 0 && S_ISLNK (stats.st_mode))
|
/macosx-10.10/procmail-14/procmail/src/ |
H A D | recommend.c | 24 if(!stat(*p,&stbuf)&&stbuf.st_mode&S_ISGID) 25 { if(stbuf.st_mode&S_ISGID) 29 if(!stat(mailspooldir,&stbuf)&&!(stbuf.st_mode&S_IWOTH)) 30 if(stbuf.st_mode&S_ISVTX) 33 { if(!(stbuf.st_mode&S_IWGRP))
|
H A D | foldinfo.c | 82 (S_ISDIR(stbuf.st_mode)&& /* else it must be a directory */ 85 return stbuf.st_mode; /* bingo! */ 129 else if(mode=stbuf.st_mode,!S_ISDIR(mode)) 189 ((S_IWGRP|S_IXGRP|S_IWOTH|S_IXOTH)&stbuf.st_mode)== 196 (stbuf.st_mode&S_ISGID||!wwsdir)) /* it's not world writable */ 201 else if(stbuf.st_mode&S_ISGID) 241 !(stbuf.st_mode&S_IWUSR)|| /* recipient can write? */ 242 S_ISLNK(stbuf.st_mode)|| /* no symbolic links */ 243 (S_ISDIR(stbuf.st_mode)? /* directories, yes, hardlinks */ 244 !(stbuf.st_mode [all...] |
/macosx-10.10/bash-94.1.2/bash-3.2/lib/sh/ |
H A D | netconn.c | 67 if (S_ISFIFO (sb.st_mode)) 70 return (S_ISCHR (sb.st_mode)); 77 return (S_ISSOCK (sb.st_mode));
|
H A D | mailstat.c | 49 * st_mode S_IFDIR changed to S_IFREG 70 if ((i = stat(path, st)) != 0 || S_ISDIR(st->st_mode) == 0) 91 st_ret.st_mode &= ~S_IFDIR; 92 st_ret.st_mode |= S_IFREG; 96 if (stat(dir, &st_tmp) || S_ISDIR(st_tmp.st_mode) == 0) 102 if (stat(dir, &st_tmp) || S_ISDIR(st_tmp.st_mode) == 0) 108 if (stat(dir, &st_tmp) || S_ISDIR(st_tmp.st_mode) == 0)
|
/macosx-10.10/postfix-255/postfix/src/global/ |
H A D | mail_trigger.c | 86 } else if (S_ISFIFO(st.st_mode)) { 88 if (status < 0 && S_ISSOCK(st.st_mode)) 90 } else if (S_ISSOCK(st.st_mode)) {
|
/macosx-10.10/rsync-45/rsync/ |
H A D | tls.c | 70 if (!S_ISREG(buf.st_mode)) 76 if (S_ISLNK(buf.st_mode)) { 78 buf.st_mode &= ~0777; 93 permstring(permbuf, buf.st_mode); 112 if (S_ISCHR(buf.st_mode) || S_ISBLK(buf.st_mode)) {
|
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/ |
H A D | fmtdev.c | 43 mm = (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) ? idevice(st) : st->st_dev;
|
H A D | fmtls.c | 68 s += sfsprintf(s, LS_W_MAX, "%s%3u", fmtmode(st->st_mode, flags & LS_EXTERNAL), (unsigned int)st->st_nlink); 83 if (S_ISBLK(st->st_mode) || S_ISCHR(st->st_mode)) 101 if (S_ISDIR(st->st_mode)) 104 else if (S_ISLNK(st->st_mode)) 107 else if (st->st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)) 114 S_ISLNK(st->st_mode) ? "->" :
|
/macosx-10.10/sudo-73/src/ |
H A D | goodpath.c | 54 if (S_ISREG(sb.st_mode) && ISSET(sb.st_mode, 0111))
|
/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/ |
H A D | stat.pl | 25 ($st_dev,$st_ino,$st_mode,$st_nlink,$st_uid,$st_gid,$st_rdev,$st_size,
|
/macosx-10.10/Libc-1044.1.2/stdio/FreeBSD/ |
H A D | remove.c | 52 if (S_ISDIR(sb.st_mode))
|
/macosx-10.10/libarchive-30/libarchive/cpio/test/ |
H A D | test_0.c | 47 if (!assert((st.st_mode & 0111) != 0))
|
/macosx-10.10/libarchive-30/libarchive/tar/test/ |
H A D | test_0.c | 47 if (!assert((st.st_mode & 0111) != 0))
|
/macosx-10.10/diskdev_cmds-576/setclass.tproj/ |
H A D | setclass.c | 107 if (S_ISDIR(buf.st_mode)) { 110 else if (S_ISREG(buf.st_mode)){ 127 if (S_ISDIR(buf.st_mode)) { 130 else if (S_ISREG(buf.st_mode)){ 156 if ((errno == EFAULT) && (S_ISDIR(buf.st_mode))) {
|