[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strace
Subject:    [PATCH 07/12] quota: Add decoding for Q_XQUOTARM subcommand
From:       Eugene Syromyatnikov <evgsyr () gmail ! com>
Date:       2016-09-21 3:11:52
Message-ID: 20160921031152.GA22851 () obsidian
[Download RAW message or body]

* quota.c (decode_cmd_data): Add Q_XQUOTARM handling to subcommand
  switch.
---
 quota.c |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/quota.c b/quota.c
index 53730d1..905fece 100644
--- a/quota.c
+++ b/quota.c
@@ -591,6 +591,19 @@ decode_cmd_data(struct tcb *tcp, uint32_t id, uint32_t cmd, unsigned long data)
 		tprints("]");
 		break;
 	}
+	case Q_XQUOTARM:
+	{
+		uint32_t flag;
+
+		tprints(", ");
+
+		if (umove_or_printaddr(tcp, data, &flag))
+			break;
+		tprints("[");
+		printflags(xfs_dqblk_flags, flag, "XFS_???_QUOTA");
+		tprints("]");
+		break;
+	}
 	default:
 		printuid(", ", id);
 		tprints(", ");
-- 
1.7.10.4


------------------------------------------------------------------------------
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic