All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
To: "Hefty, Sean" <sean.hefty@intel.com>
Cc: Hal Rosenstock <hal@dev.mellanox.co.il>,
	Daniel Jurgens <danielj@mellanox.com>,
	"selinux@tycho.nsa.gov" <selinux@tycho.nsa.gov>,
	"linux-security-module@vger.kernel.org"
	<linux-security-module@vger.kernel.org>,
	"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
	Yevgeny Petrilin <yevgenyp@mellanox.com>
Subject: Re: [RFC PATCH v2 00/13] SELinux support for Infiniband RDMA
Date: Tue, 12 Apr 2016 11:58:37 -0600	[thread overview]
Message-ID: <20160412175837.GA15027@obsidianresearch.com> (raw)
In-Reply-To: <1828884A29C6694DAF28B7E6B8A82373AB040ABA@ORSMSX109.amr.corp.intel.com>

On Tue, Apr 12, 2016 at 05:06:45PM +0000, Hefty, Sean wrote:
> > Wouldn't QP1 require different access control than QP0 due to SA clients
> > on every end node ?
> 
> QP1 still allows modification of the fabric (e.g. multicast join) or
> an DoS attack against the SA.  Though the latter probably requires
> restricting how a UD QP may be used.

Right, I don't disagree we should have smp and gmp 'just in case'
(fine names as well) labels, I just don't really understand why you'd
trust something enough to grant gmp but not enough for smp...

Particularly encouraging people to grant gmp as though that was 'safe'
is really bad advice.

Which in turn makes me wonder why the umad dev node label is not
sufficient.

Jason

  reply	other threads:[~2016-04-12 17:58 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-06 23:33 [RFC PATCH v2 00/13] SELinux support for Infiniband RDMA Dan Jurgens
     [not found] ` <1459985638-37233-1-git-send-email-danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-06 23:33   ` [RFC PATCH v2 01/13] security: Add LSM hooks for Infiniband security Dan Jurgens
2016-04-06 23:33   ` [RFC PATCH v2 02/13] selinux: Create policydb version for Infiniband support Dan Jurgens
2016-04-06 23:33   ` [RFC PATCH v2 03/13] selinux: Implement Infiniband flush callback Dan Jurgens
2016-04-06 23:33   ` [RFC PATCH v2 04/13] selinux: Allocate and free infiniband security hooks Dan Jurgens
     [not found]     ` <1459985638-37233-5-git-send-email-danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-11 15:24       ` Casey Schaufler
2016-04-11 15:24         ` Casey Schaufler
2016-04-11 20:41         ` Daniel Jurgens
2016-04-06 23:33   ` [RFC PATCH v2 05/13] selinux: Implement Infiniband PKey "Access" access vector Dan Jurgens
2016-04-06 23:33   ` [RFC PATCH v2 06/13] selinux: Add IB Device SMI " Dan Jurgens
2016-04-06 23:33   ` [RFC PATCH v2 09/13] ib/core: Enforce PKey security when modifying QPs Dan Jurgens
     [not found]     ` <1459985638-37233-10-git-send-email-danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-07 16:31       ` Leon Romanovsky
2016-04-07 16:31         ` Leon Romanovsky
2016-04-07 17:03         ` Daniel Jurgens
2016-04-07 17:03           ` Daniel Jurgens
     [not found]           ` <DB5PR05MB111169883324ADC42E52C4D6C4900-8IvNv+8VlcBJTpKhoUy7I9qRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-04-07 17:39             ` leon-2ukJVAZIZ/Y
2016-04-07 17:39               ` leon
2016-04-07 17:44               ` Daniel Jurgens
2016-04-07 17:44                 ` Daniel Jurgens
2016-04-07 21:02         ` Daniel Jurgens
2016-04-07 21:02           ` Daniel Jurgens
     [not found]           ` <DB5PR05MB11113874870EBBE896E0D601C4900-8IvNv+8VlcBJTpKhoUy7I9qRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-04-07 21:10             ` leon-2ukJVAZIZ/Y
2016-04-07 21:10               ` leon
2016-04-07 21:23               ` Daniel Jurgens
2016-04-07 21:23                 ` Daniel Jurgens
     [not found]                 ` <DB5PR05MB11115DF816F6CEAD7738201EC4900-8IvNv+8VlcBJTpKhoUy7I9qRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-04-07 23:24                   ` leon-2ukJVAZIZ/Y
2016-04-07 23:24                     ` leon
2016-04-06 23:33   ` [RFC PATCH v2 10/13] ib/core: Enforce PKey security on management datagrams Dan Jurgens
     [not found]     ` <1459985638-37233-11-git-send-email-danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-07 20:39       ` Leon Romanovsky
2016-04-07 20:39         ` Leon Romanovsky
2016-04-06 23:33   ` [RFC PATCH v2 12/13] ib/core: Track which QPs are using which port and PKey index Dan Jurgens
     [not found]     ` <1459985638-37233-13-git-send-email-danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-07 20:53       ` Leon Romanovsky
2016-04-07 20:53         ` Leon Romanovsky
2016-04-06 23:33   ` [RFC PATCH v2 13/13] ib/core: Implement the Infiniband flush callback Dan Jurgens
2016-04-11 20:11   ` [RFC PATCH v2 00/13] SELinux support for Infiniband RDMA Jason Gunthorpe
2016-04-11 20:11     ` Jason Gunthorpe
2016-04-11 20:38     ` Daniel Jurgens
2016-04-11 20:38       ` Daniel Jurgens
     [not found]       ` <DB5PR05MB111168B6670B36F12979705BC4940-8IvNv+8VlcBJTpKhoUy7I9qRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-04-11 22:12         ` Jason Gunthorpe
2016-04-11 22:12           ` Jason Gunthorpe
2016-04-11 22:30           ` Daniel Jurgens
2016-04-11 22:30             ` Daniel Jurgens
     [not found]             ` <DB5PR05MB1111E6A72480FF78AAB12747C4940-8IvNv+8VlcBJTpKhoUy7I9qRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-04-11 23:12               ` Jason Gunthorpe
2016-04-11 23:12                 ` Jason Gunthorpe
2016-04-11 23:35                 ` Daniel Jurgens
2016-04-11 23:35                   ` Daniel Jurgens
2016-04-12  0:06                   ` Jason Gunthorpe
     [not found]                     ` <20160412000621.GD5861-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-12  5:21                       ` Hal Rosenstock
2016-04-12  5:21                         ` Hal Rosenstock
2016-04-12 17:06                         ` Hefty, Sean
2016-04-12 17:58                           ` Jason Gunthorpe [this message]
     [not found]                             ` <20160412175837.GA15027-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-04-13 12:09                               ` Hal Rosenstock
2016-04-13 12:09                                 ` Hal Rosenstock
2016-04-13 13:17                                 ` Daniel Jurgens
2016-04-13 13:17                                   ` Daniel Jurgens
2016-04-13  5:07                           ` Hal Rosenstock
2016-04-13 16:47                             ` Hefty, Sean
     [not found]                               ` <1828884A29C6694DAF28B7E6B8A82373AB041285-P5GAC/sN6hkd3b2yrw5b5LfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-04-14  0:27                                 ` Ira Weiny
2016-04-14  0:27                                   ` Ira Weiny
2016-04-14  0:31                                   ` Ira Weiny
2016-04-14  4:22                                   ` Hefty, Sean
2016-04-14  4:22                                     ` Hefty, Sean
2016-04-14 13:11                                     ` Daniel Jurgens
2016-04-14 13:11                                       ` Daniel Jurgens
     [not found]                                       ` <AM2PR05MB1105E03BDEE8ED9552C8EDE7C4970-Wc3DjHnhGidZ7IXwgIC3xtqRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-04-14 16:26                                         ` Ira Weiny
2016-04-14 16:26                                           ` Ira Weiny
2016-04-14 16:49                                           ` Daniel Jurgens
2016-04-14 16:49                                             ` Daniel Jurgens
     [not found]                                             ` <AM2PR05MB11059E1985CE6544FAE4BA00C4970-Wc3DjHnhGidZ7IXwgIC3xtqRiQSDpxhJvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2016-04-14 21:58                                               ` Ira Weiny
2016-04-14 21:58                                                 ` Ira Weiny
2016-04-14 13:06                                   ` Daniel Jurgens
2016-04-14 13:06                                     ` Daniel Jurgens
2016-04-12 16:45                     ` Daniel Jurgens
2016-04-12 16:45                       ` Daniel Jurgens
2016-04-12  5:12                   ` Hal Rosenstock
2016-04-12 16:43                     ` Daniel Jurgens
2016-04-12 16:43                       ` Daniel Jurgens
2016-04-06 23:33 ` [RFC PATCH v2 07/13] selinux: Add a cache for quicker retreival of PKey SIDs Dan Jurgens
2016-04-06 23:33 ` [RFC PATCH v2 08/13] ib/core: IB cache enhancements to support Infiniband security Dan Jurgens
     [not found]   ` <1459985638-37233-9-git-send-email-danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-07  2:53     ` Leon Romanovsky
2016-04-07  2:53       ` Leon Romanovsky
2016-04-07 15:43       ` Daniel Jurgens
2016-04-07 15:43         ` Daniel Jurgens
2016-04-07 15:09     ` Leon Romanovsky
2016-04-07 15:09       ` Leon Romanovsky
2016-04-06 23:33 ` [RFC PATCH v2 11/13] ib/core: Enforce Infiniband device SMI security Dan Jurgens
     [not found]   ` <1459985638-37233-12-git-send-email-danielj-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-04-07 20:44     ` Leon Romanovsky
2016-04-07 20:44       ` Leon Romanovsky
2016-04-07 21:55       ` Daniel Jurgens
2016-04-07 21:55         ` Daniel Jurgens

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=20160412175837.GA15027@obsidianresearch.com \
    --to=jgunthorpe@obsidianresearch.com \
    --cc=danielj@mellanox.com \
    --cc=hal@dev.mellanox.co.il \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=sean.hefty@intel.com \
    --cc=selinux@tycho.nsa.gov \
    --cc=yevgenyp@mellanox.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.