Call getgroups() to know size of supplementary groups array to allocate
authorRenaud Métrich <rmetrich@redhat.com>
Fri, 13 Sep 2019 09:18:18 +0000 (11:18 +0200)
committerMichael Biebl <biebl@debian.org>
Fri, 15 Nov 2019 21:01:17 +0000 (21:01 +0000)
commitac78383c7c4b61b7f6623731c8c2cf7fdc50b5c1
tree6fa83eb49fd9d892914fc5b6f59baeb5bf2206af
parentbe492d6765b18a2b80e3c8dae515e304b6d11e14
Call getgroups() to know size of supplementary groups array to allocate

Resolves RHBZ #1743230 - journalctl dumps core when stack limit is reduced to 256 KB

(cherry picked from commit f5e0b942af1e86993c21f4e5c84342bb10403dac)
(cherry picked from commit 8ca1e561657575a619a071ab0c22f474094ef21d)

Gbp-Pq: Name Call-getgroups-to-know-size-of-supplementary-groups-array.patch
src/basic/user-util.c