Please see also in Makefile.am and configure.ac '''2) It'd be useful to introduce for /usr/bin/python2 which would make switching to python3 easier?''' New file ldap/admin/src/scripts/ds_selinux_enabled.in New file ldap/admin/src/scripts/ds_selinux_port_query.in So maybe we need to make a submission to selinux to allow query of a single port number to "semanage port" to see what it is owned by? Or we can make a small python helper? Or we can say it's a hard problem, and rely on documentation?Īlso, how asan changes are related to selinux port detection? Shouldn't they be in a separate patch? The api is a bit rough and undocumented, but still works. If it wasn't attached, You get a None here. The tuple 4, 0, where 0 means "port is attached to some port type" (I think). I think that a library like python semanage is a bit better, as you can do something like this: So we need to be able to understand ranges, and pattern match out whole integers too in a call to semanage port. The problem here is that semanage port has types like this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |