|
Lines 491-496
ssh_selinux_change_context(const char *n
Link Here
|
| 491 |
return; |
491 |
return; |
| 492 |
} |
492 |
} |
| 493 |
|
493 |
|
|
|
494 |
if (!strncmp(cx, ":unconfined_t:", strlen(":unconfined_t:"))) { |
| 495 |
debug3("%s: do not change unconfined_t", __func__); |
| 496 |
return; |
| 497 |
} |
| 498 |
|
| 494 |
newlen = strlen(oldctx) + strlen(newname) + 1; |
499 |
newlen = strlen(oldctx) + strlen(newname) + 1; |
| 495 |
newctx = xmalloc(newlen); |
500 |
newctx = xmalloc(newlen); |
| 496 |
len = cx - oldctx + 1; |
501 |
len = cx - oldctx + 1; |