diff options
| author | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-06 08:40:12 +0200 |
|---|---|---|
| committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-05-11 10:00:37 +0200 |
| commit | 589a8760b38d9e2dfa278764af12d59e1487fe07 (patch) | |
| tree | ec052967290019a564511cb1bd4685b5288322f0 /src/external/python.m4 | |
| parent | ea422c7061072c125eb53b40d7f3ca444d886913 (diff) | |
| download | sssd-589a8760b38d9e2dfa278764af12d59e1487fe07.tar.gz sssd-589a8760b38d9e2dfa278764af12d59e1487fe07.tar.xz sssd-589a8760b38d9e2dfa278764af12d59e1487fe07.zip | |
SELINUX: Avoid disconnecting disconnected handle
Resolves:
https://fedorahosted.org/sssd/ticket/2649
libsemanage is very strict about its API usage and actually doesn't
allow disconnecting a handle that is not connected. The unpatched code
would fail with:
selinux_child: handle.c:231: semanage_disconnect: Assertion `sh !=
((void *)0) && sh->funcs != ((void *)0) && sh->funcs->disconnect !=
((void *)0)' failed.
If semanage_connect() failed.
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/external/python.m4')
0 files changed, 0 insertions, 0 deletions
