From: Jens Axboe <[email protected]>
To: Simon Zeni <[email protected]>, [email protected]
Subject: Re: [PATCH] examples: disable ucontext-cp if ucontext.h is not available
Date: Wed, 28 Oct 2020 21:00:41 -0600 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <C6OZDHZNAEV7.2KUIZYYGFKTWW@gengar>
On 10/28/20 7:23 PM, Simon Zeni wrote:
> On Wed Oct 28, 2020 at 3:06 PM EDT, Jens Axboe wrote:
>> The log for those would be interesting. rename/unlink is probably
>> me messing up on skipping on not-supported, sq-poll-* ditto. The
>> others, not sure - if you fail with -1/-12, probably just missing
>> capability checks.
>
> There you go
> https://paste.sr.ht/~bl4ckb0ne/61a962894091a8442fc7ab66934e22930122ff18
Yeah, so outside of the double-poll-crash which crashes due to some
syzbot mmap magic unrelated to io_uring, all failures are either:
-EPERM: don't properly check for !root
-ENOMEM: user doesn't have a high enough ulimit -l setting
unlink/rename not properly checking kernel level support (fixed this one)
I need to provide a generic queue setup helper that catches the two
general error cases and skips tests (saying why), then it should run
clean there too.
--
Jens Axboe
prev parent reply other threads:[~2020-10-29 7:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-28 2:31 [PATCH] examples: disable ucontext-cp if ucontext.h is not available Simon Zeni
2020-10-28 22:33 ` Jens Axboe
2020-10-29 0:53 ` Simon Zeni
2020-10-29 1:06 ` Jens Axboe
2020-10-29 1:23 ` Simon Zeni
2020-10-29 3:00 ` Jens Axboe [this message]
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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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