From: Steven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>
To: linux-kernel@vger.kernel.org
Cc: linux-api@vger.kernel.org, mtk@man7.org
Subject: Does anyone know when FUTEX_WAIT can fail with EAGAIN?
Date: Tue, 29 Jul 2014 21:55:56 +0000 (GMT) [thread overview]
Message-ID: <fb82d1d46d8f.53d8186c@langara.bc.ca> (raw)
Hello,
I'm trying to debug a hangup where my program loops with FUTEX_WAIT (actually
FUTEX_WAIT_PRIVATE but same thing) endlessly erring out with EAGAIN. I would
like to know if anyone on the mailing list knows when FUTEX_WAIT can fail with
EAGAIN.
Some info for people who are interested in what I'm working on.
I'm working on sand boxing my program at gitorious.org/linted with namespaces
and chroot.
The error only appeared after changing unshare then fork code into a direct
clone call.
> | uname -a
> Linux alonzo 3.13.0-24-generic #1trisquel1 SMP Tue May 13 15:17:50 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
Thank you,
Steven Stewart-Gallus
next reply other threads:[~2014-07-29 21:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-29 21:55 Steven Stewart-Gallus [this message]
2014-08-16 21:51 ` Does anyone know when FUTEX_WAIT can fail with EAGAIN? Eric Wong
[not found] ` <fb82d1d46d8f.53d8186c-BTv7Ps/Sm75C8prJL3GQQw@public.gmane.org>
2014-08-17 15:48 ` Davidlohr Bueso
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=fb82d1d46d8f.53d8186c@langara.bc.ca \
--to=sstewartgallus00@mylangara.bc.ca \
--cc=linux-api@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mtk@man7.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox