From patchwork Wed Dec 9 20:52:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Lautrbach X-Patchwork-Id: 7812251 Return-Path: X-Original-To: patchwork-selinux@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 04C34BEEE1 for ; Wed, 9 Dec 2015 21:09:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C6692034A for ; Wed, 9 Dec 2015 21:09:40 +0000 (UTC) Received: from emvm-gh1-uea09.nsa.gov (emvm-gh1-uea09.nsa.gov [63.239.67.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 732D020375 for ; Wed, 9 Dec 2015 21:09:39 +0000 (UTC) X-TM-IMSS-Message-ID: <48850bc000010880@nsa.gov> Received: from tarius.tycho.ncsc.mil ([144.51.242.1]) by nsa.gov ([10.208.42.194]) with ESMTP (TREND IMSS SMTP Service 7.1) id 48850bc000010880 ; Wed, 9 Dec 2015 16:07:41 -0500 Received: from prometheus.infosec.tycho.ncsc.mil (prometheus [192.168.25.40]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id tB9L3Rno003429; Wed, 9 Dec 2015 16:03:32 -0500 Received: from tarius.tycho.ncsc.mil (tarius.infosec.tycho.ncsc.mil [144.51.242.1]) by prometheus.infosec.tycho.ncsc.mil (8.15.2/8.15.2) with ESMTP id tB9KqX2Z289228 for ; Wed, 9 Dec 2015 15:52:33 -0500 Received: from goalie.tycho.ncsc.mil (goalie [144.51.242.250]) by tarius.tycho.ncsc.mil (8.14.4/8.14.4) with ESMTP id tB9KqShN002352 for ; Wed, 9 Dec 2015 15:52:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A1CnAAARk2hWnBy3hNFeGQEBAhABAgKEIyateQGNLIQJhg+BdwEBAQEBARIBAQEBAQgLCQkhhWIwbjOIL8AShlaKJIQZBZZpjUOOc44Rgi0BXIFePTSFeQEBAQ X-IPAS-Result: A1CnAAARk2hWnBy3hNFeGQEBAhABAgKEIyateQGNLIQJhg+BdwEBAQEBARIBAQEBAQgLCQkhhWIwbjOIL8AShlaKJIQZBZZpjUOOc44Rgi0BXIFePTSFeQEBAQ X-IronPort-AV: E=Sophos;i="5.20,405,1444708800"; d="scan'208";a="5013134" Received: from emvm-gh1-uea08.nsa.gov ([10.208.42.193]) by goalie.tycho.ncsc.mil with ESMTP; 09 Dec 2015 15:52:32 -0500 X-TM-IMSS-Message-ID: <487ee85800053057@nsa.gov> Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by nsa.gov ([10.208.42.193]) with ESMTP (TREND IMSS SMTP Service 7.1; TLSv1/SSLv3 ADH-AES256-SHA (256/256)) id 487ee85800053057 ; Wed, 9 Dec 2015 15:52:25 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id ED4848E3E7 for ; Wed, 9 Dec 2015 20:52:30 +0000 (UTC) Received: from hulk.com (ovpn-204-39.brq.redhat.com [10.40.204.39]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tB9KqTBI026234; Wed, 9 Dec 2015 15:52:29 -0500 From: Petr Lautrbach To: selinux@tycho.nsa.gov Subject: [PATCH] libselinux/man: Add information about thread specific on setfscreatecon Date: Wed, 9 Dec 2015 21:52:10 +0100 Message-Id: <1449694330-30280-1-git-send-email-plautrba@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 X-TM-AS-MML: disable X-BeenThere: selinux@tycho.nsa.gov X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Security-Enhanced Linux \(SELinux\) mailing list" List-Post: List-Help: MIME-Version: 1.0 Errors-To: selinux-bounces@tycho.nsa.gov Sender: "Selinux" X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dan Walsh Signed-off-by: Petr Lautrbach --- 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.