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

/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dport-linux.c184 char *oldctx, *newctx, *cx; local
190 if (getcon((security_context_t *)&oldctx) < 0) {
194 if ((cx = index(oldctx, ':')) == NULL || (cx = index(cx + 1, ':')) ==
196 logit ("%s: unparseable context %s", __func__, oldctx);
208 newlen = strlen(oldctx) + strlen(newname) + 1;
210 len = cx - oldctx + 1;
211 memcpy(newctx, oldctx, len);
216 oldctx, newctx);
219 newctx, oldctx, strerror(errno));
220 free(oldctx);
[all...]

Completed in 252 milliseconds