HomeSort by relevance Sort by last modified time
    Searched refs:st_mode (Results 1 - 25 of 617) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/cmd/oamuser/lib/
file.c 41 if( S_ISDIR( statbuf.st_mode )) {
48 (statbuf.st_mode & (perm << 6)) == (perm << 6) )
52 (statbuf.st_mode & (perm << 3)) == (perm << 3) )
55 if( (statbuf.st_mode & perm) == perm )
  /onnv/onnv-gate/usr/src/ucbcmd/biff/
biff.c 79 stb.st_mode&0100 ? gettext("y") : gettext("n"));
80 exit((stb.st_mode&0100) ? 0 : 1);
85 if (chmod(cp, stb.st_mode|0100) < 0)
90 if (chmod(cp, stb.st_mode&~0100) < 0)
97 return ((stb.st_mode&0100) ? 0 : 1);
  /onnv/onnv-gate/usr/src/cmd/bnu/
strsave.c 75 s.st_mode >>= 6; /* use owner bits */
77 s.st_mode >>= 3; /* use group bits */
79 if( (amode & s.st_mode) == amode )
  /onnv/onnv-gate/usr/src/lib/libnsl/dial/
strsave.c 73 s.st_mode >>= 6; /* use owner bits */
75 s.st_mode >>= 3; /* use group bits */
77 if ((amode & s.st_mode) == amode)
  /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/
file.c 151 if ((stat64(from, &statbuf) == 0) && S_ISDIR(statbuf.st_mode))
166 if ((lstat64(pathname, &statbuf) == 0) && S_ISDIR(statbuf.st_mode))
184 (S_ISCHR(statbuf.st_mode) || S_ISFIFO(statbuf.st_mode)))
197 (S_ISCHR(statbuf.st_mode) || S_ISFIFO(statbuf.st_mode)))
224 statbuf.st_mode &= ~S_ISUID;
225 if (statbuf.st_mode & S_IXGRP)
226 statbuf.st_mode &= ~S_ISGID;
227 (void) chmod(filename, (statbuf.st_mode & MODEMASK))
    [all...]
  /onnv/onnv-gate/usr/src/cmd/chgrp/
chgrp.c 240 if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFLNK)) {
263 if ((stbuf2.st_mode & S_IFMT)
282 stbuf2.st_mode &
310 if ((stbuf2.st_mode & S_IFMT)
314 stbuf2.st_mode & ~S_IFMT);
318 } else if (rflag && ((stbuf.st_mode & S_IFMT) == S_IFDIR)) {
329 stbuf.st_mode & ~S_IFMT);
348 if ((stbuf.st_mode & S_IFMT) == S_IFDIR) {
350 stbuf.st_mode & ~S_IFMT);
407 if ((st.st_mode & S_IFMT) == S_IFLNK)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/
stat.pl 10 $ST_MODE = 2 + $[;
27 ($st_dev,$st_ino,$st_mode,$st_nlink,$st_uid,$st_gid,$st_rdev,$st_size,
  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
remove.c 50 if ((statb.st_mode & S_IFMT) != S_IFDIR)
posix_fadvise.c 68 if (S_ISFIFO(statb.st_mode))
96 if (S_ISFIFO(statb.st_mode))
  /onnv/onnv-gate/usr/src/lib/libast/common/include/
fs3d.h 48 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev)
49 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0)
  /onnv/onnv-gate/usr/src/lib/libast/common/string/
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) ? "->" :
  /onnv/onnv-gate/usr/src/cmd/sendmail/libsmutil/
safefile.c 94 !bitset(S_IXUSR|S_IXGRP|S_IXOTH, st->st_mode) &&
95 S_ISREG(st->st_mode))
104 if (bitset(S_ISUID, st->st_mode))
106 if (bitset(S_ISUID, st->st_mode) && st->st_uid != 0 &&
114 if (bitset(S_ISGID, st->st_mode))
116 if (bitset(S_ISGID, st->st_mode) && st->st_gid != 0)
242 if ((stbuf.st_mode & md) != md)
250 (unsigned long) stbuf.st_mode,
254 st->st_mode = ST_MODE_NOFILE;
259 if (bitset(SFF_NOSLINK, flags) && S_ISLNK(st->st_mode))
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cpio/
cpiostat.c 58 TmpSt->st_mode = FromStat->st_mode;
  /onnv/onnv-gate/usr/src/cmd/acct/lib/
lintodev.c 45 if (stat(devtty, &sb) != -1 && (sb.st_mode&S_IFMT) == S_IFCHR)
  /onnv/onnv-gate/usr/src/lib/libast/amd64/include/ast/
fs3d.h 57 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev)
58 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0)
  /onnv/onnv-gate/usr/src/lib/libast/i386/include/ast/
fs3d.h 57 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev)
58 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0)
  /onnv/onnv-gate/usr/src/lib/libast/sparc/include/ast/
fs3d.h 57 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev)
58 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0)
  /onnv/onnv-gate/usr/src/lib/libast/sparcv9/include/ast/
fs3d.h 57 #define iview(p) ((S_ISBLK((p)->st_mode)||S_ISCHR((p)->st_mode))?0:(p)->st_rdev)
58 #define IVIEW(p,v) do{if(!S_ISBLK((p)->st_mode)&&!S_ISCHR((p)->st_mode))(p)->st_rdev=(v);}while(0)
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
safechown.c 39 if (!S_ISDIR(fdbuf.st_mode) && fdbuf.st_nlink != 1) {
51 fdbuf.st_mode != lbuf.st_mode) {
  /onnv/onnv-gate/usr/src/cmd/rpcbind/
warmstart.c 153 (!S_ISREG(sbuf_fstat.st_mode)) ||
154 (sbuf_fstat.st_mode & S_IRWXG) ||
155 (sbuf_fstat.st_mode & S_IRWXO) ||
174 (!S_ISREG(sbuf_lstat.st_mode)) ||
175 (sbuf_lstat.st_mode & S_IRWXG) ||
176 (sbuf_lstat.st_mode & S_IRWXO) ||
  /onnv/onnv-gate/usr/src/lib/libast/common/comp/
eaccess.c 76 if (!S_ISREG(st.st_mode) || !(flags & X_OK) || (st.st_mode & (S_IXUSR|S_IXGRP|S_IXOTH)))
130 if ((st.st_mode & mode) == mode)
  /onnv/onnv-gate/usr/src/ucbcmd/ln/
ln.c 60 if ((stb.st_mode&S_IFMT) != S_IFDIR)
85 (stb.st_mode&S_IFMT) == S_IFDIR) {
89 if (stat(to, &stb) >= 0 && (stb.st_mode&S_IFMT) == S_IFDIR) {
  /onnv/onnv-gate/usr/src/cmd/backup/dump/
partial.c 58 (st.st_mode & S_IFMT) == S_IFCHR ||
59 (st.st_mode & S_IFMT) == S_IFBLK)
170 if ((st.st_mode & S_IFMT) != S_IFDIR)
185 (st.st_mode & S_IFMT) != S_IFDIR ||
  /onnv/onnv-gate/usr/src/cmd/sendmail/libsm/
makebuf.c 109 *couldbetty = S_ISCHR(st.st_mode);
117 if (S_ISREG(st.st_mode) && st.st_blksize > SM_IO_MAX_BUF_FILE)
122 if (!S_ISREG(st.st_mode))
151 if ((st.st_mode & S_IFMT) == S_IFREG &&
  /onnv/onnv-gate/usr/src/cmd/truss/
xstat.c 60 o_mode_t st_mode; member in struct:o_stat
84 statb.st_mode,
89 switch (statb.st_mode & S_IFMT) {
184 statb.st_mode,
189 switch (statb.st_mode & S_IFMT) {
229 statb.st_mode,
234 switch (statb.st_mode & S_IFMT) {
273 statb.st_mode,
278 switch (statb.st_mode & S_IFMT) {

Completed in 1260 milliseconds

1 2 3 4 5 6 7 8 91011>>