]> git.ipfire.org Git - thirdparty/libvirt.git/commit
security_selinux: Declare internal autoptr cleanup helper for 'context_t'
authorPeter Krempa <pkrempa@redhat.com>
Fri, 18 Jul 2025 14:07:11 +0000 (16:07 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 22 Jul 2025 14:52:35 +0000 (16:52 +0200)
commit08afef3fdce49737eedf0807abfb09d4392992df
tree78c2e64c362af31c272c473e86c36782cba6fd40
parent5db77e0c660252e5fd482b3761558a2036128eb3
security_selinux: Declare internal autoptr cleanup helper for 'context_t'

The selinux headers have a 'typedef context_s_t *context_t;' definition
in the header so we declare autoptr cleanup function for 'context_s_t'
and use it instead of 'context_t' definitions.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/security/security_selinux.c