diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2015-06-30 13:50:51 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-07-03 15:16:44 +0200 |
commit | ebf6735dd4f71bf3dc9105e5d04d11e744c64a59 (patch) | |
tree | 57eea70a590336d2f004d7e5c108828954d09716 /src/util/mmap_cache.h | |
parent | 323943605c88838f1f86a72f891eb28600bb34e2 (diff) | |
download | sssd-ebf6735dd4f71bf3dc9105e5d04d11e744c64a59.tar.gz sssd-ebf6735dd4f71bf3dc9105e5d04d11e744c64a59.tar.xz sssd-ebf6735dd4f71bf3dc9105e5d04d11e744c64a59.zip |
nss: Store entries in responder to initgr mmap cache
Resolves:
https://fedorahosted.org/sssd/ticket/2485
Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/util/mmap_cache.h')
-rw-r--r-- | src/util/mmap_cache.h | 8 |
1 files changed, 8 insertions, 0 deletions
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() |