From patchwork Wed Jul 31 14:28:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 13748850 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5F987C3DA64 for ; Wed, 31 Jul 2024 14:28:23 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.768861.1179742 (Exim 4.92) (envelope-from ) id 1sZAJE-0004fa-1I; Wed, 31 Jul 2024 14:28:08 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 768861.1179742; Wed, 31 Jul 2024 14:28:08 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sZAJD-0004fT-Up; Wed, 31 Jul 2024 14:28:07 +0000 Received: by outflank-mailman (input) for mailman id 768861; Wed, 31 Jul 2024 14:28:06 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sZAJC-0004f0-Ke for xen-devel@lists.xenproject.org; Wed, 31 Jul 2024 14:28:06 +0000 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [2a00:1450:4864:20::631]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 193b185c-4f49-11ef-8776-851b0ebba9a2; Wed, 31 Jul 2024 16:28:04 +0200 (CEST) Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a7a8caef11fso655104866b.0 for ; Wed, 31 Jul 2024 07:28:04 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a7acab52c95sm774594066b.76.2024.07.31.07.28.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Jul 2024 07:28:03 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 193b185c-4f49-11ef-8776-851b0ebba9a2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1722436084; x=1723040884; darn=lists.xenproject.org; h=content-transfer-encoding:autocrypt:content-language:cc:to:subject :from:user-agent:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=vEJQNnvugDIBbizdVNG78IQrq1DoSEm7TicYeRhT4V8=; b=MJT0/j5Tu0xLjuhvZitcZH0P/zMZi4ze9Yrfz1nEaBDGq0qBkpxlaEEIHNDQsPS6gI mE3WW24XXaiF8nx6hspRHPOm6h884iAeo1pEKb1cva/7maLsU3VT2Hmd9K762Vj2hZGx FMoR5YAaOw1WfDtx5XudxirUCFgI6WDRmf8arPkURYm6vmaO3VH2A+6kTS+KAG/+7P+J 8E9+JmmngLzoVS5aF1QuYXOtiGLV7vFl6nFEiXvNQBFMW5BkgLgfXITt/TQJ/BJcQN7u qAPMhn0od+0NDTIEDsSa6XdO7KNqZPngO6sb4ytu8KtPZreytzQajPrcWrEorXuk0QeW P8Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722436084; x=1723040884; h=content-transfer-encoding:autocrypt:content-language:cc:to:subject :from:user-agent:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vEJQNnvugDIBbizdVNG78IQrq1DoSEm7TicYeRhT4V8=; b=h6CfCXaSI7bsCW1OK8oETvR555xRkuB3E0pJW83avOHhF2BI0M3zYD3Xx/e6o3MjOH /BbGNvLoP6Mqy7xnxg/Oil4W0z38x/e324r90LIhH3ZYI8XrKNtLjcDzvPu3Xhz84/HF TRV4hKMZFN4+0OYyWpidfbkv47kJpZNLeczy42xNNp3dZh5AjnSuHUQGB9wQmucuNmOe 7ZaGzZt6FrnLI+W3iRR+vmG03NqpPAk30nAxL6bUoGYm/ZUnz0DxbpRT/J51gCKgD5gE LODExoUDULR2Kimys5ieoDvV76ZK3YEl8TspD30JHFefan+JWSlAx15V3iGZoBeXG8tY c5BQ== X-Gm-Message-State: AOJu0YzTGeD1IUKvbPnu7wF4uicnuoLX1MDI8qYcqUiOJVuEN8dvpPc4 R6+Flo92pPkbzQ+rVyuCSnOSfi/PUT7jPmM/rjKnpIzNBF7Kk+uq6mM9ZG8zO6O1yDp+25L66go = X-Google-Smtp-Source: AGHT+IEeI/4nFxu5/v/TDoKV1giWwgu8vj21rwCEXgrVu6+Up32Hjx100MSq6hvtsyi3Ddwp9dju5g== X-Received: by 2002:a17:907:940e:b0:a77:cc6f:e791 with SMTP id a640c23a62f3a-a7d400ad907mr972663766b.38.1722436084099; Wed, 31 Jul 2024 07:28:04 -0700 (PDT) Message-ID: <121c2612-c255-4051-8d7c-315df6b3d348@suse.com> Date: Wed, 31 Jul 2024 16:28:02 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Jan Beulich Subject: [PATCH v2] SUPPORT.md: split XSM from Flask To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Julien Grall , Stefano Stabellini , Daniel Smith Content-Language: en-US Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3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PMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL XSM is a generic framework, which in particular is also used by SILO. With this it can't really be experimental: Arm mandates SILO for having a security supported configuration. Signed-off-by: Jan Beulich --- v2: Terminology adjustments. Stronger description. --- a/SUPPORT.md +++ b/SUPPORT.md @@ -768,13 +768,20 @@ Compile time disabled for ARM by default Status, x86: Supported, not security supported -### XSM & FLASK +### XSM (Xen Security Module) + + Status: Supported + +See below for use with FLASK and SILO. The dummy implementation is covered here +as well. + +### FLASK XSM Module Status: Experimental Compile time disabled by default. -Also note that using XSM +Also note that using FLASK to delegate various domain control hypercalls to particular other domains, rather than only permitting use by dom0, is also specifically excluded from security support for many hypercalls. @@ -787,6 +794,10 @@ Please see XSA-77 for more details. The default policy includes FLASK labels and roles for a "typical" Xen-based system with dom0, driver domains, stub domains, domUs, and so on. +### SILO XSM Module + + Status: Supported + ## Virtual Hardware, Hypervisor ### x86/Nested PV