libsepol: Use LIBSEPOL_3.0 and fix sepol_policydb_optimize symbol mapping

There's a typo in commit b8213acff8 ("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@redhat.com>
Acked-by: Ondrej Mosnacek <omosnace@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Petr Lautrbach 2019-10-11 09:07:17 +02:00 committed by Stephen Smalley
parent 510a679b47
commit e0e66c25e2
1 changed files with 2 additions and 2 deletions

View File

@ -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;