All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: Stephen Smalley <sds@epoch.ncsc.mil>
Cc: ivg2@cornell.edu, selinux@tycho.nsa.gov
Subject: Re: File Browsing apps and getattr
Date: Wed, 02 Feb 2005 09:36:57 -0500	[thread overview]
Message-ID: <4200E589.8000207@redhat.com> (raw)
In-Reply-To: <1107354157.890.133.camel@moss-spartans.epoch.ncsc.mil>

Stephen Smalley wrote:

>On Wed, 2005-02-02 at 09:07, Daniel J Walsh wrote:
>  
>
>>Added file_browse_domain to latest policy
>>
>>define(`file_browse_domain', `
>># Do not flood message log, if the user does a browse
>>allow $1 file_type - secure_file_type:file getattr;
>>dontaudit $1 dev_fs:dir_file_class_set getattr;
>>dontaudit $1 sysadmfile:file getattr;
>>dontaudit $1 sysadmfile:dir read;
>>')dnl end file_browse_domain
>>    
>>
>
>  
>
Tightened up a little bit.
define(`file_browse_domain', `
# Do not flood message log, if the user does a browse
dontaudit $1 file_type - secure_file_type:dir_file_class_set getattr;
dontaudit $1 dev_fs:dir_file_class_set getattr;
dontaudit $1 file_type - secure_file_type:dir read;
')dnl end file_browse_domain


>Not clear why you want the dontaudit rules for sysadmfile, and it seems
>like there would be a lot of overlap between the dontaudit getattr rule
>and the allow getattr rule, meaning that you are wasting an access
>vector in most cases.  
>
>  
>


--
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.

  reply	other threads:[~2005-02-02 14:37 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-31 22:26 File Browsing apps and getattr Ivan Gyurdiev
2005-02-01 12:11 ` Stephen Smalley
2005-02-01 13:08   ` Ivan Gyurdiev
2005-02-01 13:11     ` Stephen Smalley
2005-02-01 13:26       ` Ivan Gyurdiev
2005-02-01 13:31         ` Stephen Smalley
2005-02-01 18:01           ` Daniel J Walsh
2005-02-01 18:42           ` Ivan Gyurdiev
2005-02-01 19:52             ` Stephen Smalley
2005-02-01 23:39               ` Ivan Gyurdiev
2005-02-02 12:03                 ` Stephen Smalley
2005-02-02 13:19                   ` Ivan Gyurdiev
2005-02-02 13:14                     ` Stephen Smalley
2005-02-02 14:14                       ` Ivan Gyurdiev
2005-02-02 14:07                     ` Daniel J Walsh
2005-02-02 14:22                       ` Stephen Smalley
2005-02-02 14:36                         ` Daniel J Walsh [this message]
2005-02-02 16:01                           ` Ivan Gyurdiev
2005-02-02 16:22                             ` Daniel J Walsh
2005-02-02 16:41                               ` Ivan Gyurdiev
2005-02-01 16:15         ` Casey Schaufler

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=4200E589.8000207@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=ivg2@cornell.edu \
    --cc=sds@epoch.ncsc.mil \
    --cc=selinux@tycho.nsa.gov \
    /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.