mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
selinux: Use raw contexts 2
In commit 9674f2c637114fa6ac0680fe5658a41a62bb34a8, I forgot to change selabel_lookup with the other functions, so this one-liner does exactly that.
This commit is contained in:
parent
2cfa14bc8a
commit
6676c1fc8f
@ -901,7 +901,7 @@ getContext(const char *newpath, mode_t mode, security_context_t *fcon)
|
||||
if (handle == NULL)
|
||||
return -1;
|
||||
|
||||
ret = selabel_lookup(handle, fcon, newpath, mode);
|
||||
ret = selabel_lookup_raw(handle, fcon, newpath, mode);
|
||||
selabel_close(handle);
|
||||
return ret;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user