From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 353D3385782C for ; Wed, 14 Feb 2024 07:53:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 353D3385782C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 353D3385782C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707897209; cv=none; b=J7tremiGlvPQ/SDSHNjQmOKbwzY2CYMJADwKbuGuVr9CFhmdUF5Grnv9TZ9ieN9QKPz+QeZKervRMP4v34+QaOlhyUMPzfdpvAT/+zTf2iaFclkyypIvH3F/QlwojvGqfqtCyppEUkYxoZk9amsPHUZULC5izWgGX6eXmdEg8Ko= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707897209; c=relaxed/simple; bh=wNaoVM/5P8fqvv0UNUrEzWuAX3+eNjbvLLENRnA0aGg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZUyA90kduGt+Nb7+vkQ+or7uoXmZWtqiNChlfUh7l+p4b199v9Zpg3vTDQ+a2xYnvC65zZNy4tk7hMr47immJJ2qxjZOQTt8VlPu42h4uV28CCGXOrCl/7yuxN77bvaI3sYGT/YSvmzF5cpL1iqlh65ImSK8yQWQ76KBHp79P60= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707897207; 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: in-reply-to:in-reply-to:references:references; bh=10htIt3wH8gcCrUgaDJpYG20Vg0vLlzlsIY+9bteVSk=; b=ID9+o/Ik6sbCXzij8HtfiavNyc+Mf6YT2goq58VXG14inXUcc2MeFI+veBCsBhzEc2FXfy IvZ1lJwEikzA+o6feM8kChJgvsEV70MeKLGlp53Yu50GR5vLkarLkC3mEIjlmgPwNZyGq4 0iPOns2iU3wZmEfFI4aPIGLrDh0QmZQ= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-319-d9flZpezMqmndLP-7pYAsg-1; Wed, 14 Feb 2024 02:53:26 -0500 X-MC-Unique: d9flZpezMqmndLP-7pYAsg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 42B0A3800086; Wed, 14 Feb 2024 07:53:26 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.193]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 359362022AAA; Wed, 14 Feb 2024 07:53:25 +0000 (UTC) From: Florian Weimer To: Maxim Kuvyrkov Cc: Simon Chopin , GNU C Library , Xi Ruoyao Subject: Re: [PATCH v2] tests: gracefully handle AppArmor userns containment References: <20240201120104.143973-1-simon.chopin@canonical.com> <20240206105932.127820-1-simon.chopin@canonical.com> Date: Wed, 14 Feb 2024 08:53:23 +0100 In-Reply-To: (Maxim Kuvyrkov's message of "Tue, 13 Feb 2024 11:36:34 +0400") Message-ID: <87h6ibeb2k.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Maxim Kuvyrkov: > Where is EACCES coming from? I could not find documentation > mentioning EACCES as a possible error condition for unshare(). Presumably a seccomp filter or a Linux security module. We don't do that error code translation in the main library (e.g., for clone3), but it has crept into the test suite over time. Thanks, Florian