Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8AD2942315C for ; Mon, 20 Jul 2026 13:07:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784552863; cv=none; b=oTwvVCxCDE2zcBIjzI+9dXkjByWtdWFJrOklowPXdSQakJyHcy2sbQkedXXWmszMifXUN4Q93vgSEuYBY2nY4PEqD0tCAn3Fgl6dZ0MrwWvnmN93S7m6AuWcRfJI0kwcAD3TFQUG5s8wno+YJeaMT95Z4kxxDpWBWOCV7n3yEZE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784552863; c=relaxed/simple; bh=wV3Rs8aTUpj7mAUnAfdETo5S33Y6b7BF7wKfHK0QUAE=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=Um+/YKwV6T7CG7m3vHyUqTVrryQlTCi/yAdpzFvm4mAdGES/TseNSf75D0+P8XyX+/9V+Eu8B8le+SQx0z9E3rBL0ADJx3Dx1PyEDgMzcb5FvB6RoODU5qaQmd3QINFD7xN5ZLTg25Q6O+BWf0UfoqlfhvHz2vfKryEKRhBBdi0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=eSq3b1XQ; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="eSq3b1XQ" Received: from [100.96.32.105] (unknown [52.167.115.14]) by linux.microsoft.com (Postfix) with ESMTPSA id 624A720B7169; Mon, 20 Jul 2026 06:07:28 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 624A720B7169 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1784552848; bh=znHrk3YY4A941/IbVnpj5JAImq7O7HqFwZF0I4objNk=; h=Date:Subject:To:References:From:In-Reply-To:From; b=eSq3b1XQCkPocv2Q6ToAXKEc+lkDFOYNes7GJveHF0uLhGr9EYKruJd3TJj+b9dTS bChstqdgxL65C4cDmUgkrU9fQbmDM6L+rR+cQQ+36IIJObsud8qjKdlOB8VLslVLyE 25RPnWfnCGW5hs7RqY3k4U2i5gsqBWML3uOREiuo= Message-ID: <43f800fe-ef5c-4955-afad-3fb9b34449b3@linux.microsoft.com> Date: Mon, 20 Jul 2026 09:07:38 -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: /dev/mpt*ctl To: russell@coker.com.au, selinux-refpolicy@vger.kernel.org References: <5712949.CZNHGQPT7h@xev> Content-Language: en-US From: Chris PeBenito In-Reply-To: <5712949.CZNHGQPT7h@xev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/15/2026 10:58 AM, Russell Coker wrote: > policy/modules/kernel/storage.fc:/dev/mpt[23]?ctl -c > gen_context(system_u:object_r:fixed_disk_device_t,mls_systemhigh) > policy/modules/kernel/devices.fc:/dev/mpt[2-9]*ctl -c > gen_context(system_u:object_r:mptctl_device_t,s0) > > How did this get in? > > Also the mptctl_device_t type doesn't have any specific rules to allow access > to it. I'll accept a patch to make all the fc entries fixed_disk_device_t, remove mptctl_device_t and make it an alias of fixed_disk_device_t, if that's what you're suggesting. -- Chris PeBenito