From: Daniel J Walsh <dwalsh@redhat.com>
To: ivg2@cornell.edu
Cc: russell@coker.com.au, SELinux <SELinux@tycho.nsa.gov>
Subject: Re: [Fwd: Latest Diff]
Date: Mon, 09 May 2005 14:27:18 -0400 [thread overview]
Message-ID: <427FAB86.4050905@redhat.com> (raw)
In-Reply-To: <1115663075.10218.25.camel@localhost.localdomain>
Ivan Gyurdiev wrote:
>>Doesn't you patch mean that every app that links with orbit needs to
>>able to read context files
>>and able to setfscreatecon?
>>
>>
>>
>
>Oh - I thought you meant something else.
>Yes, it does. Is this a bad thing?
>
>The setfscreatecon is limited to self -
>
>##################################
>#
># can_setfscreate(domain)
>#
># Authorize a domain to set its fscreate context
># (via /proc/pid/attr/fscreate).
>#
>define(`can_setfscreate',`
>allow $1 self:process setfscreate;
>allow $1 proc_t:dir search;
>allow $1 proc_t:{ file lnk_file } read;
>allow $1 self:dir search;
>allow $1 self:file { getattr read write };
>')
>
>Here's the full list of selinux privileges needed:
>
>
># Set its type - libselinux integration
>can_setfscreate($1_t)
>can_getsecurity($1_t)
>r_dir_file($1_t, selinux_config_t)
>r_dir_file($1_t, file_context_t)
>allow $1_t default_context_t:dir search;
>
>
>
I think I can create a file with context of passwd_t via those privs?
--
--
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.
next prev parent reply other threads:[~2005-05-09 18:27 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-05 19:35 [Fwd: Latest Diff] Daniel J Walsh
2005-05-05 21:44 ` Ivan Gyurdiev
2005-05-06 1:34 ` Russell Coker
2005-05-06 1:58 ` Ivan Gyurdiev
2005-05-06 15:39 ` Ivan Gyurdiev
2005-05-07 13:50 ` Russell Coker
2005-05-07 17:04 ` Ivan Gyurdiev
2005-05-07 19:50 ` Ivan Gyurdiev
2005-05-09 14:42 ` Daniel J Walsh
2005-05-09 18:12 ` Ivan Gyurdiev
2005-05-09 18:17 ` Daniel J Walsh
2005-05-09 18:24 ` Ivan Gyurdiev
2005-05-09 18:27 ` Daniel J Walsh [this message]
2005-05-09 18:37 ` Ivan Gyurdiev
2005-05-11 14:59 ` Stephen Smalley
2005-05-07 23:01 ` Russell Coker
2005-05-06 12:33 ` Daniel J Walsh
2005-05-06 5:33 ` Russell Coker
2005-05-06 12:43 ` Daniel J Walsh
2005-05-06 13:22 ` Russell Coker
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=427FAB86.4050905@redhat.com \
--to=dwalsh@redhat.com \
--cc=SELinux@tycho.nsa.gov \
--cc=ivg2@cornell.edu \
--cc=russell@coker.com.au \
/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.