|
|
Subscribe / Log in / New account

Testing in the Yocto Project

Testing in the Yocto Project

Posted May 20, 2019 9:16 UTC (Mon) by metan (subscriber, #74107)
In reply to: Testing in the Yocto Project by roc
Parent article: Testing in the Yocto Project

> Indeed, the rr test suite still catches kernel regressions from time to time, which we investigate and report. I don't think anyone else is running systematic tests of x86-32 ioctl compat code.

Well in SUSE we do run LTP compiled with -m32 on x86-64 which catches bugs in the compat layer from time to time, but the coverage of ioctls() is sparse at best, we do have some tests for /dev/tty*, /dev/net/tun, block device ioctls, /dev/random, namespace ioctls and some Btrfs ones and that's it.


to post comments

Testing in the Yocto Project

Posted May 20, 2019 13:14 UTC (Mon) by roc (subscriber, #30627) [Link] (1 responses)

One thing we're doing which LTP probably isn't doing: we make syscall parameter buffers be immediately followed by an unmapped guard page, so if the kernel reads or writes too much memory, the test gets an EFAULT. Bugs where the kernel reads too much memory (and ignores what was read) are otherwise impossible to catch. We do this on x86-64 too of course but it catches fewer bugs there.

Testing in the Yocto Project

Posted May 20, 2019 13:21 UTC (Mon) by metan (subscriber, #74107) [Link]

No we don't but we should, thanks for the idea! I've created a LTP issue https://github.com/linux-test-project/ltp/issues/531 so that we can follow up on that.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy