Searched defs:stb (Results 1 - 15 of 15) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dscandir.c78 struct stat64 stb; local
84 if (fstat64(dirp->d_fd, &stb) < 0)
91 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */
163 struct stat64 stb; local
169 if (fstat64(dirp->d_fd, &stb) < 0)
176 tmp_arraysz = stb.st_size / 24; /* 24 bytes on a 64-bit system */
H A Dttyname.c361 struct stat64 stb; local
372 if (stat64(buf, &stb) != 0) {
375 if (ptsdev == NODEV && stat64("/dev/pts/0", &stb) == 0)
376 ptsdev = stb.st_rdev;
386 if (stb.st_rdev == fsb->st_rdev)
388 } else if (stb.st_rdev == fsb->st_rdev && stb.st_dev == fsb->st_dev &&
389 stb.st_ino == fsb->st_ino)
404 struct stat64 stb; local
408 if (ptsldev == NODEV && stat64("/dev/ttyp0", &stb)
[all...]
H A Dcrypt.c487 struct stat stb; local
512 if (fstat(configfd, &stb) < 0) {
521 if (stb.st_uid != (uid_t)0) {
530 if (stb.st_mode & S_IWGRP) {
535 if (stb.st_mode & S_IWOTH) {
/osnet-11/usr/src/lib/libc/port/sys/
H A Dopen.c103 struct stat64 fsb, stb; local
118 if (stat64(buf, &stb) == 0)
119 rval = (stb.st_rdev == fsb.st_rdev);
/osnet-11/usr/src/lib/libsocket/inet/
H A Druserpass.c152 struct stat64 stb; local
193 if (fstat64(fileno(d->cfile), &stb) >= 0 &&
194 (stb.st_mode & 077) != 0) {
/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c693 struct stat stb; local
722 sff, smode, &stb);
725 sff, smode, &stb);
731 if (stb.st_mode == ST_MODE_NOFILE && bitset(SFF_CREAT, sff))
749 if (filechanged(fn, fd, &stb))
856 ** stb -- stat structure from before open.
864 filechanged(fn, fd, stb)
867 struct stat *stb;
871 if (stb->st_mode == ST_MODE_NOFILE)
875 if (lstat(fn, stb) <
[all...]
/osnet-11/usr/src/lib/librdc/common/
H A Drdcrules.c460 struct stat stb; local
474 if (stat(rdc->pfile, &stb) != 0) {
478 if (!S_ISCHR(stb.st_mode)) {
487 if (stat(rdc->sfile, &stb) != 0) {
492 if (!S_ISCHR(stb.st_mode)) {
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_cluster.c445 struct stat stb; local
466 if (stat(pathname, &stb) < 0) {
471 conferr = scconf_get_ds_by_devt(major(stb.st_rdev),
472 minor(stb.st_rdev), &dsname);
H A Dcfg_vols.c982 struct stat stb; local
1024 if (stat(path, &stb) != 0)
1027 if (!S_ISCHR(stb.st_mode))
1029 svc.svc_major = major(stb.st_rdev);
1030 svc.svc_minor = minor(stb.st_rdev);
/osnet-11/usr/src/lib/krb5/kdb/
H A Dkdb_default.c151 struct stat stb; local
164 if ((statrc = stat(keyfile, &stb)) >= 0) {
166 if (!S_ISREG(stb.st_mode)) {
217 if (stat(keyfile, &stb) >= 0)
/osnet-11/usr/src/cmd/sendmail/src/
H A Dalias.c398 struct stat stb; local
456 if (stat(map->map_file, &stb) < 0)
463 mtime = stb.st_mtime;
475 if (stat(buf, &stb) < 0 || stb.st_mtime < mtime || attimeout)
527 struct stat stb; local
545 fstat(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL), &stb) < 0 ||
546 bitset(S_IWUSR|S_IWGRP|S_IWOTH, stb.st_mode))
H A Ddeliver.c2372 struct stat stb; local
2401 if (m != FileMailer || stat(tochain->q_user, &stb) < 0)
2402 stb.st_mode = 0;
2447 else if (bitset(S_ISGID, stb.st_mode))
2448 new_gid = stb.st_gid;
2586 else if (bitset(S_ISUID, stb.st_mode))
2587 new_ruid = stb.st_uid;
5236 struct stat stb; local
5277 if (stat(targetfile, &stb) < 0)
5280 mode = stb
[all...]
/osnet-11/usr/src/lib/libelfsign/common/
H A Delfsignlib.c244 struct stat stb; local
296 if ((fstat(ess->es_fd, &stb) == -1) || !S_ISREG(stb.st_mode)) {
/osnet-11/usr/src/lib/libpam/
H A Dpam_framework.c1930 struct stat64 stb; local
1938 if (stat64(module_so, &stb) < 0) {
1945 if (stb.st_uid != (uid_t)0) {
1951 if (stb.st_mode & S_IWGRP) {
1957 if (stb.st_mode & S_IWOTH) {
2040 struct stat64 stb; local
2099 if (fstat64(fd, &stb) < 0) {
2107 if (!S_ISREG(stb.st_mode)) {
2114 if (stb.st_size == 0) {
2121 if (stb
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dperl.c3319 Stat_t stb, fsb; local
3321 if (mtab && (fstat(fd, &stb) == 0)) {
3324 && fsb.st_dev == stb.st_dev)

Completed in 82 milliseconds