From ebf6735dd4f71bf3dc9105e5d04d11e744c64a59 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Tue, 30 Jun 2015 13:50:51 +0200 Subject: nss: Store entries in responder to initgr mmap cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: https://fedorahosted.org/sssd/ticket/2485 Reviewed-by: Michal Židek --- src/util/mmap_cache.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/util') diff --git a/src/util/mmap_cache.h b/src/util/mmap_cache.h index 81269fe7e..438e28a3d 100644 --- a/src/util/mmap_cache.h +++ b/src/util/mmap_cache.h @@ -136,6 +136,14 @@ struct sss_mc_grp_data { * string is zero terminated ordered as follows: * name, passwd, member1, member2, ... */ }; + +struct sss_mc_initgr_data { + rel_ptr_t name; /* ptr to name string, rel. to struct base addr */ + uint32_t members; /* number of members in groups */ + uint32_t gids[0]; /* array of all groups + * string with name is stored after gids */ +}; + #pragma pack() -- cgit