Home
last modified time | relevance | path

Searched refs:rhostname (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/containers/utsname/
Dutstest.c118 char hostname[HLEN], newhostname[HLEN], rhostname[HLEN]; in P1() local
131 zeroize(rhostname); in P1()
132 len = read(p1fd[0], rhostname, HLEN); in P1()
133 if (strcmp(hostname, rhostname) == 0) { in P1()
139 tsttype, hostname, rhostname); in P1()
150 zeroize(rhostname); in P1()
151 len = read(p1fd[0], rhostname, HLEN); in P1()
152 if (strcmp(newhostname, rhostname) == 0) { in P1()
158 tsttype, newhostname, rhostname); in P1()
170 zeroize(rhostname); in P1()
[all …]
/external/ppp/pppd/
Deap.c1320 char rhostname[256]; local
1369 strcpy(rhostname, SRP_PSEUDO_ID);
1370 len = read(fd, rhostname + SRP_PSEUDO_LEN,
1371 sizeof (rhostname) - SRP_PSEUDO_LEN);
1375 rhostname, len + SRP_PSEUDO_LEN);
1424 if (len - vallen >= sizeof (rhostname)) {
1426 BCOPY(inp + vallen, rhostname, sizeof (rhostname) - 1);
1427 rhostname[sizeof (rhostname) - 1] = '\0';
1429 BCOPY(inp + vallen, rhostname, len - vallen);
1430 rhostname[len - vallen] = '\0';
[all …]
Dupap.c379 char rhostname[256]; local
448 slprintf(rhostname, sizeof(rhostname), "%.*v", ruserlen, ruser);
452 notice("PAP peer authentication succeeded for %q", rhostname);
456 warn("PAP peer authentication failed for %q", rhostname);