diff options
author | Petr Lautrbach <plautrba@redhat.com> | 2017-12-13 13:16:33 +0100 |
---|---|---|
committer | stephensmalley <sds@tycho.nsa.gov> | 2017-12-18 15:46:53 -0500 |
commit | 5e81672ca0adaf4695f2634e063a30543a4800a9 (patch) | |
tree | b19e4b70fbd82efa85b112d367bd93d35780ec39 /libselinux/man/man3/lsetfilecon_raw.3 | |
parent | eee003f810f5312b61b8da61f34c2d581617a997 (diff) | |
download | android_external_selinux-5e81672ca0adaf4695f2634e063a30543a4800a9.tar.gz android_external_selinux-5e81672ca0adaf4695f2634e063a30543a4800a9.tar.bz2 android_external_selinux-5e81672ca0adaf4695f2634e063a30543a4800a9.zip |
python/semanage: make seobject.py backward compatible
Commit 985753f changed behavior of seobject class constructors. While
semanage itself was fixed, there are other tools like
system-config-selinux and chcat which depend on the original behavior.
This change make the constructors backward compatible.
Fixes: $ system-config-selinux
Traceback (most recent call last):
File "/usr/share/system-config-selinux/system-config-selinux.py", line 196, in <module>
app = childWindow()
File "/usr/share/system-config-selinux/system-config-selinux.py", line 100, in __init__
self.add_page(booleansPage.booleansPage(xml))
File "/usr/share/system-config-selinux/booleansPage.py", line 142, in __init__
self.load(self.filter)
File "/usr/share/system-config-selinux/booleansPage.py", line 212, in load
self.booleans = seobject.booleanRecords()
TypeError: __init__() missing 1 required positional argument: 'args'
Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
Diffstat (limited to 'libselinux/man/man3/lsetfilecon_raw.3')
0 files changed, 0 insertions, 0 deletions