Re: [PATCH] ident authentication fails on kFreeBSD/x86-64 due to wrong struct size
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] ident authentication fails on kFreeBSD/x86-64 due to wrong struct size |
| Дата | |
| Msg-id | 24047.1306692513@sss.pgh.pa.us обсуждение |
| Ответ на | [PATCH] ident authentication fails on kFreeBSD/x86-64 due to wrong struct size (Martin Pitt <mpitt@debian.org>) |
| Ответы |
Re: [PATCH] ident authentication fails on kFreeBSD/x86-64 due to wrong struct size
|
| Список | pgsql-bugs |
Martin Pitt <mpitt@debian.org> writes:
> /* Compute size without padding */
> - char cmsgmem[ALIGN(sizeof(struct cmsghdr)) + ALIGN(sizeof(Cred))]; /* for NetBSD */
> + char cmsgmem[ALIGN(sizeof(struct cmsghdr)) + sizeof(Cred)]; /* for NetBSD */
Hm. That code's been like that for a very long time (since 2001
according to the git history...). How much confidence can we have
that this change won't result in breakage on other flavors of *BSD?
(I'm unable to test this myself, not having any platforms on which
this branch of auth_peer gets compiled...)
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера