Lines Matching +full:protect +full:- +full:exec
56 * 2) Set the close on exec flags so descriptor remains available
66 * closed it underneath us or where the nscd dies or re-execs itself
67 * and we're a multi-threaded application. Note that we cannot protect
68 * the application if it closes the fd and it is multi-threaded.
81 * Returns 0 if the door call reached the server, -1 if contact was not made.
91 static int doorfd = -1; in __call_labeld()
118 if (doorfd == -1) { in __call_labeld()
131 * dup up the file descriptor if we have 0 - 2 in __call_labeld()
139 while (i--) in __call_labeld()
141 doorfd = -1; in __call_labeld()
146 while (i--) in __call_labeld()
150 * mark this door descriptor as close on exec in __call_labeld()
159 doorfd = -1; in __call_labeld()
171 (void) printf("\t\toutstanding requests = %d\n", st.st_nlink-1); in __call_labeld()
199 doorfd = -1; in __call_labeld()
209 * don't close it - someone else has clobbered fd in __call_labeld()
211 doorfd = -1; in __call_labeld()
223 (void) printf("\t\toutstanding requests = %d\n", st.st_nlink-1); in __call_labeld()
249 doorfd = -1; /* try and restart connection */ in __call_labeld()
297 (void) printf("\treply status = %d\n", (*dptr)->param.aret.ret); in __call_labeld()
299 return ((*dptr)->param.aret.ret); in __call_labeld()