Bugzilla – Attachment 2066 Details for
Bug 1919
do not change the context from unconfined_t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch solving the problem
openssh-5.8p2-unconfined.patch (text/plain), 598 bytes, created by
jchadima
on 2011-07-21 23:33:15 AEST
(
hide
)
Description:
patch solving the problem
Filename:
MIME Type:
Creator:
jchadima
Created:
2011-07-21 23:33:15 AEST
Size:
598 bytes
patch
obsolete
>diff -up openssh-5.8p2/openbsd-compat/port-linux.c.unconfined openssh-5.8p2/openbsd-compat/port-linux.c >--- openssh-5.8p2/openbsd-compat/port-linux.c.unconfined 2011-07-21 12:23:53.912418908 +0200 >+++ openssh-5.8p2/openbsd-compat/port-linux.c 2011-07-21 13:33:14.188545403 +0200 >@@ -491,6 +491,11 @@ ssh_selinux_change_context(const char *n > return; > } > >+ if (!strncmp(cx, ":unconfined_t:", strlen(":unconfined_t:"))) { >+ debug3("%s: do not change unconfined_t", __func__); >+ return; >+ } >+ > newlen = strlen(oldctx) + strlen(newname) + 1; > newctx = xmalloc(newlen); > len = cx - oldctx + 1;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1919
: 2066 |
2077