mbox series

[0/2] libsepol: Grow hashtab dynamically

Message ID 20200219134522.230822-1-omosnace@redhat.com (mailing list archive)
Headers show
Series libsepol: Grow hashtab dynamically | expand

Message

Ondrej Mosnacek Feb. 19, 2020, 1:45 p.m. UTC
The first patch is just a cleanup to have a single hashtab function that
can add elements, simplifying slightly the second patch, which
implements the actual auto-growing of hash tables.

Please see the log messages of the patches for more details.

Ondrej Mosnacek (2):
  libsepol,newrole: remove unused hashtab functions
  libsepol: grow hashtab dynamically

 libsepol/include/sepol/policydb/hashtab.h |  28 -----
 libsepol/src/hashtab.c                    | 127 +++++++---------------
 policycoreutils/newrole/hashtab.c         |  85 ---------------
 policycoreutils/newrole/hashtab.h         |  28 -----
 4 files changed, 42 insertions(+), 226 deletions(-)