selinux/python
Topi Miettinen da3bbc31a8 semanage: handle getprotobyname() failure case
At least on Debian, /etc/protocols, which is used by
socket.getprotobyname() to resolve protocols to names, does not
contain an entry for "ipv4". In that case, set the protocol number
used by audit logs for "ipv4" to a fixed value. To ensure audit log
compatibility, let's use the same numeric value as Fedora: 4, which is
actually understood by kernel as IP over IP.

Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Acked-by: Stephen Smalley <stephen.smalley.work@gmail.com>
2020-06-25 13:28:42 -04:00
..
audit2allow sepolgen-ifgen: refactor default policy path retrieval 2020-06-18 19:32:07 +02:00
chcat python/chcat: remove unnecessary assignment 2019-09-17 10:38:49 -04:00
semanage semanage: handle getprotobyname() failure case 2020-06-25 13:28:42 -04:00
sepolgen Update VERSIONs to 3.1-rc2 for release. 2020-06-19 13:02:31 +02:00
sepolicy python/sepolicy: Use xml.etree.ElementTree.Element.iter() 2020-06-18 19:29:21 +02:00
COPYING Add COPYING files for new subdirs. 2016-11-16 11:19:51 -05:00
Makefile python: run all the tests with "make test" 2019-01-08 10:15:46 +01:00
VERSION Update VERSIONs to 3.1-rc2 for release. 2020-06-19 13:02:31 +02:00