All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: SELinux Reference Policy mailing list
	<selinux-refpolicy@vger.kernel.org>
Subject: cupsd_t and sys_admin
Date: Sat, 05 Oct 2024 19:26:21 +1000	[thread overview]
Message-ID: <22446657.EfDdHjke4D@cupcakke> (raw)

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/




             reply	other threads:[~2024-10-05  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-05  9:26 Russell Coker [this message]
2024-10-07 19:35 ` cupsd_t and sys_admin Chris PeBenito

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22446657.EfDdHjke4D@cupcakke \
    --to=russell@coker.com.au \
    --cc=selinux-refpolicy@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.