Re: [PATCH 1/3] libselinux: avc_destroy(3) closes status page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christian Göttsche <cgzones@xxxxxxxxxxxxxx> writes:

> Mention in the manpage of avc_destroy(3) that it does close the SELinux
> status page, which might have been opened manually by the client
> application.
>
> Signed-off-by: Christian Göttsche <cgzones@xxxxxxxxxxxxxx>
>

Acked-by: Petr Lautrbach <plautrba@xxxxxxxxxx>


> ---
>  libselinux/man/man3/avc_open.3 | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/libselinux/man/man3/avc_open.3 b/libselinux/man/man3/avc_open.3
> index 3090dd50..55683bb6 100644
> --- a/libselinux/man/man3/avc_open.3
> +++ b/libselinux/man/man3/avc_open.3
> @@ -26,6 +26,9 @@ initializes the userspace AVC and must be called before any other AVC operation
>  destroys the userspace AVC, freeing all internal memory structures.  After this call has been made, 
>  .BR avc_open ()
>  must be called again before any AVC operations can be performed.
> +.BR avc_destroy ()
> +also closes the SELinux status page, which might have been opened manually by
> +.BR selinux_status_open (3).
>  
>  .BR avc_reset ()
>  flushes the userspace AVC, causing it to forget any cached access decisions.  The userspace AVC normally calls this function automatically when needed, see
> -- 
> 2.31.1





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux