Re: Safeguards against incorrect fd flags for fsync()

Поиск
Список
Период
Сортировка
От Michael Banck
Тема Re: Safeguards against incorrect fd flags for fsync()
Дата
Msg-id 68489f0b.050a0220.21ce72.f4b3@mx.google.com
обсуждение исходный текст
Ответ на Safeguards against incorrect fd flags for fsync()  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi,

one more thing:

On Tue, Jun 10, 2025 at 12:26:48PM +0200, Michael Banck wrote:
> The better way might be to mask the flags with O_ACCMODE and then just
> check what you want, like in the attached.

I forgot to mention it in the patch, but Samuel Thibault reviewed the
patch and suggested improvements to the point where he should probably
be credited as co-author but at least as reviewer should this be
accepted.


Michael



В списке pgsql-hackers по дате отправления: