Re: [PATCH] examples: disable ucontext-cp if ucontext.h is not available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux