qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] zero/NULL fixes.


From: Thayne Harbaugh
Subject: [Qemu-devel] [PATCH] zero/NULL fixes.
Date: Tue, 11 Dec 2007 17:42:02 -0700

The EFAULT changes use a result of NULL to detect a failure from lock*()
functions.  There are syscalls that accept NULL as a valid argument and
now the syscalls return -EFAULT.  These patches allow appropriate
syscalls to accept NULL.

I have put together a regression test harness wrapped around the Linux
Test Project (LTP).  I've been able to find regressions that were caused
by the EFAULT changes.  It's more exhaustive than running an ls
executable and has helped find existing bugs as well as regressions.  It
will run regression tests for multiple architectures.

I'll be sending a few more patches for this same type of regression.  I
should also be sending in the test harness once I've worked out a few
more details.

Attachment: 19_zero_null.1.getgroups.patch
Description: Text Data

Attachment: 19_zero_null.2.read.patch
Description: Text Data

Attachment: 19_zero_null.3.accept.patch
Description: Text Data

Attachment: 19_zero_null.4.acct.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]