On Fri, Oct 11, 2019 at 9:07 AM Petr Lautrbach <plautrba@xxxxxxxxxx> wrote: > There's a typo in commit b8213acff837101 ("libsepol: add a function to optimize > kernel policy") which added new function sepol_policydb_optimize(), but there's > sepol_optimize_policy in libsepol.map. > > LIBSEPOL_3.0 is used to follow the next release version libsepol-3.0 > > Signed-off-by: Petr Lautrbach <plautrba@xxxxxxxxxx> Acked-by: Ondrej Mosnacek <omosnace@xxxxxxxxxx> Thanks for spotting it! > --- > libsepol/src/libsepol.map.in | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libsepol/src/libsepol.map.in b/libsepol/src/libsepol.map.in > index 6358e51f..f4946a79 100644 > --- a/libsepol/src/libsepol.map.in > +++ b/libsepol/src/libsepol.map.in > @@ -60,7 +60,7 @@ LIBSEPOL_1.1 { > sepol_polcap_getname; > } LIBSEPOL_1.0; > > -LIBSEPOL_1.2 { > +LIBSEPOL_3.0 { > global: > - sepol_optimize_policy; > + sepol_policydb_optimize; > } LIBSEPOL_1.1; > -- > 2.23.0 > -- Ondrej Mosnacek <omosnace at redhat dot com> Software Engineer, Security Technologies Red Hat, Inc.