]> git.ipfire.org Git - thirdparty/glibc.git/commit
Add Linux 4.13 constants to bits/fcntl-linux.h.
authorJoseph Myers <joseph@codesourcery.com>
Fri, 8 Sep 2017 16:20:23 +0000 (16:20 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 8 Sep 2017 16:20:23 +0000 (16:20 +0000)
commitaf1b7c8ca2fa46fc52c6801869f7f54579be8a23
tree557cad43c0997944225dbb98e1ca85dc9804b129
parent27342d1783449fe837ac42e9b382b2868af3256f
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.
ChangeLog
sysdeps/unix/sysv/linux/bits/fcntl-linux.h