lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 28 Sep 2021 09:51:03 +0200 From: Greg Kroah-Hartman <gregkh@...uxfoundation.org> To: Sumit Semwal <sumit.semwal@...aro.org>, Christian König <christian.koenig@....com>, Alex Deucher <alexander.deucher@....com>, "Pan, Xinhui" <Xinhui.Pan@....com>, David Airlie <airlied@...ux.ie>, Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>, Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>, Mauro Carvalho Chehab <mchehab@...nel.org>, Arnd Bergmann <arnd@...db.de>, dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] dma-buf: move dma-buf symbols into the DMA_BUF module namespace On Tue, Sep 28, 2021 at 09:31:45AM +0200, Daniel Vetter wrote: > On Sat, Sep 25, 2021 at 03:47:00PM +0200, Greg Kroah-Hartman wrote: > > In order to better track where in the kernel the dma-buf code is used, > > put the symbols in the namespace DMA_BUF and modify all users of the > > symbols to properly import the namespace to not break the build at the > > same time. > > > > Now the output of modinfo shows the use of these symbols, making it > > easier to watch for users over time: > > > > $ modinfo drivers/misc/fastrpc.ko | grep import > > import_ns: DMA_BUF > > > > Cc: Sumit Semwal <sumit.semwal@...aro.org> > > Cc: "Christian König" <christian.koenig@....com> > > Cc: Alex Deucher <alexander.deucher@....com> > > Cc: "Pan, Xinhui" <Xinhui.Pan@....com> > > Cc: David Airlie <airlied@...ux.ie> > > Cc: Daniel Vetter <daniel@...ll.ch> > > Cc: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com> > > Cc: Maxime Ripard <mripard@...nel.org> > > Cc: Thomas Zimmermann <tzimmermann@...e.de> > > Cc: Mauro Carvalho Chehab <mchehab@...nel.org> > > Cc: Arnd Bergmann <arnd@...db.de> > > Cc: dri-devel@...ts.freedesktop.org > > Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org> > > --- > > > > The topic of dma-buf came up in the Maintainer's summit yesterday, and > > one comment was to put the symbols in their own module namespace, to > > make it easier to notice and track who was using them. This patch does > > so, and finds some "interesting" users of the api already in the tree. > > Yeah, the interesting ones is why I added the dma-buf wildcard match a > while ago. Since that landed I don't think anything escaped. Should we > perhaps also add > > K: MODULE_IMPORT_NS(DMA_BUF); > > to the dma-buf MAINATINERS entry? Entirely untested, also no idea whether > there's not a better way to match for module namespaces. Either way: I don't know if that would really work, if anything, just make the MAINTAINERS file harder to maintain :) > Acked-by: Daniel Vetter <daniel.vetter@...ll.ch> Thanks for the review, I'll send out a v2 later today... greg k-h
Powered by blists - more mailing lists