API compatibility report for the selinux library  between 2.4 and 2.5 versions on x86_64


Binary
Compatibility
Source
Compatibility

Test Info


Library Nameselinux
Version #12.4
Version #22.5
CPU Typex86_64
GCC Version5.3.1
SubjectBinary Compatibility

Test Results


Total Header Files75
Total Shared Libraries3
Total Symbols / Types699 / 291
VerdictIncompatible
(0.6%)

Problem Summary


SeverityCount
Added Symbols-16
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High4
Medium1
Low2
Problems with
Constants
Low1
Other Changes
in Constants
-23

Added Symbols (16)


cil.h, libsepol.so.1
cil_set_mls cil_db_t* db, int mls ) @@ LIBSEPOL_1.1
cil_set_policy_version cil_db_t* db, int policy_version ) @@ LIBSEPOL_1.1
cil_set_target_platform cil_db_t* db, int target_platform ) @@ LIBSEPOL_1.1

label.h, libselinux.so.1
selabel_cmp ( struct selabel_handle* h1, struct selabel_handle* h2 )
selabel_digest ( struct selabel_handle* rec, unsigned char** digest, size_t* digest_len, char*** specfiles, size_t* num_specfiles )
selabel_lookup_best_match ( struct selabel_handle* rec, char** con, char const* key, char const** aliases, int type )
selabel_lookup_best_match_raw ( struct selabel_handle* rec, char** con, char const* key, char const** aliases, int type )
selabel_partial_match ( struct selabel_handle* handle, char const* key )

module_to_cil.h, libsepol.so.1
sepol_module_package_to_cil FILE* fp, struct sepol_module_package* mod_pkg ) @@ LIBSEPOL_1.1
sepol_module_policydb_to_cil FILE* fp, struct policydb* pdb, int linked ) @@ LIBSEPOL_1.1
sepol_ppfile_to_module_package FILE* fp, struct sepol_module_package** mod_pkg ) @@ LIBSEPOL_1.1

modules.h, libsemanage.so.1
semanage_module_extract ( semanage_handle_t* sh, semanage_module_key_t* modkey, int extract_cil, void** mapped_data, size_t* data_len, semanage_module_info_t** modinfo ) @@ LIBSEMANAGE_1.1

restorecon.h, libselinux.so.1
selinux_restorecon ( char const* pathname, unsigned int restorecon_flags )
selinux_restorecon_default_handle ( )
selinux_restorecon_set_exclude_list char const** exclude_list )
selinux_restorecon_set_sehandle struct selabel_handle* hndl )

to the top

Problems with Symbols, High Severity (4)


cil.h, libsepol.so.1
[+] cil_build_policydb cil_db_t* db, sepol_policydb_t* sepol_db ) (1)
[+] cil_filecons_to_string cil_db_t* db, sepol_policydb_t* sepol_db, char** out, size_t* size ) (1)
[+] cil_selinuxusers_to_string cil_db_t* db, sepol_policydb_t* sepol_db, char** out, size_t* size ) (1)
[+] cil_userprefixes_to_string cil_db_t* db, sepol_policydb_t* sepol_db, char** out, size_t* size ) (1)

to the top

Problems with Symbols, Medium Severity (1)


cil.h, libsepol.so.1
[+] cil_compile cil_db_t* db, sepol_policydb_t* sepol_db ) (1)

to the top

Problems with Symbols, Low Severity (2)


cil.h, libsepol.so.1
[+] cil_build_policydb cil_db_t* db, sepol_policydb_t* sepol_db ) (1)

label.h, libselinux.so.1
[+] selabel_open ( unsigned int backend, struct selinux_opt* opts, unsigned int nopts ) (1)

to the top

Problems with Constants, Low Severity (1)


label.h
[+] SELABEL_NOPT

to the top

Other Changes in Constants (23)


avtab.h
[+] AVTAB_XPERMS_ALLOWED
[+] AVTAB_XPERMS_AUDITALLOW
[+] AVTAB_XPERMS_DONTAUDIT
[+] AVTAB_XPERMS_IOCTLDRIVER
[+] AVTAB_XPERMS_IOCTLFUNCTION
[+] AVTAB_XPERMS_NEVERALLOW

label.h
[+] SELABEL_OPT_DIGEST

policydb.h
[+] AVRULE_XPERMS_ALLOWED
[+] AVRULE_XPERMS_AUDITALLOW
[+] AVRULE_XPERMS_DONTAUDIT
[+] AVRULE_XPERMS_IOCTLDRIVER
[+] AVRULE_XPERMS_IOCTLFUNCTION
[+] AVRULE_XPERMS_NEVERALLOW
[+] EXTENDED_PERMS_LEN
[+] OCON_XEN_DEVICETREE

restorecon.h
[+] SELINUX_RESTORECON_IGNORE_DIGEST
[+] SELINUX_RESTORECON_NOCHANGE
[+] SELINUX_RESTORECON_PROGRESS
[+] SELINUX_RESTORECON_REALPATH
[+] SELINUX_RESTORECON_RECURSE
[+] SELINUX_RESTORECON_SET_SPECFILE_CTX
[+] SELINUX_RESTORECON_VERBOSE
[+] SELINUX_RESTORECON_XDEV

to the top

Header Files (75)


av_permissions.h
avc.h
avrule_block.h
avtab.h
booleans.h
booleans_active.h
booleans_local.h
booleans_policy.h
cil.h
conditional.h
constraint.h
ebitmap.h
errcodes.h
expand.h
fcontext_record.h
fcontexts_local.h
fcontexts_policy.h
flask_types.h
get_context_list.h
get_default_type.h
hashtab.h
hierarchy.h
interfaces.h
interfaces_local.h
interfaces_policy.h
label.h
link.h
mls_types.h
module.h
modules.h
nodes.h
nodes_local.h
nodes_policy.h
polcaps.h
policydb.h
module.h (policydb/module.h)
policydb.h (policydb/policydb.h)
ports.h
ports_local.h
ports_policy.h
roles.h
selinux.h
context.h (selinux/context.h)
flask.h (selinux/flask.h)
semanage.h
boolean_record.h (semanage/boolean_record.h)
context_record.h (semanage/context_record.h)
debug.h (semanage/debug.h)
handle.h (semanage/handle.h)
iface_record.h (semanage/iface_record.h)
node_record.h (semanage/node_record.h)
port_record.h (semanage/port_record.h)
user_record.h (semanage/user_record.h)
sepol.h
boolean_record.h (sepol/boolean_record.h)
context.h (sepol/context.h)
context_record.h (sepol/context_record.h)
debug.h (sepol/debug.h)
handle.h (sepol/handle.h)
iface_record.h (sepol/iface_record.h)
node_record.h (sepol/node_record.h)
context.h (sepol/policydb/context.h)
flask.h (sepol/policydb/flask.h)
port_record.h (sepol/port_record.h)
user_record.h (sepol/user_record.h)
services.h
seuser_record.h
seusers_local.h
seusers_policy.h
sidtab.h
symtab.h
users.h
users_local.h
users_policy.h
util.h

to the top

Shared Libraries (3)


libselinux.so.1
libsemanage.so.1
libsepol.so.1

to the top



Test Info


Library Nameselinux
Version #12.4
Version #22.5
CPU Typex86_64
GCC Version5.3.1
SubjectSource Compatibility

Test Results


Total Header Files75
Total Shared Libraries3
Total Symbols / Types720 / 311
VerdictIncompatible
(0.6%)

Problem Summary


SeverityCount
Added Symbols-16
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High3
Medium2
Low2
Problems with
Constants
Low2
Other Changes
in Constants
-27

Added Symbols (16)


cil.h
cil_set_mls cil_db_t* db, int mls )
cil_set_policy_version cil_db_t* db, int policy_version )
cil_set_target_platform cil_db_t* db, int target_platform )

label.h
selabel_cmp ( struct selabel_handle* h1, struct selabel_handle* h2 )
selabel_digest ( struct selabel_handle* rec, unsigned char** digest, size_t* digest_len, char*** specfiles, size_t* num_specfiles )
selabel_lookup_best_match ( struct selabel_handle* rec, char** con, char const* key, char const** aliases, int type )
selabel_lookup_best_match_raw ( struct selabel_handle* rec, char** con, char const* key, char const** aliases, int type )
selabel_partial_match ( struct selabel_handle* handle, char const* key )

module_to_cil.h
sepol_module_package_to_cil FILE* fp, struct sepol_module_package* mod_pkg )
sepol_module_policydb_to_cil FILE* fp, struct policydb* pdb, int linked )
sepol_ppfile_to_module_package FILE* fp, struct sepol_module_package** mod_pkg )

modules.h
semanage_module_extract ( semanage_handle_t* sh, semanage_module_key_t* modkey, int extract_cil, void** mapped_data, size_t* data_len, semanage_module_info_t** modinfo )

restorecon.h
selinux_restorecon ( char const* pathname, unsigned int restorecon_flags )
selinux_restorecon_default_handle ( )
selinux_restorecon_set_exclude_list char const** exclude_list )
selinux_restorecon_set_sehandle struct selabel_handle* hndl )

to the top

Problems with Symbols, High Severity (3)


cil.h
[+] cil_filecons_to_string cil_db_t* db, sepol_policydb_t* sepol_db, char** out, size_t* size ) (1)
[+] cil_selinuxusers_to_string cil_db_t* db, sepol_policydb_t* sepol_db, char** out, size_t* size ) (1)
[+] cil_userprefixes_to_string cil_db_t* db, sepol_policydb_t* sepol_db, char** out, size_t* size ) (1)

to the top

Problems with Symbols, Medium Severity (2)


cil.h
[+] cil_build_policydb cil_db_t* db, sepol_policydb_t* sepol_db ) (1)
[+] cil_compile cil_db_t* db, sepol_policydb_t* sepol_db ) (1)

to the top

Problems with Symbols, Low Severity (2)


cil.h
[+] cil_build_policydb cil_db_t* db, sepol_policydb_t* sepol_db ) (1)

label.h
[+] selabel_open ( unsigned int backend, struct selinux_opt* opts, unsigned int nopts ) (1)

to the top

Problems with Constants, Low Severity (2)


label.h
[+] SELABEL_NOPT

policydb.h
[+] POLICYDB_VERSION_MAX

to the top

Other Changes in Constants (27)


avtab.h
[+] AVTAB_XPERMS
[+] AVTAB_XPERMS_ALLOWED
[+] AVTAB_XPERMS_AUDITALLOW
[+] AVTAB_XPERMS_DONTAUDIT
[+] AVTAB_XPERMS_IOCTLDRIVER
[+] AVTAB_XPERMS_IOCTLFUNCTION
[+] AVTAB_XPERMS_NEVERALLOW

label.h
[+] SELABEL_OPT_DIGEST

policydb.h
[+] AVRULE_XPERMS
[+] AVRULE_XPERMS_ALLOWED
[+] AVRULE_XPERMS_AUDITALLOW
[+] AVRULE_XPERMS_DONTAUDIT
[+] AVRULE_XPERMS_IOCTLDRIVER
[+] AVRULE_XPERMS_IOCTLFUNCTION
[+] AVRULE_XPERMS_NEVERALLOW
[+] EXTENDED_PERMS_LEN
[+] OCON_XEN_DEVICETREE
[+] POLICYDB_VERSION_XEN_DEVICETREE
[+] POLICYDB_VERSION_XPERMS_IOCTL

restorecon.h
[+] SELINUX_RESTORECON_IGNORE_DIGEST
[+] SELINUX_RESTORECON_NOCHANGE
[+] SELINUX_RESTORECON_PROGRESS
[+] SELINUX_RESTORECON_REALPATH
[+] SELINUX_RESTORECON_RECURSE
[+] SELINUX_RESTORECON_SET_SPECFILE_CTX
[+] SELINUX_RESTORECON_VERBOSE
[+] SELINUX_RESTORECON_XDEV

to the top

Header Files (75)


av_permissions.h
avc.h
avrule_block.h
avtab.h
booleans.h
booleans_active.h
booleans_local.h
booleans_policy.h
cil.h
conditional.h
constraint.h
ebitmap.h
errcodes.h
expand.h
fcontext_record.h
fcontexts_local.h
fcontexts_policy.h
flask_types.h
get_context_list.h
get_default_type.h
hashtab.h
hierarchy.h
interfaces.h
interfaces_local.h
interfaces_policy.h
label.h
link.h
mls_types.h
module.h
modules.h
nodes.h
nodes_local.h
nodes_policy.h
polcaps.h
policydb.h
module.h (policydb/module.h)
policydb.h (policydb/policydb.h)
ports.h
ports_local.h
ports_policy.h
roles.h
selinux.h
context.h (selinux/context.h)
flask.h (selinux/flask.h)
semanage.h
boolean_record.h (semanage/boolean_record.h)
context_record.h (semanage/context_record.h)
debug.h (semanage/debug.h)
handle.h (semanage/handle.h)
iface_record.h (semanage/iface_record.h)
node_record.h (semanage/node_record.h)
port_record.h (semanage/port_record.h)
user_record.h (semanage/user_record.h)
sepol.h
boolean_record.h (sepol/boolean_record.h)
context.h (sepol/context.h)
context_record.h (sepol/context_record.h)
debug.h (sepol/debug.h)
handle.h (sepol/handle.h)
iface_record.h (sepol/iface_record.h)
node_record.h (sepol/node_record.h)
context.h (sepol/policydb/context.h)
flask.h (sepol/policydb/flask.h)
port_record.h (sepol/port_record.h)
user_record.h (sepol/user_record.h)
services.h
seuser_record.h
seusers_local.h
seusers_policy.h
sidtab.h
symtab.h
users.h
users_local.h
users_policy.h
util.h

to the top

Shared Libraries (3)


libselinux.so.1
libsemanage.so.1
libsepol.so.1

to the top



Generated on Sat Feb 20 15:58:14 2016 for selinux by ABI Compliance Checker 1.98.8  
A tool for checking backward compatibility of a C/C++ library API