[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180515144420.GB5615@ziepe.ca>
Date: Tue, 15 May 2018 08:44:20 -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 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
Jason
Powered by blists - more mailing lists