Research
.
Skip Search Box

SELinux Mailing List

Re: Proposed policy feature: $1_domain attribute

From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Tue, 01 Mar 2005 09:45:41 -0500


On Tue, 2005-03-01 at 09:53 -0500, Ivan Gyurdiev wrote:
> >can_ptrace? You could easily end up allowing unintended permissions
> >directly to the user domain that were previously limited to a specific
> >program.
>
> Can you elaborate? I thought can_ptrace was needed for the proper
> operation of the strace command.

If the program domain has enhanced permissions for its function beyond what the user domain is directly allowed, and you allow the user domain to ptrace the program domain, then you allow it to completely control the program and thus indirectly gain those permissions. No different than ptracing setuid root programs.

-- 
Stephen Smalley <sds@tycho.nsa.gov>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Tue 1 Mar 2005 - 09:56:41 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service