Searched refs:doorfd (Results 1 - 4 of 4) sorted by relevance
/osnet-11/usr/src/lib/libsldap/common/ |
H A D | ns_cache_door.c | 81 static int doorfd = -1; variable 106 if (doorfd == -1) { 110 if ((doorfd = open(LDAP_CACHE_DOOR, O_RDONLY, 0)) 122 while (doorfd < 3) { /* we have a reserved fd */ 123 tbc[i++] = doorfd; 124 if ((doorfd = dup(doorfd)) < 0) { 127 doorfd = -1; 139 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); 140 if (door_info(doorfd, [all...] |
/osnet-11/usr/src/lib/libtsol/common/ |
H A D | call_labeld.c | 90 static int doorfd = -1; local 117 if (doorfd == -1) { 123 if ((doorfd = open64(door_name, O_RDONLY | O_CLOEXEC, 0)) < 0) { 134 while (doorfd < 3) { /* we have a reserved fd */ 135 tbc[i++] = doorfd; 136 if ((doorfd = dup(doorfd)) < 0) { 140 doorfd = -1; 148 if (door_info(doorfd, &real_door) < 0) { 150 * we should close doorfd becaus [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | getxby_door.c | 104 int doorfd; member in struct:_nsc_door_t 265 (dp->doorfd == -1 || _nsc_use_backdoor(db) == 0)) { 272 if (dp->doorfd == -1 && dp == &nsc_door[0]) { /* open front door */ 276 dp->doorfd = open64(NAME_SERVICE_DOOR, O_RDONLY, 0); 277 if (dp->doorfd == -1) { 288 while (dp->doorfd < 3) { /* we have a reserved fd */ 289 tbc[i++] = dp->doorfd; 290 if ((dp->doorfd = dup(dp->doorfd)) < 0) { 293 dp->doorfd [all...] |
/osnet-11/usr/src/lib/libzonecfg/common/ |
H A D | libzonecfg.c | 8561 int doorfd; local 8566 if ((doorfd = open(doorpath, O_RDONLY)) != -1) { 8567 if (door_info(doorfd, &info) == 0 && 8569 (void) close(doorfd); 8573 (void) close(doorfd); 8683 int doorfd; local 8689 if ((doorfd = open(doorpath, O_RDONLY)) < 0) { 8692 if (door_info(doorfd, &info) == 0 && 8694 (void) close(doorfd); 8697 (void) close(doorfd); 8705 int doorfd, result; local [all...] |
Completed in 116 milliseconds