* [PATCH] libselinux/man: Add information about thread specific on setfscreatecon
@ 2015-12-09 20:52 Petr Lautrbach
2015-12-17 14:17 ` Steve Lawrence
0 siblings, 1 reply; 2+ messages in thread
From: Petr Lautrbach @ 2015-12-09 20:52 UTC (permalink / raw)
To: selinux
From: Dan Walsh <dwalsh@redhat.com>
Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
---
libselinux/man/man3/getfscreatecon.3 | 5 +++++
libselinux/man/man3/getkeycreatecon.3 | 4 ++++
libselinux/man/man3/getsockcreatecon.3 | 5 +++++
3 files changed, 14 insertions(+)
diff --git a/libselinux/man/man3/getfscreatecon.3 b/libselinux/man/man3/getfscreatecon.3
index e348d3b..8cc4df5 100644
--- a/libselinux/man/man3/getfscreatecon.3
+++ b/libselinux/man/man3/getfscreatecon.3
@@ -49,6 +49,11 @@ Signal handlers that perform a
must take care to
save, reset, and restore the fscreate context to avoid unexpected behavior.
.
+
+.br
+.B Note:
+Contexts are thread specific.
+
.SH "RETURN VALUE"
On error \-1 is returned.
On success 0 is returned.
diff --git a/libselinux/man/man3/getkeycreatecon.3 b/libselinux/man/man3/getkeycreatecon.3
index 4d70f10..b51008d 100644
--- a/libselinux/man/man3/getkeycreatecon.3
+++ b/libselinux/man/man3/getkeycreatecon.3
@@ -48,6 +48,10 @@ Signal handlers that perform a
.BR setkeycreatecon ()
must take care to
save, reset, and restore the keycreate context to avoid unexpected behavior.
+
+.br
+.B Note:
+Contexts are thread specific.
.
.SH "RETURN VALUE"
On error \-1 is returned.
diff --git a/libselinux/man/man3/getsockcreatecon.3 b/libselinux/man/man3/getsockcreatecon.3
index 4dd8f30..26086d9 100644
--- a/libselinux/man/man3/getsockcreatecon.3
+++ b/libselinux/man/man3/getsockcreatecon.3
@@ -49,6 +49,11 @@ Signal handlers that perform a
must take care to
save, reset, and restore the sockcreate context to avoid unexpected behavior.
.
+
+.br
+.B Note:
+Contexts are thread specific.
+
.SH "RETURN VALUE"
On error \-1 is returned.
On success 0 is returned.
--
2.6.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] libselinux/man: Add information about thread specific on setfscreatecon
2015-12-09 20:52 [PATCH] libselinux/man: Add information about thread specific on setfscreatecon Petr Lautrbach
@ 2015-12-17 14:17 ` Steve Lawrence
0 siblings, 0 replies; 2+ messages in thread
From: Steve Lawrence @ 2015-12-17 14:17 UTC (permalink / raw)
To: Petr Lautrbach, selinux
On 12/09/2015 03:52 PM, Petr Lautrbach wrote:
> From: Dan Walsh <dwalsh@redhat.com>
>
> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
Applied. Thanks.
> ---
> libselinux/man/man3/getfscreatecon.3 | 5 +++++
> libselinux/man/man3/getkeycreatecon.3 | 4 ++++
> libselinux/man/man3/getsockcreatecon.3 | 5 +++++
> 3 files changed, 14 insertions(+)
>
> diff --git a/libselinux/man/man3/getfscreatecon.3 b/libselinux/man/man3/getfscreatecon.3
> index e348d3b..8cc4df5 100644
> --- a/libselinux/man/man3/getfscreatecon.3
> +++ b/libselinux/man/man3/getfscreatecon.3
> @@ -49,6 +49,11 @@ Signal handlers that perform a
> must take care to
> save, reset, and restore the fscreate context to avoid unexpected behavior.
> .
> +
> +.br
> +.B Note:
> +Contexts are thread specific.
> +
> .SH "RETURN VALUE"
> On error \-1 is returned.
> On success 0 is returned.
> diff --git a/libselinux/man/man3/getkeycreatecon.3 b/libselinux/man/man3/getkeycreatecon.3
> index 4d70f10..b51008d 100644
> --- a/libselinux/man/man3/getkeycreatecon.3
> +++ b/libselinux/man/man3/getkeycreatecon.3
> @@ -48,6 +48,10 @@ Signal handlers that perform a
> .BR setkeycreatecon ()
> must take care to
> save, reset, and restore the keycreate context to avoid unexpected behavior.
> +
> +.br
> +.B Note:
> +Contexts are thread specific.
> .
> .SH "RETURN VALUE"
> On error \-1 is returned.
> diff --git a/libselinux/man/man3/getsockcreatecon.3 b/libselinux/man/man3/getsockcreatecon.3
> index 4dd8f30..26086d9 100644
> --- a/libselinux/man/man3/getsockcreatecon.3
> +++ b/libselinux/man/man3/getsockcreatecon.3
> @@ -49,6 +49,11 @@ Signal handlers that perform a
> must take care to
> save, reset, and restore the sockcreate context to avoid unexpected behavior.
> .
> +
> +.br
> +.B Note:
> +Contexts are thread specific.
> +
> .SH "RETURN VALUE"
> On error \-1 is returned.
> On success 0 is returned.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-17 14:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-09 20:52 [PATCH] libselinux/man: Add information about thread specific on setfscreatecon Petr Lautrbach
2015-12-17 14:17 ` Steve Lawrence
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.