This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Add Q_GETNEXTQUOTA from Linux 4.6 to sys/quota.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 18 May 2016 12:05:12 +0000
- Subject: Add Q_GETNEXTQUOTA from Linux 4.6 to sys/quota.h
- Authentication-results: sourceware.org; auth=none
This patch adds Q_GETNEXTQUOTA, new in Linux 4.6, to
sysdeps/unix/sysv/linux/sys/quota.h.
Tested for x86_64 and x86 (testsuite, and that installed shared
libraries are unchanged by the patch).
2016-05-18 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
(Q_GETNEXTQUOTA): New macro.
diff --git a/sysdeps/unix/sysv/linux/sys/quota.h b/sysdeps/unix/sysv/linux/sys/quota.h
index 5aa0ec0..316febe 100644
--- a/sysdeps/unix/sysv/linux/sys/quota.h
+++ b/sysdeps/unix/sysv/linux/sys/quota.h
@@ -119,6 +119,7 @@
# define Q_SETINFO 0x800006 /* set information about quota files */
# define Q_GETQUOTA 0x800007 /* get user quota structure */
# define Q_SETQUOTA 0x800008 /* set user quota structure */
+# define Q_GETNEXTQUOTA 0x800009 /* get disk limits and usage >= ID */
#endif
/*
--
Joseph S. Myers
joseph@codesourcery.com