From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reiner Sailer Subject: [Patch 1 / 8][ACM] - name and simplify security policies Date: Tue, 11 Apr 2006 22:26:42 -0400 Message-ID: <443C6562.20708@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070306050800030708080606" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: sailer@us.ibm.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070306050800030708080606 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This patch adds a policy name to the policy definition. This policy name must be unique and must change if the content of the file changes. The policy name is used to ensure that the XM tools and the hypervisor work on the same policy, i.e., interpret the security information on domains consistently. This patch also simplifies the policy management by moving policy and labels into a single file. Signed-off by: Reiner Sailer --------------070306050800030708080606 Content-Type: text/plain; name="patch1_acm_policies.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch1_acm_policies.diff" --- tools/security/policies/chwall/chwall-security_label_template.xml | 76 --- tools/security/policies/chwall/chwall-security_policy.xml | 36 - tools/security/policies/chwall_ste/chwall_ste-security_label_template.xml | 167 -------- tools/security/policies/chwall_ste/chwall_ste-security_policy.xml | 49 -- tools/security/policies/null/null-security_label_template.xml | 24 - tools/security/policies/null/null-security_policy.xml | 14 tools/security/policies/ste/ste-security_label_template.xml | 143 ------- tools/security/policies/ste/ste-security_policy.xml | 27 - tools/security/policies/example/chwall/client_v1-security_policy.xml | 90 ++++ tools/security/policies/example/chwall_ste/client_v1-security_policy.xml | 194 ++++++++++ tools/security/policies/example/ste/client_v1-security_policy.xml | 149 +++++++ tools/security/policies/security_policy.xsd | 75 +-- 12 files changed, 461 insertions(+), 583 deletions(-) Index: xen-unstable.hg-shype/tools/security/policies/chwall/chwall-security_label_template.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/chwall/chwall-security_label_template.xml +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - chwall-security_label_template - 2005-08-10 - - chwall-security_policy.xml - abcdef123456abcdef - - - - - - - - - - - dom_HomeBanking - - cw_Sensitive - - - - - dom_Fun - - cw_Distrusted - - - - - - dom_BoincClient - - cw_Isolated - - - - - - - dom_SystemManagement - - cw_SystemManagement - - - - - - dom_StorageDomain - - cw_SystemManagement - - - - - - dom_NetworkDomain - - cw_SystemManagement - - - - - Index: xen-unstable.hg-shype/tools/security/policies/chwall/chwall-security_policy.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/chwall/chwall-security_policy.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - chwall-security_policy - 2005-08-10 - - - - - - - - - - - cw_SystemManagement - cw_Sensitive - cw_Isolated - cw_Distrusted - - - - - cw_Sensitive - cw_Distrusted - - - - - Index: xen-unstable.hg-shype/tools/security/policies/chwall_ste/chwall_ste-security_label_template.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/chwall_ste/chwall_ste-security_label_template.xml +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - - - - - - chwall_ste-security_label_template - 2005-08-10 - - chwall_ste-security_policy.xml - abcdef123456abcdef - - - - - - - - - - - dom_HomeBanking - - ste_PersonalFinances - - - - cw_Sensitive - - - - - dom_Fun - - ste_InternetInsecure - - - - cw_Distrusted - - - - - - dom_BoincClient - - ste_DonatedCycles - - - - cw_Isolated - - - - - - - dom_SystemManagement - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - cw_SystemManagement - - - - - - dom_StorageDomain - - - ste_PersistentStorageA - - ste_PersonalFinances - ste_InternetInsecure - - - - cw_SystemManagement - - - - - - dom_NetworkDomain - - - ste_NetworkAdapter0 - - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - - - - cw_SystemManagement - - - - - - - res_ManagementResource - - ste_SystemManagement - - - - - res_HardDrive (hda) - - ste_PersistentStorageA - - - - - res_LogicalDiskPartition1 (hda1) - - ste_PersonalFinances - - - - - res_LogicalDiskPartition2 (hda2) - - ste_InternetInsecure - - - - - res_EthernetCard - - ste_NetworkAdapter0 - - - - - res_SecurityToken - - ste_PersonalFinances - - - - - res_GraphicsAdapter - - ste_SystemManagement - - - - - Index: xen-unstable.hg-shype/tools/security/policies/chwall_ste/chwall_ste-security_policy.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/chwall_ste/chwall_ste-security_policy.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - chwall_ste-security_policy - 2005-08-10 - - - - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - - - - - - - - - cw_SystemManagement - cw_Sensitive - cw_Isolated - cw_Distrusted - - - - - cw_Sensitive - cw_Distrusted - - - - - Index: xen-unstable.hg-shype/tools/security/policies/example/chwall/client_v1-security_policy.xml =================================================================== --- /dev/null +++ xen-unstable.hg-shype/tools/security/policies/example/chwall/client_v1-security_policy.xml @@ -0,0 +1,90 @@ + + + + + + + + example.chwall.client_v1 + www.ibm.com/example/chwall/client_v1 + 2006-03-31 + + + + + + + + + + + cw_SystemManagement + cw_Sensitive + cw_Isolated + cw_Distrusted + + + + cw_Sensitive + cw_Distrusted + + + + + + + + + + + + dom_HomeBanking + + cw_Sensitive + + + + + dom_Fun + + cw_Distrusted + + + + + + dom_BoincClient + + cw_Isolated + + + + + + + dom_SystemManagement + + cw_SystemManagement + + + + + + dom_StorageDomain + + cw_SystemManagement + + + + + + dom_NetworkDomain + + cw_SystemManagement + + + + + + + Index: xen-unstable.hg-shype/tools/security/policies/example/chwall_ste/client_v1-security_policy.xml =================================================================== --- /dev/null +++ xen-unstable.hg-shype/tools/security/policies/example/chwall_ste/client_v1-security_policy.xml @@ -0,0 +1,194 @@ + + + + + + + + example.chwall_ste.client_v1 + www.ibm.com/example/chwall_ste/client_v1 + 2006-03-31 + + + + + + + ste_SystemManagement + ste_PersonalFinances + ste_InternetInsecure + ste_DonatedCycles + ste_PersistentStorageA + ste_NetworkAdapter0 + + + + + + + + + + + + cw_SystemManagement + cw_Sensitive + cw_Isolated + cw_Distrusted + + + + + cw_Sensitive + cw_Distrusted + + + + + + + + + + + + dom_HomeBanking + + ste_PersonalFinances + + + + cw_Sensitive + + + + + dom_Fun + + ste_InternetInsecure + + + + cw_Distrusted + + + + + + dom_BoincClient + + ste_DonatedCycles + + + + cw_Isolated + + + + + + + dom_SystemManagement + + + + ste_SystemManagement + ste_PersonalFinances + ste_InternetInsecure + ste_DonatedCycles + ste_PersistentStorageA + ste_NetworkAdapter0 + + + + cw_SystemManagement + + + + + + dom_StorageDomain + + + ste_PersistentStorageA + + ste_PersonalFinances + ste_InternetInsecure + + + + cw_SystemManagement + + + + + + dom_NetworkDomain + + + ste_NetworkAdapter0 + + ste_PersonalFinances + ste_InternetInsecure + ste_DonatedCycles + + + + cw_SystemManagement + + + + + + + res_ManagementResource + + ste_SystemManagement + + + + + res_HardDrive(hda) + + ste_PersistentStorageA + + + + + res_LogicalDiskPartition1(hda1) + + ste_PersonalFinances + + + + + res_LogicalDiskPartition2(hda2) + + ste_InternetInsecure + + + + + res_EthernetCard + + ste_NetworkAdapter0 + + + + + res_SecurityToken + + ste_PersonalFinances + + + + + res_GraphicsAdapter + + ste_SystemManagement + + + + + + Index: xen-unstable.hg-shype/tools/security/policies/example/ste/client_v1-security_policy.xml =================================================================== --- /dev/null +++ xen-unstable.hg-shype/tools/security/policies/example/ste/client_v1-security_policy.xml @@ -0,0 +1,149 @@ + + + + + + + + example.ste.client_v1 + www.ibm.com/example/ste/client_v1 + 2006-03-31 + + + + + + + ste_SystemManagement + ste_PersonalFinances + ste_InternetInsecure + ste_DonatedCycles + ste_PersistentStorageA + ste_NetworkAdapter0 + + + + + + + + + + + dom_HomeBanking + + ste_PersonalFinances + + + + + dom_Fun + + ste_InternetInsecure + + + + + + dom_BoincClient + + ste_DonatedCycles + + + + + + + dom_SystemManagement + + + + ste_SystemManagement + ste_PersonalFinances + ste_InternetInsecure + ste_DonatedCycles + ste_PersistentStorageA + ste_NetworkAdapter0 + + + + + + dom_StorageDomain + + + ste_PersistentStorageA + + ste_PersonalFinances + ste_InternetInsecure + + + + + + dom_NetworkDomain + + + ste_NetworkAdapter0 + + ste_PersonalFinances + ste_InternetInsecure + ste_DonatedCycles + + + + + + + res_ManagementResource + + ste_SystemManagement + + + + + res_HardDrive(hda) + + ste_PersistentStorageA + + + + + res_LogicalDiskPartition1(hda1) + + ste_PersonalFinances + + + + + res_LogicalDiskPartition2(hda2) + + ste_InternetInsecure + + + + + res_EthernetCard + + ste_NetworkAdapter0 + + + + + res_SecurityToken + + ste_PersonalFinances + + + + + res_GraphicsAdapter + + ste_SystemManagement + + + + + + + Index: xen-unstable.hg-shype/tools/security/policies/null/null-security_label_template.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/null/null-security_label_template.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - null-security_label_template - - 2005-08-10 - - null-security_policy.xml - - abcdef123456abcdef - - - - Index: xen-unstable.hg-shype/tools/security/policies/null/null-security_policy.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/null/null-security_policy.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - null-security_policy - 2005-08-10 - - - Index: xen-unstable.hg-shype/tools/security/policies/security_policy.xsd =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/security_policy.xsd +++ xen-unstable.hg-shype/tools/security/policies/security_policy.xsd @@ -1,55 +1,37 @@ - + - + - - - - - - - - - - - - - - - - - - - - - - + - - + + + + + - + - - - + + + @@ -60,13 +42,25 @@ - + - - + + + + + + + + + + + + + + + - @@ -115,24 +109,11 @@ - - - - - - - - - - - - - Index: xen-unstable.hg-shype/tools/security/policies/ste/ste-security_label_template.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/ste/ste-security_label_template.xml +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - - ste-security_label_template - 2005-08-10 - - ste-security_policy.xml - abcdef123456abcdef - - - - - - - - - - - dom_HomeBanking - - ste_PersonalFinances - - - - - dom_Fun - - ste_InternetInsecure - - - - - - dom_BoincClient - - ste_DonatedCycles - - - - - - - dom_SystemManagement - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - - - dom_StorageDomain - - - ste_PersistentStorageA - - ste_PersonalFinances - ste_InternetInsecure - - - - - - dom_NetworkDomain - - - ste_NetworkAdapter0 - - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - - - - - - - res_ManagementResource - - ste_SystemManagement - - - - - res_HardDrive (hda) - - ste_PersistentStorageA - - - - - res_LogicalDiskPartition1 (hda1) - - ste_PersonalFinances - - - - - res_LogicalDiskPartition2 (hda2) - - ste_InternetInsecure - - - - - res_EthernetCard - - ste_NetworkAdapter0 - - - - - res_SecurityToken - - ste_PersonalFinances - - - - - res_GraphicsAdapter - - ste_SystemManagement - - - - - Index: xen-unstable.hg-shype/tools/security/policies/ste/ste-security_policy.xml =================================================================== --- xen-unstable.hg-shype.orig/tools/security/policies/ste/ste-security_policy.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - ste-security_policy - 2005-08-10 - - - - - - - ste_SystemManagement - ste_PersonalFinances - ste_InternetInsecure - ste_DonatedCycles - ste_PersistentStorageA - ste_NetworkAdapter0 - - - - --------------070306050800030708080606 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070306050800030708080606--