All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guido Trentalancia <guido@trentalancia.com>
To: SE-Linux <selinux@tycho.nsa.gov>
Subject: Re: avc's generated causes the system to freeze up
Date: Sun, 13 Dec 2009 17:42:30 +0100	[thread overview]
Message-ID: <1260722550.2858.13.camel@tesla.lan> (raw)
In-Reply-To: <dd18b0c30912111344j65436d86h85f8d74e752e19af@mail.gmail.com>

Justin,

your question seems more of an audit question.

Why don't you use audit2allow to sort this out from a SELinux point of
view instead than trying to shut up audit ?

Audit2allow can generate custom rules for you from the analysis of your
audit log messages. The rules can then be compiled into a custom policy
module, that you can install with semodule.

On Fri, 2009-12-11 at 13:44 -0800, Justin Mattock wrote:
> I'm running X.Org X Server 1.7.99.2
> not sure if this is fixed with the latest
> but after building the latest refpolicy
> and defining my allow rules, both
> regularly, and with make enableaudit
> I still get avc's being generated here and there,
> but for some they seem to just spamm Xorg.0.log
> causing my system to freeze up.
> heres an example:
> 
> 
> (--) Synaptics Touchpad: touchpad found
> (**) Option "SendCoreEvents" "true"
> (**) Synaptics Touchpad: always reports core events
> (II) XINPUT: Adding extended input device "Synaptics Touchpad" (type: TOUCHPAD)
> (**) Synaptics Touchpad: (accel) keeping acceleration scheme 1
> (**) Synaptics Touchpad: (accel) acceleration profile 0
> (--) Synaptics Touchpad: touchpad found
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> (WW) avc:  denied  { getattr } for request=X11:QueryPointer
> comm=/usr/bin/pidgin resid=10001fc restype=WINDOW
> scontext=justin:user_r:user_t tcontext=justin:object_r:mplayer_t
> tclass=x_drawable
> 
> 
> same avc's but just keeps generating.
> is there an option for this like
> printk_ratelimit?
> 
> 



--
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:[~2009-12-13 16:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-11 21:44 avc's generated causes the system to freeze up Justin Mattock
2009-12-11 21:44 ` [refpolicy] " Justin Mattock
2009-12-13 16:42 ` Guido Trentalancia [this message]
2009-12-13 18:11   ` Justin P. Mattock
2009-12-13 19:40     ` Guido Trentalancia
2009-12-13 20:23       ` Justin P. Mattock
2009-12-14  9:56         ` Guido Trentalancia
2009-12-14 16:11           ` Justin P. Mattock
2009-12-14 16:15             ` Guido Trentalancia
2009-12-14 17:15               ` Justin P. Mattock
2009-12-14 17:15                 ` [refpolicy] " Justin P. Mattock
2009-12-14 17:37 ` Eamon Walsh
2009-12-14 17:37   ` [refpolicy] " Eamon Walsh
2009-12-14 18:39   ` Justin P. Mattock
2009-12-14 18:39     ` [refpolicy] " Justin P. Mattock
2009-12-14 18:39   ` Xavier Toth
2009-12-14 18:39     ` [refpolicy] " Xavier Toth
2009-12-14 19:13     ` Justin P. Mattock
2009-12-14 19:13       ` [refpolicy] " Justin P. Mattock

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=1260722550.2858.13.camel@tesla.lan \
    --to=guido@trentalancia.com \
    --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.