From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 6FED65A005E for ; Thu, 13 Oct 2022 14:49:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665665365; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dBDhmgUxXOj1ONplRl9G+US034jgBfPSnfuwBNyvhXA=; b=aS61jGncYW9nB/Zx6z1v8ZmoniuI2u2vWUZghgFOACU6kwCQQxsMXTkASA/ZN0ofSS1ZkV N+V0Mc42Gi+3aaf7Z6pqW4QNy3bOEikhsrk1XeDhNLN0uEP1EFAkoN3GgRC7OWubvI/jse R5U0FPcdI+UdV+cqVHqQTRh7RcZptpI= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-375-ayAbK5vkNNO-zB9NNQFbeA-1; Thu, 13 Oct 2022 08:49:24 -0400 X-MC-Unique: ayAbK5vkNNO-zB9NNQFbeA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BD34B1C0A100; Thu, 13 Oct 2022 12:49:23 +0000 (UTC) Received: from maya.cloud.tilaa.com (ovpn-208-3.brq.redhat.com [10.40.208.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 626031410F38; Thu, 13 Oct 2022 12:49:23 +0000 (UTC) Date: Thu, 13 Oct 2022 14:49:19 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 05/10] Clarify various self-isolation steps Message-ID: <20221013144919.39b47ffb@elisabeth> In-Reply-To: <20221011054018.1449506-6-david@gibson.dropbear.id.au> References: <20221011054018.1449506-1-david@gibson.dropbear.id.au> <20221011054018.1449506-6-david@gibson.dropbear.id.au> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: M5LH4OSLOROQ5CXMG2PDOEPM4NQQ3GBZ X-Message-ID-Hash: M5LH4OSLOROQ5CXMG2PDOEPM4NQQ3GBZ X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.3 Precedence: list List-Id: Development discussion and patches for passt Archived-At: <> Archived-At: List-Archive: <> List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Just spotted a typo: On Tue, 11 Oct 2022 16:40:13 +1100 David Gibson wrote: > @@ -59,12 +101,31 @@ void drop_caps(void) > } > } > > +/** > + * isolate_initial() - Early, config independent self isolation > + * > + * Should: > + * - drop unneeded capabilities > + * Musn't: > + * - remove filessytem access (we need to access files during setup) filesystem -- Stefano