Commit Graph

74 Commits

Author SHA1 Message Date
Daniel J Walsh
21d06a6efd - Tell init to reexec itself in post script 2005-10-14 16:11:17 +00:00
Daniel J Walsh
c253681af1 - Upgrade to latest from NSA
Hid sepol_module_package type definition, and added get interfaces.
Merged new callback-based error reporting system from Ivan Gyurdiev.
Merged support for require blocks inside conditionals from Joshua Brindle
    (Tresys).
2005-10-14 12:25:03 +00:00
Daniel J Walsh
d658e96811 - Upgrade to latest from NSA
Hid sepol_module_package type definition, and added get interfaces.
Merged new callback-based error reporting system from Ivan Gyurdiev.
Merged support for require blocks inside conditionals from Joshua Brindle
    (Tresys).
2005-10-14 12:23:28 +00:00
Daniel J Walsh
724f9037b6 - Upgrade to latest from NSA
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.
2005-10-12 19:34:29 +00:00
Daniel J Walsh
83b8afcf8d - Upgrade to latest from NSA
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.
2005-10-10 12:20:32 +00:00
Daniel J Walsh
4dc90da283 - Upgrade to latest from NSA
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.
2005-10-10 12:12:02 +00:00
Daniel J Walsh
6429db41c2 - Upgrade to latest from NSA
Merged function renaming and static cleanup from Ivan Gyurdiev.
2005-10-07 14:11:02 +00:00
Daniel J Walsh
8cf50aeb89 - Upgrade to latest from NSA
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).
2005-10-06 13:31:44 +00:00
Daniel J Walsh
3ddcc8419b - Upgrade to latest from NSA
Merged iterate patch from Ivan Gyurdiev.
Merged MLS in modules patch from Joshua Brindle (Tresys).
2005-10-04 17:58:33 +00:00
Daniel J Walsh
f22a649173 - Upgrade to latest from NSA
Merged pointer typedef elimination patch from Ivan Gyurdiev.
Merged user list function, new mls functions, and bugfix patch from Ivan
    Gyurdiev.
2005-10-03 13:19:50 +00:00
Daniel J Walsh
bfa19b4c5a - Upgrade to latest from NSA
Merged sepol_get_num_roles fix from Karl MacMillan (Tresys).
2005-09-29 01:06:23 +00:00
Daniel J Walsh
5e7aa36c8a - Upgrade to latest from NSA
Merged bug fix patches from Joshua Brindle (Tresys).
2005-09-23 20:06:53 +00:00
Daniel J Walsh
703c74f902 - Upgrade to latest from NSA
Merged boolean record and memory leak fix patches from Ivan Gyurdiev.
2005-09-21 18:12:17 +00:00
Daniel J Walsh
0ffa4bf943 - Upgrade to latest from NSA
Merged interface record patch from Ivan Gyurdiev.
2005-09-20 12:55:39 +00:00
Daniel J Walsh
3dd19e653e - Upgrade to latest from NSA
Merged fix for sepol_enable/disable_debug from Ivan Gyurdiev.
2005-09-15 14:51:03 +00:00
Daniel J Walsh
16d370e49a - Upgrade to latest from NSA
Merged stddef.h patch and debug conversion patch from Ivan Gyurdiev.
2005-09-14 19:28:36 +00:00
Daniel J Walsh
89c92014dc - Upgrade to latest from NSA
Fixed expand_avtab and expand_cond_av_list to keep separate entries with
    identical keys but different enabled flags.
Updated version for release.
2005-09-12 20:27:31 +00:00
Daniel J Walsh
560bbcaa19 - Upgrade to latest from NSA
Fixed symtab_insert return value for duplicate declarations.
Merged fix for memory error in policy_module_destroy from Jason Tang
    (Tresys).
2005-09-01 15:50:37 +00:00
Daniel J Walsh
c57ee23f0c - Upgrade to latest from NSA
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).
2005-08-29 12:02:32 +00:00
Daniel J Walsh
680938b4aa - Upgrade to latest from NSA
Merged more fixes for resource leaks on error paths from Serge Hallyn
    (IBM). Bugs found by Coverity.
2005-08-23 18:23:04 +00:00
Daniel J Walsh
691e94c476 - Upgrade to latest from NSA
Changed to treat all type conflicts as fatal errors.
Merged several error handling fixes from Serge Hallyn (IBM). Bugs found by
    Coverity.
2005-08-19 19:53:42 +00:00
Daniel J Walsh
36260cb46f - Upgrade to latest from NSA
Fixed several memory leaks found by valgrind.
2005-08-15 20:10:28 +00:00
Daniel J Walsh
56a2b4dba2 - Upgrade to latest from NSA
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.
2005-08-14 19:58:19 +00:00
Daniel J Walsh
a0ffdcf988 - Upgrade to latest from NSA
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.
2005-08-13 09:54:35 +00:00
Daniel J Walsh
9aea386a17 - Upgrade to latest from NSA
The binary policy format version has been incremented to version 20 as a
    result of these changes.
2005-08-12 02:51:25 +00:00
Daniel J Walsh
25190caa4f - Upgrade to latest from NSA
Fixed bug in constraint_node_clone handling of name sets.
2005-08-11 11:54:12 +00:00
Daniel J Walsh
71a436964a - Upgrade to latest from NSA
Fix range_trans_clone to map the type values properly.
2005-08-10 21:05:20 +00:00
Daniel J Walsh
afa262c83a - Upgrade to latest from NSA
Merged patch to move module read/write code from libsemanage to libsepol
    from Jason Tang (Tresys).
2005-08-06 01:34:59 +00:00
Daniel J Walsh
c1a5ce09e0 - Upgrade to latest from NSA
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.
2005-08-02 20:23:38 +00:00
Daniel J Walsh
bfb8873e3a - Fix MLS Free 2005-07-27 16:19:22 +00:00
Daniel J Walsh
b0f7b63f5f - Upgrade to latest from NSA
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.
2005-07-27 13:29:14 +00:00
Daniel J Walsh
5242278d81 - Fix unitialized variable problem 2005-07-25 13:37:45 +00:00
Daniel J Walsh
22cadfa754 - Upgrade to latest from NSA
Merged debug support, policydb conversion functions from Ivan Gyurdiev (Red
    Hat).
Removed genpolbools and genpolusers utilities.
Merged hierarchy check fix from Joshua Brindle (Tresys).
2005-07-18 19:06:58 +00:00
Daniel J Walsh
4e37e11792 - Upgrade to latest from NSA
Merged header file cleanup and memory leak fix from Ivan Gyurdiev (Red
    Hat).
Merged genbools debugging message cleanup from Red Hat.
2005-07-14 11:25:27 +00:00
Daniel J Walsh
414cceec85 - Remove genpolbools and genpoluser 2005-07-08 01:20:21 +00:00
Daniel J Walsh
57d97af6fc - Remove genpolbools and genpoluser 2005-07-08 01:16:49 +00:00
Daniel J Walsh
27c3880e79 - Upgrade to latest from NSA
Merged loadable module support from Tresys Technology.
2005-07-07 10:51:39 +00:00
Daniel J Walsh
3433537d33 - Upgrade to latest from NSA
Updated version for release.
2005-06-29 20:16:24 +00:00
Daniel J Walsh
07cf4bdb73 - Fix reset booleans warning message
- Upgrade to latest from NSA
License changed to LGPL v2.1, see COPYING.
2005-05-26 15:00:01 +00:00
Daniel J Walsh
7d8931a9ef - Upgrade to latest from NSA
Added sepol_genbools_policydb and sepol_genusers_policydb for audit2why.
2005-05-17 12:33:22 +00:00
Daniel J Walsh
1c05374c24 - Upgrade to latest from NSA
Added sepol_genbools_policydb and sepol_genusers_policydb for audit2why.
2005-05-17 12:32:21 +00:00
Daniel J Walsh
bf612b3526 - Upgrade to latest from NSA
Added sepol_genbools_policydb and sepol_genusers_policydb for audit2why.
2005-05-17 12:13:26 +00:00
Daniel J Walsh
5d7a0aa1a4 - export sepol_context_to_sid 2005-05-16 21:46:33 +00:00
Daniel J Walsh
e04378394e - Upgrade to latest from NSA
Added sepol_ prefix to Flask types to avoid namespace collision with
    libselinux.
2005-05-16 19:48:44 +00:00
Daniel J Walsh
90feaaf501 - Upgrade to latest from NSA
Added sepol_compute_av_reason() for audit2why.
2005-05-13 18:51:47 +00:00
Daniel J Walsh
7ae04558ee - Upgrade to latest from NSA
Fixed bug in role hierarchy checker.
2005-04-26 16:33:22 +00:00
Daniel J Walsh
c4ff628dd6 - Upgrade to latest from NSA
Fixed bug in role hierarchy checker.
2005-04-26 16:31:56 +00:00
Daniel J Walsh
59566c25a2 - Fixes found via intel compiler 2005-04-25 19:38:21 +00:00
Daniel J Walsh
57d5dcc902 - Fixes found via intel compiler 2005-04-25 19:35:34 +00:00
Daniel J Walsh
fa4ea37dae - Update from NSA 2005-04-14 20:28:58 +00:00