12.5-rc1 2016-01-07 2 * Validate extended avrules and permissionxs in CIL, from Steve Lawrence. 3 * Add support in CIL for neverallowx, from Steve Lawrence. 4 * Fully expand neverallowxperm rules, from Richard Haines. 5 * Add support for unordered classes to CIL, from Yuli Khodorkovskiy. 6 * Add neverallow support for ioctl extended permissions, from Jeff Vander Stoep. 7 * Improve CIL block and macro call recursion detection, from Steve Lawrence 8 * Fix CIL uninitialized false positive in cil_binary, from Yuli Khodorkovskiy 9 * Provide error in CIL if classperms are empty, from Yuli Khodorkovskiy 10 * Add userattribute{set} functionality to CIL, from Yuli Khodorkovskiy 11 * fix CIL blockinherit copying segfault and add macro restrictions, from Steve Lawrence 12 * fix CIL NULL pointer dereference when copying classpermission/set, from Steve Lawrence 13 * Add CIL support for ioctl whitelists, from Steve Lawrence 14 * Fix memory leak when destroying avtab, from Steve Lawrence 15 * Replace sscanf in module_to_cil, from Yuli Khodorkovskiy. 16 * Improve CIL resolution error messages, from Steve Lawrence 17 * Fix policydb_read for policy versions < 24, from Stephen Smalley. 18 * Added CIL bounds checking and refactored CIL Neverallow checking, from James Carter 19 * Refactored libsepol Neverallow and bounds (hierarchy) checking, from James Carter 20 * Treat types like an attribute in the attr_type_map, from James Carter 21 * Add new ebitmap function named ebitmap_match_any(), from James Carter 22 * switch operations to extended perms, from Jeff Vander Stoep. 23 * Write auditadm_r and secadm_r roles to base module when writing CIL, from Steve Lawrence 24 * Fix module to CIL to only associate declared roleattributes with in-scope types, from Steve Lawrence 25 * Don't allow categories/sensitivities inside blocks in CIL, from Yuli Khodorkovskiy. 26 * Replace fmemopen() with internal function in libsepol, from James Carter. 27 * Verify users prior to evaluating users in cil, from Yuli Khodorkovskiy. 28 * Binary modules do not support ioctl rules, from Stephen Smalley. 29 * Add support for ioctl command whitelisting, from Jeff Vander Stoep. 30 * Don't use symbol versioning for static object files, from Yuli Khodorkovskiy. 31 * Add sepol_module_policydb_to_cil(), sepol_module_package_to_cil(), and sepol_ppfile_to_module_package(), from James Carter. 32 * Move secilc out of libsepol, from Yuli Khodorkovskiy. 33 * fix building Xen policy with devicetreecon, and add devicetreecon 34 CIL documentation, from Richard Haines. 35 * bool_copy_callback set state on creation, from Thomas Hurd. 36 * Add device tree ocontext nodes to Xen policy, from Daniel De Graaf. 37 * Widen Xen IOMEM context entries, from Daniel De Graaf. 38 * Update CIL documentation, from Richard Haines 39 * Fix error path in mls_semantic_level_expand(), from Chris PeBenito. 40 * Fix MacOS X build, from Stephen Smalley. 41 * Enabling building CIL in Android, from Stephen Smalley. 42 * Update to latest CIL, includes new name resolution and fixes ordering 43 issues with blockinherit statements, and bug fixes 44 452.4 2015-02-02 46 * Remove assumption that SHLIBDIR is ../../ relative to LIBDIR, from Steve 47 Lawrence 48 * Fix bugs found by hardened gcc flags, from Nicolas Iooss. 49 * Build CIL into libsepol. libsepol can be built without CIL by setting the 50 DISABLE_CIL flag to 'y', from Steve Lawrence 51 * Add an API function to set target_platform, from Steve Lawrence 52 * Report all neverallow violations, from Stephen Smalley 53 * Improve check_assertions performance through hash tweaks from John Brooks. 54 * Allow libsepol C++ static library on device from Daniel Cashman. 55 562.3 2014-05-06 57 * Improve error message for name-based transition conflicts. 58 * Revert libsepol: filename_trans: use some better sorting to compare and merge. 59 * Report source file and line information for neverallow failures. 60 * Fix valgrind errors in constraint_expr_eval_reason from Richard Haines. 61 * Add sepol_validate_transition_reason_buffer function from Richard Haines. 62 632.2 2013-10-30 64 * Allow constraint denial cause to be determined from Richard Haines. 65 - Add kernel policy version 29. 66 - Add modular policy version 17. 67 - Add sepol_compute_av_reason_buffer(), sepol_string_to_security_class(), sepol_string_to_av_perm(). 68 * Support overriding Makefile RANLIB from Sven Vermeulen. 69 * Fix man pages from Laurent Bigonville. 70 712.1.9 2013-02-01 72 * filename_trans: use some better sorting to compare and merge 73 * coverity fixes 74 * implement default type policy syntax 75 * Fix memory leak issues found by Klocwork 76 772.1.8 2012-09-13 78 * fix neverallow checking on attributes 79 * Move context_copy() after switch block in ocontext_copy_*(). 80 * check for missing initial SID labeling statement. 81 * Add always_check_network policy capability 82 * role_fix_callback skips out-of-scope roles during expansion. 83 842.1.7 2012-06-28 85 * reserve policycapability for redhat testing of ptrace child 86 * cosmetic changes to make the source easier to read 87 * prepend instead of append to filename_trans list 88 * Android/MacOS X build support 89 902.1.6 2012-04-23 91 * allocate enough space to hold filename in trans rules 92 932.1.5 2012-03-28 94 * checkpolicy: implement new default labeling behaviors 95 962.1.4 2011-10-03 97 * regenerate .pc on VERSION change 98 * Move ebitmap_* functions from mcstrans to libsepol 99 * expand: do filename_trans type comparison on mapped representation 100 1012.1.3 2011-09-15 102 * Skip writing role attributes for policy.X and 103 * Indicate when boolean is indeed a tunable. 104 * Separate tunable from boolean during compile. 105 * Write and read TUNABLE flags in related 106 * Copy and check the cond_bool_datum_t.flags during link. 107 * Permanently discard disabled branches of tunables in 108 * Skip tunable identifier and cond_node_t in expansion. 109 * Create a new preserve_tunables flag 110 * Preserve tunables when required by semodule program. 111 * setools expects expand_module_avrules to be an exported 112 * tree: default make target to all not 113 1142.1.2 2011-08-03 115 * Only call role_fix_callback for base.p_roles during expansion. 116 * use mapped role number instead of module role number 117 1182.1.1 2011-08-01 119 * Minor fix to reading policy with filename transition rules 120 1212.1.0 2011-07-27 122 * Release, minor version bump 123 1242.0.46 2011-07-25 125 * Add role attribute support by Harry Ciao 126 1272.0.45 2011-05-02 128 * Warn if filename_trans rules are dropped by Steve Lawrence. 129 1302.0.44 2011-04-13 131 * Fixes for new role_transition class field by Eric Paris. 132 * Add libsepol support for filename_trans rules by Eric Paris. 133 1342.0.43 2011-04-11 135 * Add new class field in role_transition by Harry Ciao. 136 1372.0.42 2010-12-16 138 * Fix compliation under GCC 4.6 by Justin Mattock 139 1402.0.41 2009-11-18 141 * Fixed typo in error message from Manoj Srivastava. 142 1432.0.40 2009-10-29 144 * Add pkgconfig file from Eamon Walsh. 145 1462.0.39 2009-10-14 147 * Add support for building Xen policies from Paul Nuzzi. 148 1492.0.38 2009-09-01 150 * Check last offset in the module package against the file size. 151 Reported by Manoj Srivastava for bug filed by Max Kellermann. 152 1532.0.37 2009-07-07 154 * Add method to check disable dontaudit flag from Christopher Pardy. 155 1562.0.36 2009-03-25 157 * Fix boolean state smashing from Joshua Brindle. 158 1592.0.35 2009-02-19 160 * Fix alias field in module format, caused by boundary format change 161 from Caleb Case. 162 1632.0.34 2008-10-09 164 * Add bounds support from KaiGai Kohei. 165 * Fix invalid aliases bug from Joshua Brindle. 166 1672.0.33 2008-09-29 168 * Revert patch that removed expand_rule. 169 1702.0.32 2008-07-07 171 * Allow require then declare in the source policy from Joshua Brindle. 172 1732.0.31 2008-06-13 174 * Fix mls_semantic_level_expand() to handle a user require w/o MLS information from Stephen Smalley. 175 1762.0.30 2008-06-06 177 * Fix endianness bug in the handling of network node addresses from Stephen Smalley. 178 Only affects big endian platforms. 179 Bug reported by John Weeks of Sun upon policy mismatch between x86 and sparc. 180 1812.0.29 2008-05-27 182 * Merge user and role mapping support from Joshua Brindle. 183 1842.0.28 2008-05-05 185 * Fix mls_level_convert() to gracefully handle an empty user declaration/require from Stephen Smalley. 186 1872.0.27 2008-04-18 188 * Belatedly merge test for policy downgrade from Todd Miller. 189 1902.0.26 2008-03-24 191 * Add permissive domain support from Eric Paris. 192 1932.0.25 2008-03-04 194 * Drop unused ->buffer field from struct policy_file. 195 1962.0.24 2008-03-04 197 * Add policy_file_init() initalizer for struct policy_file and use it, from Todd C. Miller. 198 1992.0.23 2008-02-28 200 * Accept "Flask" as an alternate identifier string in kernel policies from Stephen Smalley. 201 2022.0.22 2008-02-28 203 * Add support for open_perms policy capability from Eric Paris. 204 2052.0.21 2008-02-20 206 * Fix invalid memory allocation in policydb_index_others() from Jason Tang. 207 2082.0.20 2008-02-04 209 * Port of Yuichi Nakamura's tune avtab to reduce memory usage patch from the kernel avtab to libsepol from Stephen Smalley. 210 2112.0.19 2008-02-02 212 * Add support for consuming avrule_blocks during expansion to reduce 213 peak memory usage from Joshua Brindle. 214 2152.0.18 2008-01-02 216 * Added support for policy capabilities from Todd Miller. 217 2182.0.17 2007-12-21 219 * Prevent generation of policy.18 with MLS enabled from Todd Miller. 220 2212.0.16 2007-12-07 222 * print module magic number in hex on mismatch, from Todd Miller. 223 2242.0.15 2007-11-29 225 * clarify and reduce neverallow error reporting from Stephen Smalley. 226 2272.0.14 2007-11-05 228 * Reject self aliasing at link time from Stephen Smalley. 229 2302.0.13 2007-11-05 231 * Allow handle_unknown in base to be overridden by semanage.conf from Stephen Smalley. 232 2332.0.12 2007-10-11 234 * Fixed bug in require checking from Stephen Smalley. 235 * Added user hierarchy checking from Todd Miller. 236 2372.0.11 2007-09-24 238 * Pass CFLAGS to CC even on link command, per Dennis Gilmore. 239 2402.0.10 2007-09-18 241 * Merged support for the handle_unknown policydb flag from Eric Paris. 242 2432.0.9 2007-08-29 244 * Moved next_entry and put_entry out-of-line to reduce code size from Ulrich Drepper. 245 2462.0.8 2007-08-28 247 * Fixed module_package_read_offsets bug introduced by the prior patch. 248 2492.0.7 2007-08-23 250 * Eliminate unaligned accesses from policy reading code from Stephen Smalley. 251 2522.0.6 2007-08-16 253 * Allow dontaudits to be turned off during policy expansion from 254 Joshua Brindle. 255 2562.0.5 2007-08-01 257 * Fix sepol_context_clone to handle a NULL context correctly. 258 This happens for e.g. semanage_fcontext_set_con(sh, fcontext, NULL) 259 to set the file context entry to "<<none>>". 260 2612.0.4 2007-06-20 262 * Merged error handling patch from Eamon Walsh. 263 2642.0.3 2007-04-13 265 * Merged add boolmap argument to expand_module_avrules() from Chris PeBenito. 266 2672.0.2 2007-03-30 268 * Merged fix from Karl to remap booleans at expand time to 269 avoid holes in the symbol table. 270 2712.0.1 2007-02-06 272 * Merged libsepol segfault fix from Stephen Smalley for when 273 sensitivities are required but not present in the base. 274 2752.0.0 2007-02-01 276 * Merged patch to add errcodes.h to libsepol by Karl MacMillan. 277 2781.16.0 2007-01-18 279 * Updated version for stable branch. 280 2811.15.3 2006-11-27 282 * Merged patch to compile wit -fPIC instead of -fpic from 283 Manoj Srivastava to prevent hitting the global offest table 284 limit. Patch changed to include libselinux and libsemanage in 285 addition to libselinux. 2861.15.2 2006-10-31 287 * Merged fix from Karl MacMillan for a segfault when linking 288 non-MLS modules with users in them. 289 2901.15.1 2006-10-24 291 * Merged fix for version comparison that was preventing range 292 transition rules from being written for a version 5 base policy 293 from Darrel Goeddel. 294 2951.14 2006-10-17 296 * Updated version for release. 297 2981.12.28 2006-09-28 299 * Build libsepol's static object files with -fpic 300 3011.12.27 2006-09-28 302 * Merged mls user and range_transition support in modules 303 from Darrel Goeddel 304 3051.12.26 2006-09-05 306 * Merged range transition enhancements and user format changes 307 Darrel Goeddel 308 3091.12.25 2006-08-24 310 * Merged conditionally expand neverallows patch from Jeremy Mowery. 311 * Merged refactor expander patch from Jeremy Mowery. 312 3131.12.24 2006-08-03 314 * Merged libsepol unit tests from Joshua Brindle. 315 3161.12.23 2006-08-03 317 * Merged symtab datum patch from Karl MacMillan. 318 3191.12.22 2006-08-03 320 * Merged netfilter contexts support from Chris PeBenito. 321 3221.12.21 2006-07-28 323 * Merged helpful hierarchy check errors patch from Joshua Brindle. 324 3251.12.20 2006-07-25 326 * Merged semodule_deps patch from Karl MacMillan. 327 This adds source module names to the avrule decls. 328 3291.12.19 2006-06-29 330 * Lindent. 331 3321.12.18 2006-06-26 333 * Merged optionals in base take 2 patch set from Joshua Brindle. 334 3351.12.17 2006-05-30 336 * Revert 1.12.16. 337 3381.12.16 2006-05-30 339 * Merged cleaner fix for bool_ids overflow from Karl MacMillan, 340 replacing the prior patch. 341 3421.12.15 2006-05-30 343 * Merged fixes for several memory leaks in the error paths during 344 policy read from Serge Hallyn. 345 3461.12.14 2006-05-25 347 * Fixed bool_ids overflow bug in cond_node_find and cond_copy_list, 348 based on bug report and suggested fix by Cedric Roux. 349 3501.12.13 2006-05-24 351 * Merged sens_copy_callback, check_role_hierarchy_callback, 352 and node_from_record fixes from Serge Hallyn. 353 3541.12.12 2006-05-22 355 * Added sepol_policydb_compat_net() interface for testing whether 356 a policy requires the compatibility support for network checks 357 to be enabled in the kernel. 358 3591.12.11 2006-05-17 360 * Merged patch to initialize sym_val_to_name arrays from Kevin Carr. 361 Reworked to use calloc in the first place, and converted some other 362 malloc/memset pairs to calloc calls. 363 3641.12.10 2006-05-08 365 * Merged patch to revert role/user decl upgrade from Karl MacMillan. 366 3671.12.9 2006-05-08 368 * Dropped tests from all Makefile target. 369 3701.12.8 2006-05-05 371 * Merged fix warnings patch from Karl MacMillan. 372 3731.12.7 2006-05-05 374 * Merged libsepol test framework patch from Karl MacMillan. 375 3761.12.6 2006-04-28 377 * Fixed cond_normalize to traverse the entire cond list at link time. 378 3791.12.5 2006-04-03 380 * Merged fix for leak of optional package sections from Ivan Gyurdiev. 381 3821.12.4 2006-03-29 383 * Generalize test for bitmap overflow in ebitmap_set_bit. 384 3851.12.3 2006-03-27 386 * Fixed attr_convert_callback and expand_convert_type_set 387 typemap bug. 388 3891.12.2 2006-03-24 390 * Fixed avrule_block_write num_decls endian bug. 391 3921.12.1 2006-03-20 393 * Fixed sepol_module_package_write buffer overflow bug. 394 3951.12 2006-03-14 396 * Updated version for release. 397 3981.11.20 2006-03-08 399 * Merged cond_evaluate_expr fix from Serge Hallyn (IBM). 400 * Fixed bug in copy_avrule_list reported by Ivan Gyurdiev. 401 4021.11.19 2006-02-21 403 * Merged sepol_policydb_mls_enabled interface and error handling 404 changes from Ivan Gyurdiev. 405 4061.11.18 2006-02-16 407 * Merged node_expand_addr bugfix and node_compare* change from 408 Ivan Gyurdiev. 409 4101.11.17 2006-02-15 411 * Merged nodes, ports: always prepend patch from Ivan Gyurdiev. 412 * Merged bug fix patch from Ivan Gyurdiev. 413 4141.11.16 2006-02-14 415 * Added a defined flag to level_datum_t for use by checkpolicy. 416 4171.11.15 2006-02-14 418 * Merged nodecon support patch from Ivan Gyurdiev. 419 * Merged cleanups patch from Ivan Gyurdiev. 420 4211.11.14 2006-02-13 422 * Merged optionals in base patch from Joshua Brindle. 423 4241.11.13 2006-02-07 425 * Merged seuser/user_extra support patch from Joshua Brindle. 426 * Merged fix patch from Ivan Gyurdiev. 427 4281.11.12 2006-02-02 429 * Merged clone record on set_con patch from Ivan Gyurdiev. 430 4311.11.11 2006-02-01 432 * Merged assertion copying bugfix from Joshua Brindle. 433 * Merged sepol_av_to_string patch from Joshua Brindle. 434 4351.11.10 2006-01-30 436 * Merged cond_expr mapping and package section count bug fixes 437 from Joshua Brindle. 438 * Merged improve port/fcontext API patch from Ivan Gyurdiev. 439 * Merged fixes for overflow bugs on 64-bit from Ivan Gyurdiev. 440 4411.11.9 2006-01-12 442 * Merged size_t -> unsigned int patch from Ivan Gyurdiev. 443 4441.11.8 2006-01-09 445 * Merged 2nd const in APIs patch from Ivan Gyurdiev. 446 4471.11.7 2006-01-06 448 * Merged const in APIs patch from Ivan Gyurdiev. 449 * Merged compare2 function patch from Ivan Gyurdiev. 450 4511.11.6 2006-01-06 452 * Fixed hierarchy checker to only check allow rules. 453 4541.11.5 2006-01-05 455 * Merged further fixes from Russell Coker, specifically: 456 - av_to_string overflow checking 457 - sepol_context_to_string error handling 458 - hierarchy checking memory leak fixes and optimizations 459 - avrule_block_read variable initialization 460 * Marked deprecated code in genbools and genusers. 461 4621.11.4 2006-01-05 463 * Merged bugfix for sepol_port_modify from Russell Coker. 464 4651.11.3 2006-01-05 466 * Fixed bug in sepol_iface_modify error path noted by Ivan Gyurdiev. 467 * Merged port ordering patch from Ivan Gyurdiev. 468 4691.11.2 2006-01-04 470 * Merged patch series from Ivan Gyurdiev. 471 This includes patches to: 472 - support ordering of records in compare function 473 - enable port interfaces 474 - add interfaces for context validity and range checks 475 - add include guards 476 4771.11.1 2005-12-16 478 * Fixed mls_range_cpy bug. 479 4801.10 2005-12-07 481 * Updated version for release. 482 4831.9.42 2005-12-05 484 * Dropped handle from user_del_role interface. 485 4861.9.41 2005-11-28 487 * Merged remove defrole from sepol patch from Ivan Gyurdiev. 488 4891.9.40 2005-11-15 490 * Merged module function and map file cleanup from Ivan Gyurdiev. 491 * Merged MLS and genusers cleanups from Ivan Gyurdiev. 492 4931.9.39 2005-11-09 494 Prepare for removal of booleans* and *.users files. 495 * Cleaned up sepol_genbools to not regenerate the image if 496 there were no changes in the boolean values, including the 497 degenerate case where there are no booleans or booleans.local 498 files. 499 * Cleaned up sepol_genusers to not warn on missing local.users. 500 5011.9.38 2005-11-08 502 * Removed sepol_port_* from libsepol.map, as the port interfaces 503 are not yet stable. 504 5051.9.37 2005-11-04 506 * Merged context destroy cleanup patch from Ivan Gyurdiev. 507 5081.9.36 2005-11-03 509 * Merged context_to_string interface change patch from Ivan Gyurdiev. 510 5111.9.35 2005-11-01 512 * Added src/dso.h and src/*_internal.h. 513 Added hidden_def for exported symbols used within libsepol. 514 Added hidden for symbols that should not be exported by 515 the wildcards in libsepol.map. 516 5171.9.34 2005-10-31 518 * Merged record interface, record bugfix, and set_roles patches 519 from Ivan Gyurdiev. 520 5211.9.33 2005-10-27 522 * Merged count specification change from Ivan Gyurdiev. 523 5241.9.32 2005-10-26 525 * Added further checking and error reporting to 526 sepol_module_package_read and _info. 527 5281.9.31 2005-10-26 529 * Merged sepol handle passing, DEBUG conversion, and memory leak 530 fix patches from Ivan Gyurdiev. 531 5321.9.30 2005-10-25 533 * Removed processing of system.users from sepol_genusers and 534 dropped delusers logic. 535 5361.9.29 2005-10-25 537 * Removed policydb_destroy from error path of policydb_read, 538 since create/init/destroy/free of policydb is handled by the 539 caller now. 540 * Fixed sepol_module_package_read to handle a failed policydb_read 541 properly. 542 5431.9.28 2005-10-25 544 * Merged query/exists and count patches from Ivan Gyurdiev. 545 5461.9.27 2005-10-25 547 * Merged fix for pruned types in expand code from Joshua Brindle. 548 * Merged new module package format code from Joshua Brindle. 549 5501.9.26 2005-10-24 551 * Merged context interface cleanup, record conversion code, 552 key passing, and bug fix patches from Ivan Gyurdiev. 553 5541.9.25 2005-10-21 555 * Merged users cleanup patch from Ivan Gyurdiev. 556 5571.9.24 2005-10-21 558 * Merged user record memory leak fix from Ivan Gyurdiev. 559 * Merged reorganize users patch from Ivan Gyurdiev. 560 5611.9.23 2005-10-19 562 * Added check flag to expand_module() to control assertion 563 and hierarchy checking on expansion. 564 5651.9.22 2005-10-19 566 * Reworked check_assertions() and hierarchy_check_constraints() 567 to take handles and use callback-based error reporting. 568 * Changed expand_module() to call check_assertions() and 569 hierarchy_check_constraints() prior to returning the expanded 570 policy. 571 5721.9.21 2005-10-18 573 * Changed sepol_module_package_set_file_contexts to copy the 574 file contexts data since it is internally managed. 575 5761.9.20 2005-10-18 577 * Added sepol_policy_file_set_handle interface to associate 578 a handle with a policy file. 579 * Added handle argument to policydb_from_image/to_image. 580 * Added sepol_module_package_set_file_contexts interface. 581 * Dropped sepol_module_package_create_file interface. 582 * Reworked policydb_read/write, policydb_from_image/to_image, 583 and sepol_module_package_read/write to use callback-based error 584 reporting system rather than DEBUG. 585 5861.9.19 2005-10-17 587 * Reworked link_packages, link_modules, and expand_module to use 588 callback-based error reporting system rather than error buffering. 589 5901.9.18 2005-10-14 591 * Merged conditional expression mapping fix in the module linking 592 code from Joshua Brindle. 593 5941.9.17 2005-10-13 595 * Hid sepol_module_package type definition, and added get interfaces. 596 5971.9.16 2005-10-13 598 * Merged new callback-based error reporting system from Ivan 599 Gyurdiev. 600 6011.9.15 2005-10-13 602 * Merged support for require blocks inside conditionals from 603 Joshua Brindle (Tresys). 604 6051.9.14 2005-10-07 606 * Fixed use of policydb_from_image/to_image to ensure proper 607 init of policydb. 608 6091.9.13 2005-10-07 610 * Isolated policydb internal headers under <sepol/policydb/*.h>. 611 These headers should only be used by users of the static libsepol. 612 Created new <sepol/policydb.h> with new public types and interfaces 613 for shared libsepol. 614 Created new <sepol/module.h> with public types and interfaces moved 615 or wrapped from old module.h, link.h, and expand.h, adjusted for 616 new public types for policydb and policy_file. 617 Added public interfaces to libsepol.map. 618 Some implementation changes visible to users of the static libsepol: 619 1) policydb_read no longer calls policydb_init. 620 Caller must do so first. 621 2) policydb_init no longer takes policy_type argument. 622 Caller must set policy_type separately. 623 3) expand_module automatically enables the global branch. 624 Caller no longer needs to do so. 625 4) policydb_write uses the policy_type and policyvers from the 626 policydb itself, and sepol_set_policyvers() has been removed. 627 6281.9.12 2005-10-06 629 * Merged function renaming and static cleanup from Ivan Gyurdiev. 630 6311.9.11 2005-10-05 632 * Merged bug fix for check_assertions handling of no assertions 633 from Joshua Brindle (Tresys). 634 6351.9.10 2005-10-04 636 * Merged iterate patch from Ivan Gyurdiev. 637 6381.9.9 2005-10-03 639 * Merged MLS in modules patch from Joshua Brindle (Tresys). 640 6411.9.8 2005-09-30 642 * Merged pointer typedef elimination patch from Ivan Gyurdiev. 643 * Merged user list function, new mls functions, and bugfix patch 644 from Ivan Gyurdiev. 645 6461.9.7 2005-09-28 647 * Merged sepol_get_num_roles fix from Karl MacMillan (Tresys). 648 6491.9.6 2005-09-23 650 * Merged bug fix patches from Joshua Brindle (Tresys). 651 6521.9.5 2005-09-21 653 * Merged boolean record and memory leak fix patches from Ivan 654 Gyurdiev. 655 6561.9.4 2005-09-19 657 * Merged interface record patch from Ivan Gyurdiev. 658 6591.9.3 2005-09-14 660 * Merged fix for sepol_enable/disable_debug from Ivan 661 Gyurdiev. 662 6631.9.2 2005-09-14 664 * Merged stddef.h patch and debug conversion patch from 665 Ivan Gyurdiev. 666 6671.9.1 2005-09-09 668 * Fixed expand_avtab and expand_cond_av_list to keep separate 669 entries with identical keys but different enabled flags. 670 6711.8 2005-09-06 672 * Updated version for release. 673 6741.7.24 2005-08-31 675 * Fixed symtab_insert return value for duplicate declarations. 676 6771.7.23 2005-08-31 678 * Merged fix for memory error in policy_module_destroy from 679 Jason Tang (Tresys). 680 6811.7.22 2005-08-26 682 * Merged fix for memory leak in sepol_context_to_sid from 683 Jason Tang (Tresys). 684 6851.7.21 2005-08-25 686 * Merged fixes for resource leaks on error paths and 687 change to scope_destroy from Joshua Brindle (Tresys). 688 6891.7.20 2005-08-23 690 * Merged more fixes for resource leaks on error paths 691 from Serge Hallyn (IBM). Bugs found by Coverity. 692 6931.7.19 2005-08-19 694 * Changed to treat all type conflicts as fatal errors. 695 6961.7.18 2005-08-18 697 * Merged several error handling fixes from 698 Serge Hallyn (IBM). Bugs found by Coverity. 699 7001.7.17 2005-08-15 701 * Fixed further memory leaks found by valgrind. 702 7031.7.16 2005-08-15 704 * Fixed several memory leaks found by valgrind. 705 7061.7.15 2005-08-12 707 * Fixed empty list test in cond_write_av_list. Bug found by 708 Coverity, reported by Serge Hallyn (IBM). 709 * Merged patch to policydb_write to check errors 710 when writing the type->attribute reverse map from 711 Serge Hallyn (IBM). Bug found by Coverity. 712 * Fixed policydb_destroy to properly handle NULL type_attr_map 713 or attr_type_map. 714 7151.7.14 2005-08-12 716 * Fixed use of uninitialized data by expand_avtab_node by 717 clearing type_val_to_struct in policydb_index_others. 718 7191.7.13 2005-08-11 720 * Improved memory use by SELinux by both reducing the avtab 721 node size and reducing the number of avtab nodes (by not 722 expanding attributes in TE rules when possible). Added 723 expand_avtab and expand_cond_av_list functions for use by 724 assertion checker, hierarchy checker, compatibility code, 725 and dispol. Added new inline ebitmap operators and converted 726 existing users of ebitmaps to the new operators for greater 727 efficiency. 728 Note: The binary policy format version has been incremented to 729 version 20 as a result of these changes. 730 7311.7.12 2005-08-10 732 * Fixed bug in constraint_node_clone handling of name sets. 733 7341.7.11 2005-08-08 735 * Fix range_trans_clone to map the type values properly. 736 7371.7.10 2005-08-02 738 * Merged patch to move module read/write code from libsemanage 739 to libsepol from Jason Tang (Tresys). 740 7411.7.9 2005-08-02 742 * Enabled further compiler warning flags and fixed them. 743 7441.7.8 2005-08-02 745 * Merged user, context, port records patch from Ivan Gyurdiev. 746 * Merged key extract function patch from Ivan Gyurdiev. 747 7481.7.7 2005-07-27 749 * Merged mls_context_to_sid bugfix from Ivan Gyurdiev. 750 7511.7.6 2005-07-26 752 * Merged context reorganization, memory leak fixes, 753 port and interface loading, replacements for genusers and 754 genbools, debug traceback, and bugfix patches from Ivan Gyurdiev. 755 * Merged uninitialized variable bugfix from Dan Walsh. 756 7571.7.5 2005-07-18 758 * Merged debug support, policydb conversion functions from Ivan Gyurdiev (Red Hat). 759 * Removed genpolbools and genpolusers utilities. 760 7611.7.4 2005-07-18 762 * Merged hierarchy check fix from Joshua Brindle (Tresys). 763 7641.7.3 2005-07-13 765 * Merged header file cleanup and memory leak fix from Ivan Gyurdiev (Red Hat). 766 7671.7.2 2005-07-11 768 * Merged genbools debugging message cleanup from Red Hat. 769 7701.7.1 2005-07-06 771 * Merged loadable module support from Tresys Technology. 772 7731.6 2005-06-20 774 * Updated version for release. 775 7761.5.10 2005-05-19 777 * License changed to LGPL v2.1, see COPYING. 778 7791.5.9 2005-05-16 780 * Added sepol_genbools_policydb and sepol_genusers_policydb for 781 audit2why. 782 7831.5.8 2005-05-13 784 * Added sepol_ prefix to Flask types to avoid 785 namespace collision with libselinux. 786 7871.5.7 2005-05-13 788 * Added sepol_compute_av_reason() for audit2why. 789 7901.5.6 2005-04-25 791 * Fixed bug in role hierarchy checker. 792 7931.5.5 2005-04-13 794 * Merged hierarchical type/role patch from Tresys Technology. 795 * Merged MLS fixes from Darrel Goeddel of TCS. 796 7971.5.4 2005-04-13 798 * Changed sepol_genusers to not delete users by default, 799 and added a sepol_set_delusers function to enable deletion. 800 Also, removed special case handling of system_u and user_u. 801 8021.5.3 2005-03-29 803 * Merged booleans.local patch from Dan Walsh. 804 8051.5.2 2005-03-16 806 * Added man page for sepol_check_context. 807 8081.5.1 2005-03-15 809 * Added man page for sepol_genusers function. 810 * Merged man pages for genpolusers and chkcon from Manoj Srivastava. 811 8121.4 2005-03-09 813 * Updated version for release. 814 8151.3.8 2005-03-08 816 * Cleaned up error handling in sepol_genusers and sepol_genbools. 817 8181.3.7 2005-02-28 819 * Merged sepol_debug and fclose patch from Dan Walsh. 820 8211.3.6 2005-02-22 822 * Changed sepol_genusers to also use getline and correctly handle 823 EOL. 824 8251.3.5 2005-02-17 826 * Merged range_transition support from Darrel Goeddel (TCS). 827 8281.3.4 2005-02-16 829 * Added sepol_genusers function. 830 8311.3.3 2005-02-14 832 * Merged endianness and compute_av patches from Darrel Goeddel (TCS). 833 8341.3.2 2005-02-09 835 * Changed relabel Makefile target to use restorecon. 836 8371.3.1 2005-01-26 838 * Merged enhanced MLS support from Darrel Goeddel (TCS). 839 8401.2.1 2005-01-19 841 * Merged build fix patch from Manoj Srivastava. 842 8431.2 2004-10-07 844 * MLS build fixes. 845 * Added sepol_set_policydb_from_file and sepol_check_context for setfiles. 846 8471.0 2004-08-19 848 * Initial public release. 849 8500.4 2004-08-13 851 * Merged patch from Dan Walsh to ignore case on booleans. 852 * Changed sepol_genbools* to preserve the original policy version. 853 * Replaced exported global variables with set functions. 854 * Moved genpolbools utility from checkpolicy to libsepol. 855 * Added man pages for sepol_genbools* and genpolbools. 856 8570.3 2004-08-10 858 * Added ChangeLog, COPYING, spec file. 859 * Added sepol_genbools_array() for load_policy. 860 * Created libsepol.map to limit exported symbols in shared library. 861 8620.2 2004-08-09 863 * Exported other functions for checkpolicy and friends. 864 * Renamed service and sidtab functions to avoid libselinux conflict. 865 * Removed original code from checkpolicy, which now uses libsepol. 866 * Code cleanup: kill legacy references to kernel types/functions. 867 8680.1 2004-08-06 869 * Moved checkpolicy core logic into a library. 870 * Exported sepol_genbools() for load_policy. 871