Home
last modified time | relevance | path

Searched refs:lstat (Results 1 – 25 of 157) sorted by relevance

1234567

/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgethostent6.c92 nss_status_t lstat; in getbyname() local
170 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, _HOSTS, in getbyname()
173 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyname()
176 argp->h_errno = __nss2herrno(lstat); in getbyname()
177 return ((nss_status_t)lstat); in getbyname()
195 nss_status_t lstat; in getbyaddr() local
226 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, in getbyaddr()
229 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyaddr()
232 argp->h_errno = __nss2herrno(lstat); in getbyaddr()
233 return ((nss_status_t)lstat); in getbyaddr()
H A Dgethostent.c273 nss_status_t lstat; in getbyname() local
352 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, _HOSTS, searchfilter, in getbyname()
354 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyname()
357 argp->h_errno = __nss2herrno(lstat); in getbyname()
358 return ((nss_status_t)lstat); in getbyname()
379 nss_status_t lstat; in getbyaddr() local
402 lstat = (nss_status_t)_nss_ldap_lookup(be, argp, _HOSTS, searchfilter, in getbyaddr()
404 if (lstat == (nss_status_t)NS_LDAP_SUCCESS) in getbyaddr()
407 argp->h_errno = __nss2herrno(lstat); in getbyaddr()
408 return ((nss_status_t)lstat); in getbyaddr()
H A Dgetgrent.c404 nss_status_t lstat; in getbymember() local
427 lstat = __ns_ldap_uid2dn(name, &dn, NULL, &error); in getbymember()
428 if (lstat != (nss_status_t)NS_LDAP_SUCCESS) { in getbymember()
452 lstat = (nss_status_t)_nss_ldap_nocb_lookup(be, NULL, in getbymember()
455 if (lstat != (nss_status_t)NS_LDAP_SUCCESS) in getbymember()
456 return ((nss_status_t)lstat); in getbymember()
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dlstat.cc30 extern int lstat(const char *path, struct stat *buf);
37 vroot_result= lstat(path, vroot_args.lstat.buffer); in lstat_thunk()
43 vroot_args.lstat.buffer= buffer; in lstat_vroot()
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_db.cc508 int lstat; in dbFindObject() local
547 if (lstat != 0) { in dbFindObject()
575 if (lstat != 0) { in dbFindObject()
659 int lstat = LDAP_SUCCESS; in findObj() local
684 *lstatP = lstat; in findObj()
990 int lstat; in dbRefreshObj() local
1047 if (lstat != 0) { in dbRefreshObj()
1063 if (lstat != 0) { in dbRefreshObj()
1225 int lstat, doDestroy; in dbCreateFromLDAP() local
1249 *ldapStat = lstat; in dbCreateFromLDAP()
[all …]
H A Ddb_mindex3.cc340 int lstat; in entriesFromLDAPreal() local
466 lstat = lockTransLog(myself, 1, 1); in entriesFromLDAPreal()
467 if (lstat != 0) { in entriesFromLDAPreal()
468 if (lstat == EBUSY) in entriesFromLDAPreal()
475 myself, lstat, NIL(t->objName)); in entriesFromLDAPreal()
919 WRITEUNLOCKNR(((db *)mindex->getDbPtr()), lstat, in entriesFromLDAPreal()
928 if (lstat != 0) in entriesFromLDAPreal()
930 "%s: Error %d unlocking db", myself, lstat); in entriesFromLDAPreal()
H A Ddb_mindex2.cc165 int lstat = LDAP_SUCCESS; in updateMappingObj() local
175 o = ldapFindObj(t, objName, &lstat); in updateMappingObj()
204 } else if (lstat != LDAP_SUCCESS) { in updateMappingObj()
207 myself, lstat, NIL(objName)); in updateMappingObj()
1648 int lstat, lck = 1; in storeLDAP() local
1656 WRITELOCKNR(table, lstat, in storeLDAP()
1658 if (lstat == 0) { in storeLDAP()
1662 WRITEUNLOCKNR(table, lstat, in storeLDAP()
1665 if (lstat != 0) { in storeLDAP()
1668 myself, lck?"L":"Unl", lstat, in storeLDAP()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dlstat.c29 NoN(lstat)
34 lstat(const char* path, struct stat* st)
H A Dgross.c44 extern int lstat(const char* path, struct stat* st) in lstat() function
/illumos-gate/usr/src/lib/libcfgadm/common/
H A Dconfig_admin.c588 lstat.countp = &nstat; in config_stat()
589 lstat.opts = options; in config_stat()
591 lstat.shp_errstr = NULL; in config_stat()
595 lstat.use_vers.v_max = lstat.use_vers.v_min = CFGA_HSL_V1; in config_stat()
625 lstat.countp = &nstat; in config_list()
626 lstat.opts = options; in config_list()
628 lstat.shp_errstr = NULL; in config_list()
632 lstat.use_vers.v_max = lstat.use_vers.v_min = CFGA_HSL_V1; in config_list()
698 lstat.countp = &nstat; in config_list_ext()
699 lstat.opts = options; in config_list_ext()
[all …]
/illumos-gate/usr/src/cmd/mkdir/
H A Dmkdir.c165 if (lstat(d, &buf) != -1) { in main()
180 if (lstat(d, &buf) != -1) { in main()
229 (void) lstat(d, &buf); in main()
262 (void) lstat(d, &buf); in main()
/illumos-gate/usr/src/uts/sparc/sys/
H A Dstat_impl.h53 extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);
67 extern int lstat(), mknod();
/illumos-gate/usr/src/uts/intel/sys/
H A Dstat_impl.h54 extern int lstat(const char *_RESTRICT_KYWD, struct stat *_RESTRICT_KYWD);
69 extern int lstat();
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dstat.c95 #pragma weak _lstat = lstat
97 lstat(const char *name, struct stat *sb) in lstat() function
/illumos-gate/usr/src/uts/common/sys/
H A Dstat.h168 #pragma redefine_extname lstat lstat64
178 #define lstat lstat64
196 #pragma redefine_extname lstat64 lstat
206 #define lstat64 lstat
/illumos-gate/usr/src/tools/scripts/
H A Dvalidate_pkg.py362 lstat = os.lstat(path)
363 mode = lstat.st_mode
392 if lstat.st_nlink > 1:
397 self.hardkey = lstat.st_ino
672 stat.S_ISREG(os.lstat(os.path.join(mdir, mfile)).st_mode)):
/illumos-gate/usr/src/ucbcmd/chown/
H A Dchown.c138 if (lstat(argv[c], &stbuf) < 0) { in main()
193 if (lstat(dp->d_name, &st) < 0) { in chownr()
/illumos-gate/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c110 if (lstat(dir, &sb) < 0) { in validate_dir()
228 if (lstat(timestampfile, &sb) == 0 && sb.st_size != 0) { in pam_sm_authenticate()
366 if (lstat(timestampfile, &sb) == 0) { in pam_sm_setcred()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
H A Dserver.c333 if ((opts & FOLLOW ? stat(target, &stb) : lstat(target, &stb)) < 0) {
749 if (lstat(target, &stb) < 0) {
860 if (lstat(target, &stb) == 0) {
1026 (void) lstat(new, &stb);
1090 if (lstat(target, &stb) == 0) {
1106 if (exists && lstat(oldname, &nstb) == 0 &&
1146 if (lstat(name, &stb) < 0) {
1271 else if (lstat(target, &stb) < 0)
1355 if (lstat(target, &stb) < 0) {
1433 if (lstat(target, &stb) < 0) {
/illumos-gate/usr/src/contrib/ast/src/lib/libast/path/
H A Dpathstat.c41 return(lstat(path, st)); in pathstat()
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c41 extern int lstat();
240 int (*statf)() = (field == S_IFLNK) ? lstat : stat; in filtyp()
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Dxstat.c59 return (lstat(path, statb)); in _lxstat()
/illumos-gate/usr/src/cmd/make/include/vroot/
H A Dargs.h50 struct { struct stat *buffer;} lstat; member
/illumos-gate/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c83 if ((bitset(SFF_NOSLINK, flags) ? lstat(fn, st)
148 if (!bitset(SFF_NOSLINK, flags) && lstat(fn, st) < 0)
475 ret = lstat(s, &stbuf);
875 if (lstat(fn, stb) < 0 || stb->st_nlink != 1)
/illumos-gate/usr/src/cmd/tsol/updatehome/
H A Dsetupfiles.c361 if (lstat(dest, &buf) == 0) { in copyfile()
471 if (lstat(dest, &buf) == 0) { in linkfile()

1234567