mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
security: make args to virSecuritySELinuxContextAddRange() const
Neither of these are modified anywhere in the function, and the function will soon be called with an arg that actually is a const. Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
a53c1d6f84
commit
60afe39576
@ -523,8 +523,8 @@ virSecuritySELinuxMCSGetProcessRange(char **sens,
|
||||
}
|
||||
|
||||
static char *
|
||||
virSecuritySELinuxContextAddRange(char *src,
|
||||
char *dst)
|
||||
virSecuritySELinuxContextAddRange(const char *src,
|
||||
const char *dst)
|
||||
{
|
||||
const char *str = NULL;
|
||||
char *ret = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user