[PATCH AUTOSEL 6.4 02/16] coredump: require O_WRONLY instead of O_RDWR