diff options
author | Joseph Myers <joseph@codesourcery.com> | 2014-06-23 15:48:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2014-06-23 15:48:42 +0000 |
commit | 76e5216e317f39da2bc5bf905721cd9554ee6d09 (patch) | |
tree | fdeb2c7b7fb6db54cd8596bd526cddd791b7ad04 /sysdeps/unix/sysv/linux/bits/fcntl-linux.h | |
parent | 7a81cbcc3968fa8549f17ef64bd01d8112d0bbe5 (diff) | |
download | glibc-76e5216e317f39da2bc5bf905721cd9554ee6d09.zip glibc-76e5216e317f39da2bc5bf905721cd9554ee6d09.tar.gz glibc-76e5216e317f39da2bc5bf905721cd9554ee6d09.tar.bz2 |
Update headers for Linux 3.15.
This patch updates glibc headers for changes / new definitions in
Linux 3.15. In the course of my review I noticed that
IPV6_PMTUDISC_INTERFACE was absent from glibc despite the inclusion of
IP_PMTUDISC_INTERFACE; I added it along with IP_PMTUDISC_OMIT and
IPV6_PMTUDISC_OMIT. I did not add FALLOC_FL_NO_HIDE_STALE given the
kernel header comment that it is reserved.
Tested x86_64.
* sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
(FALLOC_FL_COLLAPSE_RANGE): New macro.
[__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
* sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
(IPV6_PMTUDISC_INTERFACE): Likewise.
(IPV6_PMTUDISC_OMIT): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/bits/fcntl-linux.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/fcntl-linux.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h index 915eb3e..527eb5c 100644 --- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h +++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h @@ -305,6 +305,11 @@ struct f_owner_ex even if offset + len is greater than file size. */ # define FALLOC_FL_PUNCH_HOLE 2 /* Create a hole in the file. */ +# define FALLOC_FL_COLLAPSE_RANGE 8 /* Remove a range of a file + without leaving a + hole. */ +# define FALLOC_FL_ZERO_RANGE 16 /* Convert a range of a + file to zeros. */ /* File handle structure. */ |