qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH] 06_efault.3.patch - copy_from_user_fdset()


From: Thayne Harbaugh
Subject: [Qemu-devel] Re: [PATCH] 06_efault.3.patch - copy_from_user_fdset()
Date: Tue, 20 Nov 2007 12:30:04 -0700

On Tue, 2007-11-20 at 12:08 -0700, Thayne Harbaugh wrote:
> This updates target_to_host_fds() to match the copy_from_user() code.
> It drops some unused variables, checks and handles return values for
> copy_from_user_fdset() and corrects an error where the "n" value was
> incorrectly multiplied with abi_long instead of used as one greater than
> the number of descriptors (which are bits).

The previous patch missed a minor detail.  This is an update to make the
"fd_set *fds" parameter of copy_to_user_fdset() into "const fd_set
*fds".

Attachment: 06_efault.3.patch
Description: Text Data


reply via email to

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