[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180515151432.GF5615@ziepe.ca>
Date: Tue, 15 May 2018 09:14:32 -0600
From: Jason Gunthorpe <jgg@...pe.ca>
To: Steve Wise <swise@...ngridcomputing.com>
Cc: 'Leon Romanovsky' <leon@...nel.org>, dsahern@...il.com,
stephen@...workplumber.org, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org
Subject: Re: [PATCH v1 iproute2-next 2/3] rdma: print driver resource
attributes
On Tue, May 15, 2018 at 10:02:08AM -0500, Steve Wise wrote:
> > On Tue, May 15, 2018 at 09:31:27AM -0500, Steve Wise wrote:
> > > > cap net admin is not high enough privledge to see unhashed kernel
> > > > pointers. CAP_RAW_IO? Or follow what printk does?
> > > >
> > >
> > > Do you mean CAP_NET_RAW? Here's the comments for it:
> >
> > Nope..
> >
> > > Func restricted_pointer() from lib/vsprintf.c uses CAP_SYSLOG. The
> > comment for CAP_SYSLOG:
> >
> > Yikes, yes, that is probably the required logic here, including the
> > kptr_restrict = 0 thing
> >
>
> Let's defer the ktpr_restrict issue for now; I want to finish the initial
> work this cycle, and adding that will likely take too much time. I'll use
> CAP_SYSLOG and add a FIXME comment. Ok?
Lets just drop wr_id instead...
Jason
Powered by blists - more mailing lists