Searched defs:oldctx (Results 1 - 1 of 1) sorted by relevance

/external/openssh/openbsd-compat/
H A Dport-linux.c183 char *oldctx, *newctx, *cx; local
189 if (getcon((security_context_t *)&oldctx) < 0) {
193 if ((cx = index(oldctx, ':')) == NULL || (cx = index(cx + 1, ':')) ==
195 logit ("%s: unparseable context %s", __func__, oldctx);
207 newlen = strlen(oldctx) + strlen(newname) + 1;
209 len = cx - oldctx + 1;
210 memcpy(newctx, oldctx, len);
215 oldctx, newctx);
218 newctx, oldctx, strerror(errno));
219 xfree(oldctx);
[all...]

Completed in 71 milliseconds