Commit Graph

233 Commits

Author SHA1 Message Date
Daniel J Walsh
422f3b68fd - Upgrade to latest from NSA
Change to use getpw* function calls to the _r versions from Todd Miller.
2007-09-13 12:29:42 +00:00
Daniel J Walsh
c0c84efd96 - Upgrade to latest from NSA 2007-09-06 02:48:04 +00:00
Daniel J Walsh
8f8294e39e - Upgrade to latest from NSA 2007-09-05 19:01:41 +00:00
Daniel J Walsh
cf2b1c22f9 - Upgrade to latest from NSA
Allow dontaudits to be turned off via semanage interface when updating
    policy
2007-08-20 23:30:14 +00:00
Daniel J Walsh
6da4db8e6f - Add ability to load a policy without dontaudit rules
-
2007-08-11 10:53:39 +00:00
Daniel J Walsh
a65d30f4d2 - Rebuild to fix segfault on x86 platforms, swigify on each build 2007-08-11 10:42:54 +00:00
Daniel J Walsh
3068364d58 - Rebuild to fix segfault on x86 platforms, swigify on each build 2007-06-26 09:43:57 +00:00
Daniel J Walsh
65c9f7004a - Rebuild to fix segfault on x86 platforms, swigify on each build 2007-06-26 09:39:27 +00:00
Daniel J Walsh
d49d036d30 - Rebuild for rawhide 2007-06-01 14:45:13 +00:00
Daniel J Walsh
212e1b703f - Apply patch to fix dependencies in spec file from Robert Scheck 2007-05-04 17:26:34 +00:00
Daniel J Walsh
3e627b0d72 - Upgrade to latest from NSA
Fix to libsemanage man patches so whatis will work better from Dan Walsh
2007-04-26 00:05:03 +00:00
Daniel J Walsh
b8748b2834 - Upgrade to latest from NSA
Merged optimizations from Stephen Smalley.
- do not set all booleans upon commit, only those whose values have changed
- only install the sandbox upon commit if something was rebuilt
2007-04-25 15:11:21 +00:00
Daniel J Walsh
eea9396386 - Add SELinux to Man page Names so man -k will work 2007-03-27 19:48:04 +00:00
Daniel J Walsh
c52428e9f1 Merged dbase_file_flush patch from Dan Walsh. This removes any mention of
specific tools (e.g. semanage) from the comment header of the
    auto-generated files, since there are multiple front-end tools.
2007-03-13 00:21:38 +00:00
Daniel J Walsh
7fe322b328 - Upgrade to latest from NSA
Merged Makefile test target patch from Caleb Case.
Merged get_commit_number function rename patch from Caleb Case.
Merged strnlen -> strlen patch from Todd Miller.
2007-02-20 14:32:39 +00:00
Daniel J Walsh
6456c7a530 - Upgrade to latest from NSA
Merged python binding fix from Dan Walsh.
Updated version for stable branch.
2007-02-07 21:38:02 +00:00
Daniel J Walsh
4b215a5b9f - Upgrade to latest from NSA
Merged python binding fix from Dan Walsh.
Updated version for stable branch.
2007-02-07 21:31:41 +00:00
Daniel J Walsh
4f442a2b56 - Upgrade to latest from NSA
Merged patch to optionally reduce disk usage by removing the backup module
    store and linked policy from Karl MacMillan
Merged patch to correctly propagate return values in libsemanage
2007-01-25 22:48:00 +00:00
Daniel J Walsh
b91d944b4b - Upgrade to latest from NSA
Merged patch to optionally reduce disk usage by removing the backup module
    store and linked policy from Karl MacMillan
Merged patch to correctly propagate return values in libsemanage
2007-01-09 15:22:05 +00:00
Daniel J Walsh
7ccc8bd470 - Apply Karl MacMillan patch to get proper error codes. 2006-12-22 16:50:50 +00:00
Jeremy Katz
bc624cc139 - rebuild against python 2.5 2006-12-07 16:39:43 +00:00
Daniel J Walsh
6429e69e0b - Upgrade to latest from NSA
Merged patch to compile wit -fPIC instead of -fpic from Manoj Srivastava to
    prevent hitting the global offest table limit. Patch changed to include
    libselinux and libsemanage in addition to libsepol.
2006-11-28 19:02:17 +00:00
Daniel J Walsh
003cc65998 - Upgrade to latest from NSA
Updated version for release.
2006-10-25 02:52:37 +00:00
Daniel J Walsh
37c60b3ffc *** empty log message *** 2006-09-29 15:54:07 +00:00
Daniel J Walsh
73c5b03ea2 *** empty log message *** 2006-09-29 14:44:43 +00:00
Daniel J Walsh
77e41c7ede *** empty log message *** 2006-09-29 14:43:48 +00:00
Daniel J Walsh
da9766685c *** empty log message *** 2006-08-31 11:41:18 +00:00
Daniel J Walsh
b1567cf808 *** empty log message *** 2006-08-23 17:59:58 +00:00
Daniel J Walsh
ab73a7a815 *** empty log message *** 2006-08-12 12:26:53 +00:00
Daniel J Walsh
f1afa1b22a *** empty log message *** 2006-08-12 11:56:13 +00:00
Daniel J Walsh
a6f3313832 *** empty log message *** 2006-08-12 10:59:35 +00:00
Daniel J Walsh
df4486c793 - Change other updates to be non-fatal 2006-08-11 03:20:13 +00:00
Daniel J Walsh
6ba7395041 - Change netfilter stuff to be non-fatal so update can proceed. 2006-08-09 19:08:44 +00:00
Daniel J Walsh
1b2c2ff0fd - Upgrade to latest from NSA
Merged netfilter contexts support from Chris PeBenito.
2006-08-06 00:00:19 +00:00
Daniel J Walsh
c102f8109e - Upgrade to latest from NSA
Merged netfilter contexts support from Chris PeBenito.
2006-08-04 22:56:25 +00:00
Daniel J Walsh
af95fdb790 - Rebuild for new gcc 2006-07-17 13:12:48 +00:00
Daniel J Walsh
b4bff1fcc6 - Upgrade to latest from NSA
Merged support for read operations on read-only fs from Caleb Case (Tresys
    Technology).
2006-07-12 02:53:48 +00:00
Daniel J Walsh
43f2cfdf4d - Upgrade to latest from NSA
Lindent.
Merged setfiles location check patch from Dan Walsh.
2006-07-07 11:08:01 +00:00
Daniel J Walsh
1c63c08c2f - Upgrade to latest from NSA
dbase_file_cache: deref of uninit data on error path. dbase_policydb_cache:
    clear fp to avoid double fclose semanage_fc_sort: destroy temp on error
    paths
2006-06-16 19:14:07 +00:00
Daniel J Walsh
64aa562bf6 - Handle setfiles being in /sbin or /usr/sbin 2006-06-16 17:56:42 +00:00
Daniel J Walsh
770201a9dd - Handle setfiles being in /sbin or /usr/sbin 2006-06-16 17:53:27 +00:00
Daniel J Walsh
786f3e5787 - Handle setfiles being in /sbin or /usr/sbin 2006-06-16 17:38:35 +00:00
Daniel J Walsh
25b23d0cd3 - Upgrade to latest from NSA
[setfiles] path = /path/to/setfiles args = -q -c $@ $< [end]
2006-06-06 18:50:33 +00:00
Daniel J Walsh
8f1e8ed18d - Spec file cleanup from n0dalus+redhat@gmail.com 2006-05-22 13:34:46 +00:00
Daniel J Walsh
ce7274d07b - Upgrade to latest from NSA
Merged fix warnings patch from Karl MacMillan.
2006-05-08 18:34:45 +00:00
Daniel J Walsh
5b53b9a393 - Upgrade to latest from NSA
Merged fix warnings patch from Karl MacMillan.
2006-05-08 18:16:04 +00:00
Daniel J Walsh
96b801b260 - Upgrade to latest from NSA
Merged updated file context sorting patch from Christopher Ashworth, with
    bug fix for escaped character flag.
Merged file context sorting code from Christopher Ashworth (Tresys
    Technology), based on fc_sort.c code in refpolicy.
Merged python binding t_output_helper removal patch from Dan Walsh.
Regenerated swig files.
2006-04-14 15:14:48 +00:00
Daniel J Walsh
9b0bb205bf - Upgrade to latest from NSA
Merged file context sorting code from Christopher Ashworth (Tresys
    Technology), based on fc_sort.c code in refpolicy.
Merged python binding t_output_helper removal patch from Dan Walsh.
Regenerated swig files.
2006-04-14 11:37:57 +00:00
Daniel J Walsh
3db0ea01ca - Fix leaky descriptor 2006-04-03 22:19:54 +00:00
Daniel J Walsh
1b2534e1d4 - Fix leaky descriptor 2006-04-03 22:15:37 +00:00
Daniel J Walsh
e970cd9667 - Fix leaky descriptor 2006-04-03 21:51:23 +00:00
Daniel J Walsh
07a3ad638e - Fix leaky descriptor 2006-04-03 21:26:44 +00:00
Daniel J Walsh
a247f456ee - Fix leaky descriptor 2006-04-03 20:49:58 +00:00
Daniel J Walsh
6b31c1bb12 - Upgrade to latest from NSA
Merged Makefile PYLIBVER definition patch from Dan Walsh.
Merged man page reorganization from Ivan Gyurdiev.
2006-03-21 15:45:58 +00:00
Daniel J Walsh
60ab106466 - Upgrade to latest from NSA
Merged Makefile PYLIBVER definition patch from Dan Walsh.
Merged man page reorganization from Ivan Gyurdiev.
2006-03-21 15:45:45 +00:00
Daniel J Walsh
aa0c632103 - Make work on RHEL4
- Upgrade to latest from NSA
Merged abort early on merge errors patch from Ivan Gyurdiev.
Cleaned up error handling in semanage_split_fc based on a patch by Serge
    Hallyn (IBM) and suggestions by Ivan Gyurdiev.
Merged MLS handling fixes from Ivan Gyurdiev.
2006-03-17 20:25:31 +00:00
Daniel J Walsh
5a4115f50c - Upgrade to latest from NSA
Merged bug fix for fcontext validate handler from Ivan Gyurdiev.
Merged base_merge_components changes from Ivan Gyurdiev.
2006-02-17 20:00:24 +00:00
Daniel J Walsh
95d8014c0f - Upgrade to latest from NSA
Merged paths array patch from Ivan Gyurdiev.
Merged bug fix patch from Ivan Gyurdiev.
Merged improve bindings patch from Ivan Gyurdiev.
Merged use PyList patch from Ivan Gyurdiev.
Merged memory leak fix patch from Ivan Gyurdiev.
Merged nodecon support patch from Ivan Gyurdiev.
Merged cleanups patch from Ivan Gyurdiev.
Merged split swig patch from Ivan Gyurdiev.
2006-02-16 18:44:02 +00:00
Daniel J Walsh
5cdd750209 - Upgrade to latest from NSA
Merged optionals in base patch from Joshua Brindle.
Merged treat seusers/users_extra as optional sections patch from Ivan
    Gyurdiev.
Merged parse_optional fixes from Ivan Gyurdiev.
2006-02-13 19:31:17 +00:00
Jesse Keating
bdc5c5031f bump for bug in double-long on ppc(64) 2006-02-11 04:12:41 +00:00
Daniel J Walsh
437a1672f8 - Fix handling of seusers and users_map file 2006-02-10 16:42:07 +00:00
Daniel J Walsh
b40694835e - Upgrade to latest from NSA
Merged seuser/user_extra support patch from Joshua Brindle.
Merged remote system dbase patch from Ivan Gyurdiev.
2006-02-07 15:30:09 +00:00
Jesse Keating
7e12efe662 bump for new gcc/glibc 2006-02-07 12:43:51 +00:00
Daniel J Walsh
c77fc837ef *** empty log message *** 2006-02-02 17:11:07 +00:00
Daniel J Walsh
9d3d831b72 *** empty log message *** 2006-01-31 00:02:55 +00:00
Daniel J Walsh
2d7ec48909 *** empty log message *** 2006-01-28 01:38:10 +00:00
Daniel J Walsh
659f45dbf4 *** empty log message *** 2006-01-20 20:28:52 +00:00
Daniel J Walsh
42ed049e66 *** empty log message *** 2006-01-18 16:29:44 +00:00
Daniel J Walsh
cef3ae1b81 *** empty log message *** 2006-01-14 04:52:47 +00:00
Daniel J Walsh
cde1f77237 *** empty log message *** 2006-01-13 22:36:39 +00:00
Daniel J Walsh
c3f6b70d94 *** empty log message *** 2006-01-13 22:31:44 +00:00
Daniel J Walsh
d70e17491c *** empty log message *** 2006-01-06 16:07:00 +00:00
Daniel J Walsh
f12cd09ff8 *** empty log message *** 2006-01-05 19:52:36 +00:00
Daniel J Walsh
eddd487028 - Upgrade to latest from NSA
Clarified error messages from parse_module_headers and parse_base_headers
    for base/module mismatches.
Merged string and file optimization patch from Russell Coker.
Merged swig header reordering patch from Ivan Gyurdiev.
Merged toggle modify on add patch from Ivan Gyurdiev.
Merged ports parser bugfix patch from Ivan Gyurdiev.
Merged fcontext swig patch from Ivan Gyurdiev.
Merged remove add/modify/delete for active booleans patch from Ivan
    Gyurdiev.
Merged man pages for dbase functions patch from Ivan Gyurdiev.
Merged pywrap tests patch from Ivan Gyurdiev.
2006-01-05 16:21:25 +00:00
Daniel J Walsh
9a5688a1ca - Upgrade to latest from NSA
Clarified error messages from parse_module_headers and parse_base_headers
    for base/module mismatches.
Merged string and file optimization patch from Russell Coker.
Merged swig header reordering patch from Ivan Gyurdiev.
Merged toggle modify on add patch from Ivan Gyurdiev.
Merged ports parser bugfix patch from Ivan Gyurdiev.
Merged fcontext swig patch from Ivan Gyurdiev.
Merged remove add/modify/delete for active booleans patch from Ivan
    Gyurdiev.
Merged man pages for dbase functions patch from Ivan Gyurdiev.
Merged pywrap tests patch from Ivan Gyurdiev.
2006-01-05 16:15:55 +00:00
Daniel J Walsh
bcfb02bfc0 - Upgrade to latest from NSA
Clarified error messages from parse_module_headers and parse_base_headers
    for base/module mismatches.
Merged string and file optimization patch from Russell Coker.
Merged swig header reordering patch from Ivan Gyurdiev.
Merged toggle modify on add patch from Ivan Gyurdiev.
Merged ports parser bugfix patch from Ivan Gyurdiev.
Merged fcontext swig patch from Ivan Gyurdiev.
Merged remove add/modify/delete for active booleans patch from Ivan
    Gyurdiev.
Merged man pages for dbase functions patch from Ivan Gyurdiev.
Merged pywrap tests patch from Ivan Gyurdiev.
2006-01-05 16:10:57 +00:00
Daniel J Walsh
5361ff6e72 - Upgrade to latest from NSA
- separate file rw code from linked list
- annotate objects
- fold together internal headers
- support ordering of records in compare function
- add active dbase backend, active booleans
- return commit numbers for ro database calls
- use modified flags to skip rebuild whenever possible
- enable port interfaces
- update swig interfaces and typemaps
- add an API for file_contexts.local and file_contexts
- flip the traversal order in iterate/list
- reorganize sandbox_expand
- add seusers MLS validation
- improve dbase spec/documentation
- clone record on set/add/modify
2006-01-04 18:39:06 +00:00
Daniel J Walsh
112859cb56 - Upgrade to latest from NSA
- separate file rw code from linked list
- annotate objects
- fold together internal headers
- support ordering of records in compare function
- add active dbase backend, active booleans
- return commit numbers for ro database calls
- use modified flags to skip rebuild whenever possible
- enable port interfaces
- update swig interfaces and typemaps
- add an API for file_contexts.local and file_contexts
- flip the traversal order in iterate/list
- reorganize sandbox_expand
- add seusers MLS validation
- improve dbase spec/documentation
- clone record on set/add/modify
2006-01-04 18:13:08 +00:00
Daniel J Walsh
23614f87e1 - Add Ivans patch to turn on ports 2006-01-02 12:56:28 +00:00
Daniel J Walsh
a151f78a70 - Remove patch since upstream does the right thing 2005-12-14 21:32:33 +00:00
Daniel J Walsh
c2b1e26fcc - Upgrade to latest from NSA
Merged further header cleanups from Ivan Gyurdiev.
Merged toggle modified flag in policydb_modify, fix memory leak in
    clear_obsolete, polymorphism vs headers fix, and include guards for
    internal headers patches from Ivan Gyurdiev.
2005-12-14 19:51:34 +00:00
Daniel J Walsh
9993e32e21 - Upgrade to latest from NSA
Merged toggle modified flag in policydb_modify, fix memory leak in
    clear_obsolete, polymorphism vs headers fix, and include guards for
    internal headers patches from Ivan Gyurdiev.
2005-12-13 16:22:20 +00:00
Daniel J Walsh
2b5b2a62e8 - Upgrade to latest from NSA
Added file-mode= setting to semanage.conf, default to 0644. Changed
    semanage_copy_file and callers to use this mode when installing policy
    files to runtime locations.
2005-12-13 04:54:54 +00:00
Jesse Keating
522bb5cf2a gcc update bump 2005-12-09 22:41:41 +00:00
Daniel J Walsh
0b5bec9a8e - Fix mode of output seusers file 2005-12-08 04:59:32 +00:00
Daniel J Walsh
c96070d38c - Fix mode of output seusers file 2005-12-07 17:35:15 +00:00
Daniel J Walsh
97de529789 - Update version for release 2005-12-07 17:32:18 +00:00
Daniel J Walsh
d6123fe3c1 - Upgrade to latest from NSA
Changed semanage_handle_create() to set do_reload based on
    is_selinux_enabled(). This prevents improper attempts to load policy on
    a non-SELinux system.
2005-12-06 18:41:48 +00:00
Daniel J Walsh
ff57ee576b - Upgrade to latest from NSA
Merged Makefile python definitions patch from Dan Walsh.
Removed is_selinux_mls_enabled() conditionals in seusers and users file
    parsers.
2005-11-29 19:07:13 +00:00
Daniel J Walsh
066e239ed5 - Add additional swig objects
Merged wrap char*** for user_get_roles patch from Joshua Brindle.
Merged remove defrole from sepol patch from Ivan Gyurdiev.
Merged swig wrappers for modifying users and seusers from Joshua Brindle.
2005-11-29 03:16:02 +00:00
Daniel J Walsh
be0e043f19 - Add additional swig objects 2005-11-23 15:06:09 +00:00
Daniel J Walsh
72ad6cf1ae - Upgrade to latest from NSA
Fixed free->key_free bug.
Merged clear obsolete patch from Ivan Gyurdiev.
Merged modified swigify patch from Dan Walsh (original patch from Joshua
    Brindle).
Merged move genhomedircon call patch from Chad Sellers.
2005-11-17 02:31:54 +00:00
Daniel J Walsh
ffe4d2bde5 - Upgrade to latest from NSA
Fixed free->key_free bug.
Merged clear obsolete patch from Ivan Gyurdiev.
Merged modified swigify patch from Dan Walsh (original patch from Joshua
    Brindle).
Merged move genhomedircon call patch from Chad Sellers.
2005-11-17 02:26:00 +00:00
Daniel J Walsh
ab22837824 - Add genhomedircon patch from Joshua Brindle 2005-11-14 22:09:06 +00:00
Daniel J Walsh
a7114403d6 - Add swigify patch from Joshua Brindle 2005-11-11 18:53:06 +00:00
Daniel J Walsh
bb7c4a72ee - Upgrade to latest from NSA
Merged move seuser validation patch from Ivan Gyurdiev.
Merged hidden declaration fixes from Ivan Gyurdiev, with minor corrections.
2005-11-11 16:16:26 +00:00
Daniel J Walsh
0e20be8ff2 - Upgrade to latest from NSA
Merged cleanup patch from Ivan Gyurdiev. This renames semanage_module_conn
    to semanage_direct_handle, and moves sepol handle create/destroy into
    semanage handle create/destroy to allow use even when disconnected (for
    the record interfaces).
2005-11-10 02:42:34 +00:00
Daniel J Walsh
32ce50944b - Upgrade to latest from NSA
Clear modules modified flag upon disconnect and commit.
Added tracking of module modifications and use it to determine whether
    expand-time checks should be applied on commit.
Reverted semanage_set_reload_bools() interface.
2005-11-09 01:50:21 +00:00
Daniel J Walsh
ef65cfdd37 - Upgrade to latest from NSA
Disabled calls to port dbase for merge and commit and stubbed out calls to
    sepol_port interfaces since they are not exported.
Merged rename instead of copy patch from Joshua Brindle (Tresys).
Added hidden_def/hidden_proto for exported symbols used within libsemanage
    to eliminate relocations. Wrapped type definitions in exported headers
    as needed to avoid conflicts. Added src/context_internal.h and
    src/iface_internal.h.
Added semanage_is_managed() interface to allow detection of whether the
    policy is managed via libsemanage. This enables proper handling in
    setsebool for non-managed systems.
Merged semanage_set_reload_bools() interface from Ivan Gyurdiev, to enable
    runtime control over preserving active boolean values versus reloading
    their saved settings upon commit.
2005-11-08 23:54:11 +00:00
Daniel J Walsh
bfd9450f27 - Upgrade to latest from NSA
Merged seuser parser resync, dbase tracking and cleanup, strtol bug,
    copyright, and assert space patches from Ivan Gyurdiev.
Added src/*_internal.h in preparation for other changes.
Added hidden/hidden_proto/hidden_def to src/debug.[hc] and
    src/seusers.[hc].
2005-11-07 15:36:10 +00:00
Daniel J Walsh
f2d442c343 - Upgrade to latest from NSA
Merged interface parse/print, context_to_string interface change, move
    assert_noeof, and order preserving patches from Ivan Gyurdiev.
Added src/dso.h in preparation for other changes.
Merged install seusers, handle/error messages, MLS parsing, and seusers
    validation patches from Ivan Gyurdiev.
2005-11-03 18:29:35 +00:00
Daniel J Walsh
62754d6a4b - Upgrade to latest from NSA
Merged record interface, dbase flush, common database code, and record
    bugfix patches from Ivan Gyurdiev.
2005-10-31 20:58:26 +00:00
Daniel J Walsh
24d63641d4 - Upgrade to latest from NSA
Merged dbase policydb list and count change from Ivan Gyurdiev.
Merged enable dbase and set relay patches from Ivan Gyurdiev.
2005-10-28 14:18:25 +00:00
Daniel J Walsh
76b34ef1bc - Update from NSA
Merged resync to sepol changes and booleans fixes/improvements patches from
    Ivan Gyurdiev.
Merged support for genhomedircon/homedir template, store selection,
    explicit policy reload, and semanage.conf relocation from Joshua
    Brindle.
2005-10-25 19:52:13 +00:00
Daniel J Walsh
c824ae3efd - Update from NSA
Merged resync to sepol changes and booleans fixes/improvements patches from
    Ivan Gyurdiev.
Merged support for genhomedircon/homedir template, store selection,
    explicit policy reload, and semanage.conf relocation from Joshua
    Brindle.
2005-10-25 19:41:01 +00:00
Daniel J Walsh
35380af3f2 - Update from NSA
Merged resync to sepol changes and booleans fixes/improvements patches from
    Ivan Gyurdiev.
Merged support for genhomedircon/homedir template, store selection,
    explicit policy reload, and semanage.conf relocation from Joshua
    Brindle.
2005-10-25 19:17:16 +00:00
Daniel J Walsh
ac43226a5b - Update from NSA
Merged resync to sepol changes and transaction fix patches from Ivan
    Gyurdiev.
Merged reorganize users patch from Ivan Gyurdiev.
Merged remove unused relay functions patch from Ivan Gyurdiev.
2005-10-24 17:55:28 +00:00
Daniel J Walsh
4810185611 - Update from NSA
Fixed policy file leaks in semanage_load_module and semanage_write_module.
Merged further database work from Ivan Gyurdiev.
Fixed bug in semanage_direct_disconnect.
2005-10-21 18:45:39 +00:00
Daniel J Walsh
bed7f30855 - Update from NSA
Fixed policy file leaks in semanage_load_module and semanage_write_module.
Merged further database work from Ivan Gyurdiev.
Fixed bug in semanage_direct_disconnect.
2005-10-21 14:24:09 +00:00
Daniel J Walsh
e4a5671bb5 - Update from NSA
Merged interface renaming patch from Ivan Gyurdiev.
Merged policy component patch from Ivan Gyurdiev.
Renamed 'check=' configuration value to 'expand-check=' for clarity.
Changed semanage_commit_sandbox to check for and report errors on rename(2)
    calls performed during rollback.
Added optional check= configuration value to semanage.conf and updated call
    to sepol_expand_module to pass its value to control assertion and
    hierarchy checking on module expansion.
Merged fixes for make DESTDIR= builds from Joshua Brindle.
2005-10-20 20:34:00 +00:00
Daniel J Walsh
31d65000f6 - Update from NSA
Merged default database from Ivan Gyurdiev.
Merged removal of connect requirement in policydb backend from Ivan
    Gyurdiev.
Merged commit locking fix and lock rename from Joshua Brindle.
Merged transaction rollback in lock patch from Joshua Brindle.
Changed default args for load_policy to be null, as it no longer takes a
    pathname argument and we want to preserve booleans.
Merged move local dbase initialization patch from Ivan Gyurdiev.
Merged acquire/release read lock in databases patch from Ivan Gyurdiev.
Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev.
Added calls to sepol_policy_file_set_handle interface prior to invoking
    sepol operations on policy files.
Updated call to sepol_policydb_from_image to pass the handle.
2005-10-19 20:59:28 +00:00
Daniel J Walsh
aac0cfd92e - Update from NSA
Changed default args for load_policy to be null, as it no longer takes a
    pathname argument and we want to preserve booleans.
Merged move local dbase initialization patch from Ivan Gyurdiev.
Merged acquire/release read lock in databases patch from Ivan Gyurdiev.
Merged rename direct -> policydb as appropriate patch from Ivan Gyurdiev.
Added calls to sepol_policy_file_set_handle interface prior to invoking
    sepol operations on policy files.
Updated call to sepol_policydb_from_image to pass the handle.
2005-10-18 17:58:12 +00:00
Daniel J Walsh
b18ef05931 - Update from NSA
Merged user and port APIs - policy database patch from Ivan Gyurdiev.
Converted calls to sepol link_packages and expand_module interfaces from
    using buffers to using sepol handles for error reporting, and changed
    direct_connect/disconnect to create/destroy sepol handles.
2005-10-18 13:47:26 +00:00
Daniel J Walsh
830a30016b - Update from NSA
Merged bugfix patch from Ivan Gyurdiev.
Merged seuser database patch from Ivan Gyurdiev. Merged direct user/port
    databases to the handle from Ivan Gyurdiev.
Removed obsolete include/semanage/commit_api.h (leftover). Merged seuser
    record patch from Ivan Gyurdiev.
Merged boolean and interface databases from Ivan Gyurdiev.
2005-10-15 12:27:49 +00:00
Daniel J Walsh
43db24251e - Update from NSA
Updated to use get interfaces for hidden sepol_module_package type.
Changed semanage_expand_sandbox and semanage_install_active to
    generate/install the latest policy version supported by libsepol by
    default (unless overridden by semanage.conf), since libselinux will now
    downgrade automatically for load_policy.
Merged new callback-based error reporting system and ongoing database work
    from Ivan Gyurdiev.
2005-10-14 12:32:19 +00:00
Daniel J Walsh
e479f60948 - Update from NSA
Fixed semanage_install_active() to use the same logic for selecting a
    policy version as semanage_expand_sandbox(). Dropped dead code from
    semanage_install_sandbox().
2005-10-12 19:35:45 +00:00
Daniel J Walsh
3b901573e9 - Update from NSA
Updated for changes to libsepol, and to only use types and interfaces
    provided by the shared libsepol.
2005-10-10 13:04:43 +00:00
Daniel J Walsh
6366247bd9 - Update from NSA
Merged further database work from Ivan Gyurdiev.
2005-10-07 14:20:41 +00:00
Daniel J Walsh
278e64a9eb - Update from NSA
Merged further database work from Ivan Gyurdiev.
2005-10-07 14:14:34 +00:00
Daniel J Walsh
8b0a28a044 - Update from NSA
Merged iterate, redistribute, and dbase split patches from Ivan Gyurdiev.
2005-10-04 18:04:52 +00:00
Daniel J Walsh
b2247ee18e - Update from NSA
Merged patch series from Ivan Gyurdiev. (pointer typedef elimination, file
    renames, dbase work, backend separation)
Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
Separated handle create from connect interface.
Added a constructor for initialization.
Moved up src/include/*.h to src.
Created a symbol map file; dropped dso.h and hidden markings.
2005-10-03 13:10:57 +00:00
Daniel J Walsh
5223b3065c - Update from NSA
Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
Separated handle create from connect interface.
Added a constructor for initialization.
Moved up src/include/*.h to src.
Created a symbol map file; dropped dso.h and hidden markings.
2005-09-29 01:27:17 +00:00
Daniel J Walsh
faf9fb1893 - Update from NSA
Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
Separated handle create from connect interface.
Added a constructor for initialization.
Moved up src/include/*.h to src.
Created a symbol map file; dropped dso.h and hidden markings.
2005-09-29 01:20:46 +00:00
Daniel J Walsh
9e67036aba - Update from NSA
Split interfaces from semanage.[hc] into handle.[hc], modules.[hc].
Separated handle create from connect interface.
Added a constructor for initialization.
Moved up src/include/*.h to src.
Created a symbol map file; dropped dso.h and hidden markings.
2005-09-29 01:13:28 +00:00
Daniel J Walsh
f23f477b44 - Update from NSA
Merged dbase redesign patch from Ivan Gyurdiev.
2005-09-23 20:06:10 +00:00
Daniel J Walsh
bc7b8ad0e5 - Update from NSA
Merged boolean record, stub record handler, and status codes patches from
    Ivan Gyurdiev.
2005-09-21 18:07:02 +00:00
Daniel J Walsh
df7239b251 - Update from NSA
Merged stub iterator functionality from Ivan Gyurdiev.
Merged interface record patch from Ivan Gyurdiev.
2005-09-20 12:58:08 +00:00
Daniel J Walsh
25d2554757 - Update from NSA
Merged stub functionality for managing user and port records, and record
    table code from Ivan Gyurdiev.
Updated version for release.
2005-09-14 19:35:39 +00:00
Daniel J Walsh
785fc2e237 - Update from NSA
Merged semod.conf template patch from Dan Walsh (Red Hat), but restored
    location to /usr/share/semod/semod.conf.
Fixed several bugs found by valgrind.
Fixed bug in prior patch for the semod_build_module_list leak.
Merged errno fix from Joshua Brindle (Tresys).
Merged fix for semod_build_modules_list leak on error path from Serge
    Hallyn (IBM). Bug found by Coverity.
2005-09-06 20:16:22 +00:00
Daniel J Walsh
c05d7ada4a - Update from NSA
Merged semod.conf template patch from Dan Walsh (Red Hat), but restored
    location to /usr/share/semod/semod.conf.
Fixed several bugs found by valgrind.
Fixed bug in prior patch for the semod_build_module_list leak.
Merged errno fix from Joshua Brindle (Tresys).
Merged fix for semod_build_modules_list leak on error path from Serge
    Hallyn (IBM). Bug found by Coverity.
2005-09-01 16:26:33 +00:00
Daniel J Walsh
b609a6d466 - Update from NSA
Merged errno fix from Joshua Brindle (Tresys).
Merged fix for semod_build_modules_list leak on error path from Serge
    Hallyn (IBM). Bug found by Coverity.
Merged several fixes from Serge Hallyn (IBM). Bugs found by Coverity.
Fixed several other bugs and warnings.
Merged patch to move module read/write code from libsemanage to libsepol
    from Jason Tang (Tresys).
Merged relay records patch from Ivan Gyurdiev.
Merged key extract patch from Ivan Gyurdiev.
2005-08-30 14:22:49 +00:00
Daniel J Walsh
d9ff1def7c - Update from NSA
Merged errno fix from Joshua Brindle (Tresys).
Merged fix for semod_build_modules_list leak on error path from Serge
    Hallyn (IBM). Bug found by Coverity.
Merged several fixes from Serge Hallyn (IBM). Bugs found by Coverity.
Fixed several other bugs and warnings.
Merged patch to move module read/write code from libsemanage to libsepol
    from Jason Tang (Tresys).
Merged relay records patch from Ivan Gyurdiev.
Merged key extract patch from Ivan Gyurdiev.
2005-08-30 13:46:52 +00:00
Daniel J Walsh
4800db7954 auto-import libsemanage-1.0-1 on branch devel from
libsemanage-1.0-1.src.rpm
2005-07-28 18:05:59 +00:00