mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-18 04:04:34 +00:00
f5d4b60e69
When trying to add a record with a key that already exists, modify the existing record instead. Also, fix "semanage -m -e" (add_equal was called instead of modify_equal), which meant that existing local equivalency couldn't be modified (though a user could remove it and add a modified equivalency). Fixes: https://github.com/SELinuxProject/selinux/issues/412 When a port or login definition present in the policy is modified using "semanage port -m", "semanage export" exports the command as "port -a" instead of "port -m". This results in "semanage import" failing (port already defined). The same is true for port, user, login, ibpkey, ibendport, node, interface and fcontext. Signed-off-by: Vit Mojzis <vmojzis@redhat.com> Acked-by: James Carter <jwcart2@gmail.com> |
||
---|---|---|
.. | ||
Makefile | ||
semanage | ||
semanage-bash-completion.sh | ||
semanage-boolean.8 | ||
semanage-dontaudit.8 | ||
semanage-export.8 | ||
semanage-fcontext.8 | ||
semanage-ibendport.8 | ||
semanage-ibpkey.8 | ||
semanage-import.8 | ||
semanage-interface.8 | ||
semanage-login.8 | ||
semanage-module.8 | ||
semanage-node.8 | ||
semanage-permissive.8 | ||
semanage-port.8 | ||
semanage-user.8 | ||
semanage.8 | ||
seobject.py | ||
test-semanage.py |