Fixed use of policydb_from_image/to_image to ensure proper init of
policydb.
1) policydb_read no longer calls policydb_init. Caller must do so first.
2) policydb_init no longer takes policy_type argument. Caller must set
policy_type separately.
3) expand_module automatically enables the global branch. Caller no longer
needs to do so.
4) policydb_write uses the policy_type and policyvers from the policydb
itself, and sepol_set_policyvers() has been removed.
Fixed use of policydb_from_image/to_image to ensure proper init of
policydb.
1) policydb_read no longer calls policydb_init. Caller must do so first.
2) policydb_init no longer takes policy_type argument. Caller must set
policy_type separately.
3) expand_module automatically enables the global branch. Caller no longer
needs to do so.
4) policydb_write uses the policy_type and policyvers from the policydb
itself, and sepol_set_policyvers() has been removed.
Fixed use of policydb_from_image/to_image to ensure proper init of
policydb.
1) policydb_read no longer calls policydb_init. Caller must do so first.
2) policydb_init no longer takes policy_type argument. Caller must set
policy_type separately.
3) expand_module automatically enables the global branch. Caller no longer
needs to do so.
4) policydb_write uses the policy_type and policyvers from the policydb
itself, and sepol_set_policyvers() has been removed.
Fixed use of policydb_from_image/to_image to ensure proper init of
policydb.
1) policydb_read no longer calls policydb_init. Caller must do so first.
2) policydb_init no longer takes policy_type argument. Caller must set
policy_type separately.
3) expand_module automatically enables the global branch. Caller no longer
needs to do so.
4) policydb_write uses the policy_type and policyvers from the policydb
itself, and sepol_set_policyvers() has been removed.
Merged bug fix for check_assertions handling of no assertions from Joshua
Brindle (Tresys).
Tue Oct 4 2005 Dan Walsh <dwalsh@redhat.com> 1.9.10-1
- Upgrade to latest from NSA
Merged iterate patch from Ivan Gyurdiev.
Merged MLS in modules patch from Joshua Brindle (Tresys).
Merged fix for memory leak in sepol_context_to_sid from Jason Tang
(Tresys).
Merged fixes for resource leaks on error paths and change to scope_destroy
from Joshua Brindle (Tresys).
Fixed empty list test in cond_write_av_list. Bug found by Coverity,
reported by Serge Hallyn (IBM).
Merged patch to policydb_write to check errors when writing the
type->attribute reverse map from Serge Hallyn (IBM). Bug found by
Coverity.
Fixed policydb_destroy to properly handle NULL type_attr_map or
attr_type_map.
Fixed empty list test in cond_write_av_list. Bug found by Coverity,
reported by Serge Hallyn (IBM).
Merged patch to policydb_write to check errors when writing the
type->attribute reverse map from Serge Hallyn (IBM). Bug found by
Coverity.
Fixed policydb_destroy to properly handle NULL type_attr_map or
attr_type_map.
Enabled further compiler warning flags and fixed them.
Merged user, context, port records patch from Ivan Gyurdiev.
Merged key extract function patch from Ivan Gyurdiev.
Merged mls_context_to_sid bugfix from Ivan Gyurdiev.
Merged context reorganization, memory leak fixes, port and interface
loading, replacements for genusers and genbools, debug traceback, and
bugfix patches from Ivan Gyurdiev.
Merged uninitialized variable bugfix from Dan Walsh.