diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-09-08 16:20:23 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-09-08 16:20:23 +0000 |
commit | af1b7c8ca2fa46fc52c6801869f7f54579be8a23 (patch) | |
tree | 557cad43c0997944225dbb98e1ca85dc9804b129 /ChangeLog | |
parent | 27342d1783449fe837ac42e9b382b2868af3256f (diff) | |
download | glibc-af1b7c8ca2fa46fc52c6801869f7f54579be8a23.zip glibc-af1b7c8ca2fa46fc52c6801869f7f54579be8a23.tar.gz glibc-af1b7c8ca2fa46fc52c6801869f7f54579be8a23.tar.bz2 |
Add Linux 4.13 constants to bits/fcntl-linux.h.
This patch adds new interfaces (F_GET_RW_HINT etc., and associated
RW[FH]_WRITE_LIFE_*) from Linux 4.13 to bits/fcntl-linux.h
(conditional on __USE_GNU).
Tested for x86_64.
* sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
(F_GET_RW_HINT): New macro.
[__USE_GNU] (F_SET_RW_HINT): Likewise.
[__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
[__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
[__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
[__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
[__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
[__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
[__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
[__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,6 +1,18 @@ 2017-09-08 Joseph Myers <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU] + (F_GET_RW_HINT): New macro. + [__USE_GNU] (F_SET_RW_HINT): Likewise. + [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise. + [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise. + [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise. + [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise. + [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise. + [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise. + [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise. + [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise. + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU] (F_ADD_SEALS): New macro. [__USE_GNU] (F_GET_SEALS): Likewise. [__USE_GNU] (F_SEAL_SEAL): Likewise. |