All of lore.kernel.org
 help / color / mirror / Atom feed
From: russell@coker.com.au (Russell Coker)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH] ifconfig loads kernel modules
Date: Wed, 3 Aug 2016 12:28:53 +1000	[thread overview]
Message-ID: <201608031228.53604.russell@coker.com.au> (raw)
In-Reply-To: <c0563d49-fd21-b30b-98ad-dbbe5a09fb04@ieee.org>

On Wed, 3 Aug 2016 09:38:02 AM Chris PeBenito wrote:
> > +kernel_load_module(ifconfig_t)
> >
> >  allow ifconfig_t self:capability { net_raw net_admin sys_admin
> >sys_tty_config }; allow ifconfig_t self:process ~{ ptrace setcurrent
> >setexec setfscreate setrlimit execmem execheap execstack }; allow
> >ifconfig_t self:fd use;
> 
> Is this a current denial?  If so, what version of net-tools is that on?
> 
> ifconfig_t already has kernel_request_load_module(ifconfig_t) so I'm 
> unclear why it would be directly loading modules itself.

It's been in my tree for years.  I'll remove it and see what happens.

-- 
My Main Blog         http://etbe.coker.com.au/
My Documents Blog    http://doc.coker.com.au/

  reply	other threads:[~2016-08-03  2:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-31  9:48 [refpolicy] [PATCH] ifconfig loads kernel modules Russell Coker
2016-08-02 23:38 ` Chris PeBenito
2016-08-03  2:28   ` Russell Coker [this message]
2016-08-03  2:37     ` Jason Zaman

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=201608031228.53604.russell@coker.com.au \
    --to=russell@coker.com.au \
    --cc=refpolicy@oss.tresys.com \
    /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.