Skip to contentSkip to conversation

libselinux/man: Add information about thread specific on setfscreatecon

PATCH Applied Petr Lautrbach 2 participants 2 messages Dec 9, 2015 – Dec 17, 2015 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libselinux/man: Add information about thread specific on setfscreatecon

From: Dan Walsh <[email protected]>

---
 libselinux/man/man3/getfscreatecon.3   | 5 +++++
 libselinux/man/man3/getkeycreatecon.3  | 4 ++++
 libselinux/man/man3/getsockcreatecon.3 | 5 +++++
 3 files changed, 14 insertions(+)
libselinux/man/man3/getfscreatecon.3 +5 -0
index e348d3b..8cc4df5 100644
@@ -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.
libselinux/man/man3/getkeycreatecon.3 +4 -0
index 4d70f10..b51008d 100644
@@ -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.
libselinux/man/man3/getsockcreatecon.3 +5 -0
index 4dd8f30..26086d9 100644
@@ -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.
Signature · 1 line
2.6.3
#1 lore raw
Quoted 3 lines · Petr Lautrbach

From: Dan Walsh <[email protected]>

Applied. Thanks.

Quoted 54 lines
---
 libselinux/man/man3/getfscreatecon.3   | 5 +++++
 libselinux/man/man3/getkeycreatecon.3  | 4 ++++
 libselinux/man/man3/getsockcreatecon.3 | 5 +++++
 3 files changed, 14 insertions(+)
libselinux/man/man3/getfscreatecon.3 +5 -0
index e348d3b..8cc4df5 100644
@@ -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.
libselinux/man/man3/getkeycreatecon.3 +4 -0
index 4d70f10..b51008d 100644
@@ -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.
libselinux/man/man3/getsockcreatecon.3 +5 -0
index 4dd8f30..26086d9 100644
@@ -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.