libsemanage: add semanage_str_replace() utility function

This function will be used in the next commit.

Signed-off-by: Nicolas Iooss <[email protected]>
3 files changed