diff --git a/ChangeLog b/ChangeLog index 8ea94b6eb1..5f21fe463a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-05-23 Joseph Myers + + * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU] + (F_SEAL_FUTURE_WRITE): New macro. + 2019-05-23 Alexandra Hajkova * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache. diff --git a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h index 4b4d6f7ae5..3f32eb328b 100644 --- a/sysdeps/unix/sysv/linux/bits/fcntl-linux.h +++ b/sysdeps/unix/sysv/linux/bits/fcntl-linux.h @@ -284,6 +284,8 @@ struct f_owner_ex # define F_SEAL_SHRINK 0x0002 /* Prevent file from shrinking. */ # define F_SEAL_GROW 0x0004 /* Prevent file from growing. */ # define F_SEAL_WRITE 0x0008 /* Prevent writes. */ +# define F_SEAL_FUTURE_WRITE 0x0010 /* Prevent future writes while + mapped. */ #endif #ifdef __USE_GNU