]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add Q_GETNEXTQUOTA from Linux 4.6 to sys/quota.h.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 18 May 2016 13:15:11 +0000 (13:15 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 18 May 2016 13:15:11 +0000 (13:15 +0000)
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).

* sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
(Q_GETNEXTQUOTA): New macro.

ChangeLog
sysdeps/unix/sysv/linux/sys/quota.h

index 5249fbecfab7d0e1e11187a79d20dd2ab3038f7d..6d4143d3eb167f18c42bcf0c1cd92e5fa74be207 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
+       (Q_GETNEXTQUOTA): New macro.
+
 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
 
        [BZ #19907]
index 5aa0ec07d21ec5f5c2192ea4cd9220b131a30a9b..316febe875345940978c563b57c32c047428051c 100644 (file)
 # 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
 
 /*