Motivated by: https://bugzilla.redhat.com/show_bug.cgi?id=1098446 I believe this is always safe for booleans because we only set their value; we are never adding new ones via semanage, unlike for example users, ports, nodes, and interfaces. For the rest, I was wondering why we don't save the linked file and just reuse it on those changes rather than re-linking each time - that seems like it would be straightforward to do in libsemanage and make those operations significantly faster and less memory intensive.
_______________________________________________ Selinux mailing list Selinux@tycho.nsa.gov To unsubscribe, send email to Selinux-leave@tycho.nsa.gov. To get help, send an email containing "help" to Selinux-request@tycho.nsa.gov.