/illumos-gate/usr/src/lib/libast/common/uwin/ |
H A D | rcmd.c | 326 int baselen = -1; local 334 if (baselen == -1) 335 baselen = sp - rhost; 345 if (!_validuser(hostf, fhost, luser, ruser, baselen)) { 381 const char *ruser, int baselen) 430 && _checkhost(rhost, &ahost[1], baselen)) 434 && _checknetgrouphost(rhost, &ahost[2], baselen)) 446 hostvalid = _checknetgrouphost(rhost, &ahost[2], baselen); 448 hostvalid = _checkhost(rhost, ahost, baselen); 459 hostvalid = hostvalid ? 1 : _checkhost(rhost, ahost, baselen); 380 _validuser(FILE *hostf, const char *rhost, const char *luser, const char *ruser, int baselen) argument 507 _checknetgrouphost(const char *rhost, const char *netgr, int baselen) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/net/ |
H A D | rcmd.c | 207 int baselen = -1; local 218 if (baselen == -1) 219 baselen = sp - rhost; 230 if (!_validuser(hostf, fhost, luser, ruser, baselen)) { 264 if (!_validuser(hostf, fhost, luser, ruser, baselen)) { 278 _validuser(FILE *hostf, char *rhost, char *luser, char *ruser, int baselen) argument 315 if (_checkhost(rhost, ahost+1, baselen)) 319 hostmatch = _checkhost(rhost, ahost, baselen);
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | rcmd.c | 80 const char *ruser, int baselen); 560 int baselen = -1; local 575 if (baselen == -1) 576 baselen = (int)(sp - rhost); 587 if (!_validuser(hostf, fhost, luser, ruser, baselen)) { 633 if (!_validuser(hostf, fhost, luser, ruser, baselen)) { 654 const char *ruser, int baselen) 732 if (_checkhost(rhost, ahost+1, baselen)) 736 hostmatch = _checkhost(rhost, ahost, baselen); 653 _validuser(FILE *hostf, char *rhost, const char *luser, const char *ruser, int baselen) argument
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | fts.c | 61 size_t baselen; /* current strlen(base) */ \ 904 if ((fts->baselen = f->fts_namelen) >= (fts->endbuf - fts->base) && resize(fts, fts->baselen)) 906 memcpy(fts->base, f->name, fts->baselen + 1); 929 if (fts->base[fts->baselen - 1] != '/') 930 memcpy(fts->base + fts->baselen, "/.", 3); 933 fts->base[fts->baselen] = 0; 945 f->fts_pathlen = (fts->base - f->fts_path) + fts->baselen; 987 fts->endbase = fts->base + fts->baselen; 1039 fts->endbase = fts->base + fts->baselen; [all...] |
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | backend.c | 659 size_t baselen; local 684 baselen = strlen(basename); 705 if (strncmp(ent->d_name, basename, baselen) != 0) 709 if (name[baselen] != '-') 712 p = name + baselen + 1; 768 basename[baselen] = b_end;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | plugins.c | 389 size_t baselen = strlen (filebases[i]); local 391 size_t len = baselen + strlen (fileexts[j]) + 2; /* '.' + NULL */
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 79 ssize_t baselen; local 93 if ((baselen = scf_myname(h, NULL, 0)) == -1) 96 baselen = strlen(base); 99 fmri_sz = baselen + sizeof (SCF_FMRI_PROPERTYGRP_PREFIX) - 1 +
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_reads.c | 1458 int baselen; local 1545 baselen = strlen(dptr->basedn); 1546 if (baselen > 0 && dptr->basedn[baselen-1] == COMMATOK) { 1554 baselen += strlen(str)+1; 1557 cookie->basedn = (char *)malloc(baselen);
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_sendrecv.c | 2123 int baselen, char *newname, recvflags_t *flags) 2162 if (err != 0 && strncmp(name + baselen, "recv-", 5) != 0) { 2166 "%.*srecv-%u-%u", baselen, name, getpid(), seq); 2195 recv_destroy(libzfs_handle_t *hdl, const char *name, int baselen, argument 2243 err = recv_rename(hdl, name, NULL, baselen, newname, flags); 2122 recv_rename(libzfs_handle_t *hdl, const char *name, const char *tryname, int baselen, char *newname, recvflags_t *flags) argument
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 5400 int baselen = sizeof (sadb_sens_t) + _C_LEN * 4; local 5401 return (roundup(baselen, sizeof (uint64_t)));
|