Lines Matching refs:hostf
321 FILE *hostf; in ruserok() local
342 hostf = superuser ? (FILE *)0 : fopen(_PATH_HEQUIV, "r"); in ruserok()
344 if (hostf) { in ruserok()
345 if (!_validuser(hostf, fhost, luser, ruser, baselen)) { in ruserok()
346 (void) fclose(hostf); in ruserok()
350 (void) fclose(hostf); in ruserok()
363 if ((hostf = fopen(pbuf, "r")) == NULL) { in ruserok()
367 (void)fstat(fileno(hostf), &sbuf); in ruserok()
369 fclose(hostf); in ruserok()
380 _validuser(FILE *hostf, const char *rhost, const char *luser, in _validuser() argument
389 while (fgets(ahost, sizeof (ahost), hostf)) { in _validuser()