qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Cc: riku.voipio@linaro.org
Subject: [Qemu-devel] [PATCH 2/3] linux-user: implement FS_IOC_SETFLAGS ioctl
Date: Tue, 21 Aug 2012 14:43:31 +0200	[thread overview]
Message-ID: <1345553012-19842-3-git-send-email-agraf@suse.de> (raw)
In-Reply-To: <1345553012-19842-1-git-send-email-agraf@suse.de>

Signed-off-by: Alexander Graf <agraf@suse.de>
---
 linux-user/ioctls.h       |    1 +
 linux-user/syscall_defs.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/linux-user/ioctls.h b/linux-user/ioctls.h
index 1b798b3..5027c74 100644
--- a/linux-user/ioctls.h
+++ b/linux-user/ioctls.h
@@ -87,6 +87,7 @@
                    MK_PTR(MK_STRUCT(STRUCT_fiemap)))
 #endif
   IOCTL(FS_IOC_GETFLAGS, IOC_R, MK_PTR(TYPE_INT))
+  IOCTL(FS_IOC_SETFLAGS, IOC_W, MK_PTR(TYPE_INT))
 
   IOCTL(SIOCATMARK, 0, TYPE_NULL)
   IOCTL(SIOCADDRT, IOC_W, MK_PTR(MK_STRUCT(STRUCT_rtentry)))
diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h
index 67fbcab..349229d 100644
--- a/linux-user/syscall_defs.h
+++ b/linux-user/syscall_defs.h
@@ -2345,6 +2345,7 @@ struct target_eabi_flock64 {
 #define TARGET_MTIOCPOS        TARGET_IOR('m', 3, struct mtpos)
 
 #define TARGET_FS_IOC_GETFLAGS TARGET_IORU('f', 1)
+#define TARGET_FS_IOC_SETFLAGS TARGET_IOWU('f', 2)
 
 struct target_sysinfo {
     abi_long uptime;                /* Seconds since boot */
-- 
1.6.0.2

  parent reply	other threads:[~2012-08-21 12:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-21 12:43 [Qemu-devel] [PATCH 0/3] linux-user: Assorted fixed for libarchive Alexander Graf
2012-08-21 12:43 ` [Qemu-devel] [PATCH 1/3] linux-user: implement FS_IOC_GETFLAGS ioctl Alexander Graf
2012-08-21 13:47   ` Peter Maydell
2012-10-11 13:36     ` Riku Voipio
2012-10-11 13:52       ` Alexander Graf
2012-08-21 12:43 ` Alexander Graf [this message]
2012-08-21 12:43 ` [Qemu-devel] [PATCH 3/3] linux-user: fix statfs Alexander Graf
2012-08-21 14:00   ` Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1345553012-19842-3-git-send-email-agraf@suse.de \
    --to=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=riku.voipio@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).