Setools 1.2.1
Setools version 1.2.1 has been released. You can download it here:
http://www.tresys.com/selinux/
I have also attached a patch that will update the 1.2 release. This is a minor update to fix a parse error when attributes are used as part of a role declaration.
Signature · 5 lines
Karl MacMillan Tresys Technology [email protected] http://www.tresys.com (410) 290-1411 x134
apol/apol_help.txt +1 -1
@@ -1,6 +1,6 @@ SELinux Policy Analysis Tool Help File apol, version 1.2 -February 04, 2004 +February 06, 2004 [email protected] This file contains basic help information for using apol, version 1.2
apol/dta_help.txt +1 -1
@@ -1,6 +1,6 @@ AN OVERVIEW OF DOMAIN TRANSITION ANALYSIS apol, version 1.2 -February 04, 2004 +February 06, 2004 [email protected] A key feature of Type Enforcement (TE) security is the ability to
apol/iflow_help.txt +1 -1
@@ -1,6 +1,6 @@ AN OVERVIEW OF INFORMATION FLOW ANALYSIS apol, version 1.2 -February 04, 2004 +February 06, 2004 [email protected]
ChangeLog-setools +29 -0
@@ -1,6 +1,14 @@ CHANGE LOG, SE Linux TOOLS (setools) ======================================================== +February 6, 2004 Version 1.2.1 + +Libapol: + Fixed parse error when using attributes in role + declarations. + + +======================================================== February 4, 2004 Version 1.2 Apol:
@@ -29,6 +37,27 @@ Added support for parsing and storing initial SIDs. ======================================================== +December 30, 2003 Version 1.1.1 + +libapol: + fixed memory leakage on information flow analysis + +seaudit: + fixed to properly compile with ISO C90 standards. + +libseaudit: + fixed to properly compile with ISO C90 standards. + +seuser: + fixed build process to properly build with no GUI. + fixed help for 'seuser -X' + removed default_context and cron_context in seuser.conf + +secmds: + fixed seinfo to display version information + + +======================================================== December 18, 2003 Version 1.1 Apol:
INSTALL +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.2 +SELinux Tools (setools), version 1.2.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -February 04, 2004 +February 06, 2004 BUILDING AND INSTALLING NOTES AND WARNINGS
INSTALL-RPM +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.2 +SELinux Tools (setools), version 1.2.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -February 04, 2004 +February 06, 2004 INSTALLATION NOTES FOR RPM
KNOWN-BUGS +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.2 +SELinux Tools (setools), version 1.2.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -February 04, 2004 +February 06, 2004 CURRENT BUGS AND ISSUES
libapol/apolicy_parse.y +22 -6
@@ -1596,7 +1596,7 @@ static int define_role_types(void) { char *id, *or_name; - int role_idx, idx, rt; + int i, role_idx, idx, idx_type, num_types, *types, rt; if (pass == 1 || (pass == 2 && !(parse_policy->opts & POLOPT_ROLES))) { while ((id = queue_remove(id_queue)))
@@ -1643,20 +1643,36 @@ return -1; } } - else + else { /* get rid of the role name if it alrady exists */ free(id); + } while ((id = queue_remove(id_queue))) { - idx = get_type_idx(id, parse_policy); + idx = get_type_or_attrib_idx(id, &idx_type, parse_policy); if(idx < 0) { sprintf(errormsg, "Invalid type name (%s) in role definition", id); yyerror(errormsg); return -1; } - rt = add_type_to_role(idx, role_idx, parse_policy); - if(rt != 0) - return rt; + if (idx_type == IDX_TYPE) { + rt = add_type_to_role(idx, role_idx, parse_policy); + if(rt != 0) + return rt; + } else { + rt = get_attrib_types(idx, &num_types, &types, parse_policy); + if (rt != 0) + return rt; + for (i = 0; i < num_types; i++) { + rt = add_type_to_role(types[i], role_idx, parse_policy); + if(rt != 0) { + free(types); + return rt; + } + + } + free(types); + } free(id); }
libapol/policy.c +1 -1
@@ -1870,7 +1870,7 @@ new_role->num_types =0 ; new_role->types =NULL ; policy->num_roles++; -return 0 ; +return policy->num_roles -1 ; }/* determine whether a role contains a given type (by idx) */
libapol/VERSION +1 -1
@@ -1 +1 @@ -1.2 +1.2.1
README +2 -2
@@ -1,8 +1,8 @@ -SELinux Tools (setools), version 1.2 +SELinux Tools (setools), version 1.2.1 by Tresys Technology, LLC ([email protected], www.tresys.com/selinux) -February 04, 2004 +February 06, 2004 OVERVIEW
seaudit/seaudit_help.txt +1 -1
@@ -1,6 +1,6 @@ Audit Log Analysis Tool for Security Enhanced Linux seaudit, version 1.1 -February 04, 2004 +February 06, 2004 [email protected] Overview:
sepct/customize.tcl +1 -1
@@ -683,7 +683,7 @@ # Need to update the status bar if the current selection is the current module if { $raisedPage == $Sepct_Customize::te_tabID && [$list_b selection get] == $module } { set curr_TE_file $target_Path - Sepct::update_fileStatus $curr_TE_file 1 + Sepct::update_fileStatus $curr_TE_file 0 } }
sepct/sepcut_help.txt +1 -1
@@ -1,6 +1,6 @@ SE Linux Policy Customization and Editing Tool Help File sepcut, version 0.3.5 -February 04, 2004 +February 06, 2004 [email protected]
sepct/top.tcl +3 -2
@@ -1808,8 +1808,9 @@ set pos [Sepct_db::get_pos $fn] if { $pos == "" } { puts stderr "update_fileStatus: Error getting position info for $fn" - } - Sepct::update_positionStatus $pos + } else { + Sepct::update_positionStatus $pos + } } return 0 }
setools.spec +2 -2
@@ -1,10 +1,10 @@ Summary: SELinux tools for managing policy Name: setools -Version: 1.2 +Version: 1.2.1 Release: 1 License: GPL Group: System Environment/Base -Source: http://www.tresys.com/Downloads/selinux-tools/setools-1.2.tgz +Source: http://www.tresys.com/Downloads/selinux-tools/setools-1.2.1.tgz Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: perl, tcl, policycoreutils
seuser/seuser_help.txt +1 -1
@@ -1,7 +1,7 @@ SELinux User Manager Help File seuser, Version 0.5.5 -February 04, 2004 +February 06, 2004 [email protected] ----------------------------------
VERSION +1 -1
@@ -1 +1 @@ -1.2 +1.2.1