diff options
author | Joseph Myers <joseph@codesourcery.com> | 2016-05-18 13:15:11 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2016-05-18 13:15:11 +0000 |
commit | 2a1aa528244714587f7726a8f4561cd05682f0a7 (patch) | |
tree | 8f17d96c3828c72b28dbb52cb703cdc5be8b2c65 | |
parent | 447720b03b4ac37cbc1367bf3aad56711a30a307 (diff) | |
download | glibc-2a1aa528244714587f7726a8f4561cd05682f0a7.zip glibc-2a1aa528244714587f7726a8f4561cd05682f0a7.tar.gz glibc-2a1aa528244714587f7726a8f4561cd05682f0a7.tar.bz2 |
Add Q_GETNEXTQUOTA from Linux 4.6 to sys/quota.h.
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/quota.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -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] 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 /* |