From: Colin Walters <walters@verbum.org>
To: Eric Paris <eparis@redhat.com>
Cc: sds@tycho.nsa.gov, selinux@tycho.nsa.gov
Subject: Re: __thread and fork() is a big no-no
Date: Tue, 15 Jan 2013 17:27:05 -0500 [thread overview]
Message-ID: <1358288825.977.25.camel@localhost> (raw)
In-Reply-To: <1090524285.6034746.1358287131109.JavaMail.root@zmail12.collab.prod.int.phx2.redhat.com>
On Tue, 2013-01-15 at 16:58 -0500, Eric Paris wrote:
> It is not about caching tid, it is about ALL __thread variables not being cleared across fork.
Using pthread_atfork() is a way to ensure it *is* cleared.
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2013-01-15 22:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 21:58 __thread and fork() is a big no-no Eric Paris
2013-01-15 22:27 ` Colin Walters [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-01-15 20:35 Eric Paris
2013-01-15 21:01 ` Stephen Smalley
2013-01-15 21:11 ` Stephen Smalley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1358288825.977.25.camel@localhost \
--to=walters@verbum.org \
--cc=eparis@redhat.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.