All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: SE Linux <selinux@tycho.nsa.gov>
Subject: strange failure
Date: Fri, 22 Mar 2002 22:28:40 +0100	[thread overview]
Message-ID: <20020322212840.CF3FE108F@lyta.coker.com.au> (raw)

I have the following in my policy:
allow devfsd_t domain:dir_file_class_set getattr;

But I get the following logged:
Mar 22 22:26:22 test kernel: avc:  denied  { getattr } for  pid=394 
exe=/sbin/devfsd path=/vc/2 dev=00:07 ino=20 
scontext=system_u:system_r:devfsd_t 
tcontext=root:object_r:sysadm_tty_device_t tclass=chr_file

What am I missing?

I've tried this many times, read the macro expansion, reloaded the config and 
restarted the daemon etc.  I'm pretty sure that I haven't made the obvious 
mistakes of not saving the file or not loading the policy etc.

-- 
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.

--
You have received this message because you are subscribed to the selinux 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:[~2002-03-22 21:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-22 21:28 Russell Coker [this message]
2002-03-24 15:22 ` Mix and Match problems Dale Amon
2002-03-25  0:30   ` Russell Coker
2002-03-25 13:57 ` strange failure Stephen Smalley

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=20020322212840.CF3FE108F@lyta.coker.com.au \
    --to=russell@coker.com.au \
    --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.