[PATCH v2 1/2] Decode UFFDIO_* ioctls
Dmitry V. Levin
ldv at altlinux.org
Tue May 10 11:12:15 UTC 2016
On Tue, May 10, 2016 at 11:49:02AM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <dgilbert at redhat.com>
>
> Decode the ioctls associated with the userfaultfd fd.
> Note that they tend to read from and also return result in it's data
> structure.
>
> * configure.ac (AC_CHECK_HEADERS): Add linux/userfaultfd.h.
> * userfaultfd.c [HAVE_LINUX_USERFAULTFD_H]: Add ioctl decoder.
> * defs.h (uffdio_ioctl): New prototype.
> * ioctl.c (ioctl_decode) [HAVE_LINUX_USERFAULTFD_H]: Wire in
> uffdio_ioctl.
> * xlat/uffd_*.in: Create flag xlat for all the IOCTLs.
Applied, thanks!
[...]
> + printflags64(uffd_register_ioctl_flags, ur.ioctls,
> + "UFFDIO_???");
I've wrapped this line to fit into 80 symbols width limit.
[...]
> + }
> + case UFFDIO_ZEROPAGE: {
I've added an empty line before the case statement.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160510/904f2af5/attachment.bin>
More information about the Strace-devel
mailing list