From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.sws.net.au (smtp.sws.net.au [144.76.186.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4150F231C8A for ; Sat, 5 Oct 2024 09:33:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=144.76.186.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728120842; cv=none; b=aCwKSu4CfBj+qOAD1NgGiECW9E8nbnMwshVYEkZRqqzb9waDnpB7GymoCUhbDnIRmut2I5H+bH8F0DAzs2pSPa4qhTpoEDglqucZps2Bjuc/q1KhWzuWJPLaydOsPzTy5uUHL+rmt8alVZrmF+n9OpgpKMwmD1964MsHz+Azp4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728120842; c=relaxed/simple; bh=1HmdEGmNyhDUoGOr48Du87hqTgKQaqo2gN/JhzH//Qg=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=cLFWNqr7HqTacg0ZAWO0Dp6+HYSS0fByl3bs3019caKGqmQALPjpagtfuVd7kI0uQyrHk5aB+2P74Uo8Qe/YuOGoguB4FnMzVlLfVOb5hj0vl1M2PC9G5mutKFid8HHclrsSvn6D7mDORW11vtYykiHJVbMSxqg408dAfF4OOKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=coker.com.au; spf=pass smtp.mailfrom=coker.com.au; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b=2GmF4IIt; arc=none smtp.client-ip=144.76.186.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=coker.com.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=coker.com.au Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=coker.com.au header.i=@coker.com.au header.b="2GmF4IIt" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coker.com.au; s=2008; t=1728120388; bh=jIOtu2QOGae2CY/JZRdN688BH7/JWjD0SLdnhdGMHFE=; l=534; h=From:To:Subject:Date:From; b=2GmF4IItlG0zMZheYHAuvQxCZhO6pml/CcmEVs35witqDe6iN8TmoW34oxL/ipRz5 ojrWOl4Nl5Bj3sAKdOzcU4pKji7U6R7WKLybuttm+kCU3SIWgKsY2a0Quo4MgpW4Lt xcB3+GQlfGnFlv/ha9Wy1as1UH201OKhXdjPxDJI= Received: from liv.coker.com.au (unknown [IPv6:2001:4479:5909:9900:86c9:2fbb:d8f5:2402]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: russell@coker.com.au) by smtp.sws.net.au (Postfix) with ESMTPSA id 636DBFE14 for ; Sat, 5 Oct 2024 19:26:27 +1000 (AEST) From: Russell Coker To: SELinux Reference Policy mailing list Subject: cupsd_t and sys_admin Date: Sat, 05 Oct 2024 19:26:21 +1000 Message-ID: <22446657.EfDdHjke4D@cupcakke> Precedence: bulk X-Mailing-List: selinux-refpolicy@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" allow cupsd_t self:capability { chown dac_override dac_read_search fowner fsetid ipc_lock kill setgid setuid sys_admin sys_rawio sys_resource sys_tty_config }; >From the refpolicy the above is the capabilities line for cupsd_t. Why does it have sys_admin? I don't think it has a legitimate need to do anything that needs that access. Also sys_rawio seems dubious. virt_rw_all_image_chr_files(cupsd_t) Also what is the above about? -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/