Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F619362153 for ; Fri, 12 Jun 2026 17:51:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781286676; cv=none; b=ApbQau1ZeQT4d1jDONVQP7OmZGrTaLBe1VI1Bb9+KKBZxcPcZP6OeL+YOGNUrDiNOUfTgQavX7YJwIekpoddfqxmVeNHv2EFE6tu/ThrevoKmwj52ybWNPwtzRoxbXUdCqmj12l6SkwvKSaciqA6mscOmOFpEzQade02ZCo5nF4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781286676; c=relaxed/simple; bh=Mp0YKNwyEo0UFEBD5SAXHLXksVUEx5xi8dIUfod3ed4=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=J91LMlRDAqDmcb/qEpPMvvUD/frpoBfrnj5TboaAS6l/ErIYsHTmdA9vi0JIVP6sVu7NkrpXOqR0lqlYgraKPnKu40+LrKH2q9ZqDlzJ4UU7lPtnRgUIuFg0Nw10LUxLIQtMInTcMBsIrYSh0Dv2VsPBbipymMAmVdlwb2vwU3o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ieee.org; spf=pass smtp.mailfrom=ieee.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b=ELwmhX7D; arc=none smtp.client-ip=209.85.160.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=ieee.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ieee.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ieee.org header.i=@ieee.org header.b="ELwmhX7D" Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-51758478240so6637151cf.2 for ; Fri, 12 Jun 2026 10:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1781286673; x=1781891473; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=W4ONS6VuKODLeClu+NpwtQgByowy+K8LLHBUr5+TOk4=; b=ELwmhX7DQ4HBBA3y5rgfrHW8fXbfiymswOA/cjlqlnJkwaNG6+0Hy2+cHmeqH/tGE5 En7LgfSoLlWtIeNhjTNeboCthMcVNbbDFGnFMZ4iDmROoiYdtaYPnxkzsjX+TEIn+RSW qnSWpQxd8qGHjbE1hp391Uc3fL4xRKVMk31jY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781286673; x=1781891473; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=W4ONS6VuKODLeClu+NpwtQgByowy+K8LLHBUr5+TOk4=; b=OOFvADyVIi7lHd4F5u3fIctV5EAxzsB0O6g9hC6pvZqoOthElgK/1R3gD8aIFSGYw2 kkni0wzyyqJFhoTm+f0/6mEyH8HPL7xVb2EQlF/ChFjZuLtjAqmivQJJFELN9VKp6rrD USLsaEeOfWrVt76SemjXRciatxdgy2cZKfQ4uQPTKxjpmKTsNQCRiCeSikhEk2x4ZmTu O8JKygmX0U986ZSh3le80gEsL3zA7vVWXM4kwwEbS2oBy5OP2utDeqiuqJ9aNGig4QDQ usXV/9kOUMlsCoaifnpbSdt5JK0Lm02ZyOwlpgYjLohiXQO6oZx/cgQKg9SoSFQ+fCaU d10g== X-Forwarded-Encrypted: i=1; AFNElJ8XKmKFX0nVBglQaf0COTExaozybglb9j6D9N/JTXeBQko551RLIZOE93k9fPVW8onS0md8hpsn4QZp3vmfnISMcQ==@vger.kernel.org X-Gm-Message-State: AOJu0YxyaULn3eKk/dEW6lmMpBo04Bvov9/0Mp7DEqY83J5qlSdOi72g kbNEs2ytsIIb7hFqPklMh2pdt014M0yc47aSKr9KYOQiQJU4hWXftc5WPV4imZ33RdycK9he4G4 hq5Gc7Q== X-Gm-Gg: Acq92OFirf4xFUZyRAEBMtEMdD5E4XYyT7Zmsu7o/cfDoyy1ZP9dQdDV2ivEQZp0JpW fo/EApUbzUuLelOHjsZgxvI6grvmXYG7XFkI577Zb/Kp9hzeHaHfgJzUpDpw5IrqqAw//PgZXBu wVB2kyFyTgdPzUZWsjzek1KKgrmmsPrfArSYbzO14z0kJX0CwQKHdMpbU5VetL+19b++3Oqfll4 BY0iPPk9RYLAJ4N7iUgfdW2C7HqeJcvoolDQzVOjLdPZs/ovS8eRBOFy4Ru4N9zoJkA6Bp74NLq TkxBgqzIC/sg6ac+7RnX8ZtIQ2maOTTnbsSdMLC2LahhIN9MJDqQc1gGN2aciLO8Jkj0ihOTu8Q ahXdGR4kpSRFz0b+Oe/Co3Z7WILs3Jbtk7Rns9peb1ao4IXtCyj9y99zUyEVIB59yL8ZrND36Ud WV/ZfWkbsiIqZh4/z1nKZJjk/f/O9W2LV02RanMuxJeQqiGQvmDiI6WX5FY+c3AYJ9Kyd5lww// 8H8 X-Received: by 2002:ac8:5ad3:0:b0:50b:4491:a2cf with SMTP id d75a77b69052e-517fe5ba385mr52563431cf.27.1781286672915; Fri, 12 Jun 2026 10:51:12 -0700 (PDT) Received: from ?IPV6:2601:145:c282:5650:71bd:20d:33ea:4d98? ([2601:145:c282:5650:71bd:20d:33ea:4d98]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-517fb61eaf4sm27614501cf.4.2026.06.12.10.51.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 12 Jun 2026 10:51:12 -0700 (PDT) Message-ID: Date: Fri, 12 Jun 2026 13:51:11 -0400 Precedence: bulk X-Mailing-List: selinux-refpolicy@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: fs_rw_tmpfs_files(fwupd_t) To: Russell Coker , selinux-refpolicy@vger.kernel.org References: <23366800.EfDdHjke4D@dojacat> Content-Language: en-US From: "Christopher J. PeBenito" Autocrypt: addr=pebenito@ieee.org; keydata= xjMEZuhGfhYJKwYBBAHaRw8BAQdADz/tF/gexoZlGld9hGmv5HXcHP95b15YoRSbsznX8EHN K0NocmlzdG9waGVyIEouIFBlQmVuaXRvIDxwZWJlbml0b0BpZWVlLm9yZz7CmQQTFgoAQQUJ Bi93EgULCQgHAwUVCgkICwUWAwIBAAIeBQIXgAIZARYhBMTGKxZwwt8zFEjyhsY2PvHJaXsU BQJm+wuYAhsDAAoJEMY2PvHJaXsUENsBAO8TrrQXhCKCpNQUWvDto13w55ofDKHA3SVlCtzP zzzhAQCvGb8h5fPcw5eTjgLZbXAAG95uMtxYZzs66FNorxUVCM44BGboSckSCisGAQQBl1UB BQEBB0DUELErM3F1hWb3j/Wm3vDku3kdA2YVLxZtonOkF6XOUgMBCAfCfgQYFgoAJhYhBMTG KxZwwt8zFEjyhsY2PvHJaXsUBQJm6EnJAhsMBQkDwmcAAAoJEMY2PvHJaXsU+x4BAMeSfc01 SUt1eNtWAEj/caCS4ako0iZd7QZT8recX3zfAP0crszn37KtEaiHb5vHy38tym3+cSzDzvb8 +9wp84UkAg== In-Reply-To: <23366800.EfDdHjke4D@dojacat> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 6/12/26 10:27 AM, Russell Coker wrote: > The below ausearch output is from a system running Debian/Trixie (the current > stable release) with kernel 6.12.88+deb13-amd64. The same thing happens with > Debian/Unstable and kernel 7.0.10+deb14-amd64 but I expect people here are > more interested in results from stable releases. > > What would this be about? > > for pid=160767 comm=fwupdmgr path=/memfd:fwupd (deleted) dev="tmpfs" > ino=575756 scontext=system_u:system_r:fwupd_t:s0 > tcontext=system_u:object_r:tmpfs_t:s0 tclass=file permissive=0 This is from a memfd. See memfd_create(2). It uses a tmpfs shm segment to back the anonymous inode. A fs_tmpfs_filetrans() will work for the domain that creates the memfd. See https://github.com/SELinuxProject/refpolicy/pull/1141 for a recent merge for a memfd. -- Chris PeBenito